DescriptionFix activation problem when showing bubble view
If a bubble view was shown immediately after creating a browser window the bubble view would get a deactivate event causing it to close.
The problem was that when the browser window's page was commited it would switch focus to the location bar. This caused the bubble view to lose focus and close.
Fix was to have the browser winodw switch focus to the location bar only if it was the active window. Thus if a bubble view was shown it wouldn't switch focus.
This change also modifies InProcessBrowserTest::CreateBrowserForPopup() to show the browser window before navigating to a blank page. This fixes a problem where the browser window wouldn't become active.
BUG=95146
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102216
Patch Set 1 #Patch Set 2 : fix OmniboxApiTest.PopupStaysClosed failure #
Messages
Total messages: 5 (0 generated)
|