DescriptionAddition of a new parameter to the popup.show(...) Chrome extension API that allows the caller to specify the behaviour of the window focus when the pop-up is displayed.
I added a test for the new parameter in the ExtensionApiTest.FLAKY_Popup test. I also corrected a truncated string in the unit-test.
Because the pop-up actually uses two windows, I had to change the WidgetWin::Show() routine to also reposition the window at the top. If a window is shown and activated, it is automatically brought to the front. Because we don't activate the pop-up when we want to keep the focus in the current extension view, I had to bring it to the front so that it wouldn't be hidden behind the 'chrome-bubble' window.
BUG=none
TEST=ExtensionApiTest.FLAKY_Popup
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34037
Patch Set 1 #Patch Set 2 : '' #
Total comments: 6
Patch Set 3 : '' #
Total comments: 2
Patch Set 4 : '' #
Total comments: 2
Messages
Total messages: 11 (0 generated)
|