forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Views] Reset menu button state after activation
MenuButton::Activate() sets the state to STATE_PRESSED, but never sets it back. This is a problem with buttons that don't run menu controller code (which would set the state) and gesture events (which means the view doesn't get mouse entered/left events). Fix it, and add a few tests. BUG=548149 Review URL: https://codereview.chromium.org/1425083002 Cr-Commit-Position: refs/heads/master@{#356950}
- Loading branch information
Showing
2 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters