|
When the account chooser or any detail section is clicked while a menu is
already showing from a previous click, the showing menu should be hidden rather
than quickly closed and reshown. This is accomplished by changing the controls
showing the menus to MenuButtons, which Just Workâ˘.
This patch also modifies views::MenuController to better handle showing a menu
under the mouse cursor and wrangles some constants. Releasing the mouse on top
of a menu quickly after showing should now be ignored (based on some simple
heuristics).
R=estade@chromium.org,sadrul@chromium.org,sky@chromium.org
BUG=259553
TEST=menu hides when clicking on opening button
Review URL: https://chromiumcodereview.appspot.com/19272008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219567 0039d316-1c4b-4281-b951-d872f2087c98
|