DescriptionSimplify ExtensionPopup widget closing behavior.
Fix ExtensionPopup::OnWidgetActivationChanged crashes.
(Issue 327776 shows GetWidget() may be NULL in rare cases)
Simply close extension popups on anchor window activation.
(the previous complex logic was just trying to achieve this)
Cleanup, remove USE_AURA preprocessor conditions.
Add BrowserActionInteractiveTest.DestroyHWNDDoesNotCrash.
Add some helper functions and do minor cleanup.
BUG=327776, 320889, 179786, 106723
TEST=No Extension popup behavior changes. Extension popup bubbles close when clicking the browser window in Windows classic, glass, and Metro Ash. (no close on JS alerts from extension popups, no close on inspect popup, expected close on clicking away from the bubble, etc. on Win Classic/Aero/Ash, ChromeOS, Linux Desktop Aura).
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270310
Patch Set 1 : Simplify ExtensionPopup widget closing behavior. #Patch Set 2 : Simplify even further; just close for anchor window activation. #
Total comments: 6
Patch Set 3 : Attempt to address comments; add a test; rebase. #
Total comments: 4
Patch Set 4 : Remove redundant TOOLKIT_VIEWS pre-processor conditions; fix Mac. #
Messages
Total messages: 12 (0 generated)
|