DescriptionWhen you clicked Get Themes in Mac prefs, the browser window containing the themes gallery wasn't coming to the front.
There was an implicit assumption on Windows that TabContentsViewWin::Focus caused the window containing the TabContents to be foregrounded. This is because on Windows a HWND is focused with a call to SetFocus, which activates the containing top level window. On Mac, TabContentsViewMac::Focus needs to explicitly activate the containing window.
Also, changes the Mac preferences code to call the same function as on Windows, for simplicity.
Note: the "foreground" parameter to AddTabWithURL means the tab is opened in the foreground, not that the window is activated.
http://crbug.com/18157
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23378
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|