DescriptionSquelch context menus on the OSX App List when both buttons are pressed.
The apps grid uses [NSView menuForEvent:..] for its menus, so needs to
check the button state explicitly to match the behaviour of [NSButton
menu] (which isn't used, e.g., because the NSButton doesn't fill the
grid cell).
This CL adds a check to suppress the menu when the button is in the
"lit" state, which occurs when the button is being held down.
BUG=328835
TEST=Hold the left, then the right, mouse buttons over a app launcher
item. A menu shouldn't appear. Releasing the left button (without moving
the mouse cursor) will launch the item.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243391
Patch Set 1 #
Messages
Total messages: 7 (0 generated)
|