DescriptionThe first run bubble now displays as an inactive bubble window which ensures that it does not grab keyboard focus.
We now dismiss the bubble by observing the anchor widget and its parent for keyboard events.
This functionality is provided by the FirstRunBubbleCloser class.
BUG=553526
TEST=Covered by unittest FirstRunBubbleTest.CloseBubbleOnKeyEvent
Committed: https://crrev.com/8ae15e81337f00236c58bb49b3707872f61d599f
Cr-Commit-Position: refs/heads/master@{#359409}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add the observer on the root view of the widget #
Total comments: 2
Patch Set 3 : Remove the observer when the bubble is destroyed #Patch Set 4 : Fix bot redness #Patch Set 5 : Fix compile failures on linux #
Total comments: 2
Patch Set 6 : Cache the anchor widget instead of the anchor view in the bubble closer class #
Depends on Patchset: Messages
Total messages: 14 (3 generated)
|