Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(536)

Issue 7315002: Changes menu button to not show the menu on alt-space. alt-space (Closed)

Created:
9 years, 5 months ago by sky
Modified:
9 years, 5 months ago
CC:
chromium-reviews, dhollowa
Visibility:
Public.

Description

Changes menu button to not show the menu on alt-space. alt-space should show the window menu, so that if menu button consumes this event the window menu is never shown. BUG=56650 TEST=press alt and release, focus should be on the wrench. press alt-space, make sure the window menu appears, not the wrench menu. R=ben@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91604

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M views/controls/button/menu_button.cc View 1 chunk +4 lines, -0 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
sky
9 years, 5 months ago (2011-07-06 16:22:09 UTC) #1
Ben Goodger (Google)
LGTM
9 years, 5 months ago (2011-07-06 16:23:45 UTC) #2
Peter Kasting
9 years, 5 months ago (2011-07-06 17:47:46 UTC) #3
http://codereview.chromium.org/7315002/diff/1/views/controls/button/menu_butt...
File views/controls/button/menu_button.cc (right):

http://codereview.chromium.org/7315002/diff/1/views/controls/button/menu_butt...
views/controls/button/menu_button.cc:225: // alt-space on windows should show
the window menu.
Tiny nit: Capitalize!

(Also, this would be shorter and maybe fractionally better if the comment went
above the conditional, and the {} disappeared.)

Powered by Google App Engine
This is Rietveld 408576698