Descriptionmash: Close the system tray bubble on click outside its bounds
* Use PointerWatcher to observe for clicks outside the widget bounds
* Add ScreenPositionClientMus to correctly transform the click locations
This changes the behavior of the system tray bubble on classic ash. Clicks
outside the bubble will now be handled (e.g. you can click outside the bubble
and start dragging a window). This is consistent with the menu behavior of
the hamburger menu and similar system tray bubbles on Windows. I've cleared
with PM kuscher@ that we want this behavior change.
Depends on https://codereview.chromium.org/1921673005/
BUG=599142
TEST=Run mash, click outside bubble, it closes. Ditto for ash. In both cases
you can start a window drag, click on a web page, etc. with the same click.
Committed: https://crrev.com/d6f1890e148dce5db019b2a6796f94f1e5a10be7
Cr-Commit-Position: refs/heads/master@{#390304}
Patch Set 1 #Patch Set 2 : rebase #
Total comments: 2
Patch Set 3 : rebase #Patch Set 4 : rebase #Patch Set 5 : rebase #Messages
Total messages: 14 (6 generated)
|