Decker was under consideration as CEO during Jerry Yang's CEO leadership, when the company was receiving a takeover offer from Microsoft. Decker drove a proposed search deal with Google as an alternative to a transaction with Microsoft, but this was rejected by the U.S. Justice Department as a breach of United States antitrust law. The company asked Yang to resign, and for the board to select an outside candidate for the CEO position. Decker and Yang were unable to resolve shareholder concerns as Yahoo's share price fell in 2007 and 2008 during Google's ascendency. Decker announced her intention to resign from the company on January 13, 2009, following the appointment of Carol Bartz as CEO.