summaryrefslogtreecommitdiffstats
path: root/views/window
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-22 15:50:27 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-22 15:50:27 +0000
commit222ed2d867d2431f6f49419d80ee7963a15d98fd (patch)
tree9917226c2b3ca17c7eed3ac290d398cde4bf4512 /views/window
parented256c7bd9828576ce865926e898a6c592b14037 (diff)
downloadchromium_src-222ed2d867d2431f6f49419d80ee7963a15d98fd.zip
chromium_src-222ed2d867d2431f6f49419d80ee7963a15d98fd.tar.gz
chromium_src-222ed2d867d2431f6f49419d80ee7963a15d98fd.tar.bz2
Revert "Keyboard accessibility for the page and app menus."
This reverts commit 42217. TBR=dmzazzoni Review URL: http://codereview.chromium.org/1154003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42218 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window')
-rw-r--r--views/window/window_win.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/views/window/window_win.cc b/views/window/window_win.cc
index 17a3f1b..b58bcd4 100644
--- a/views/window/window_win.cc
+++ b/views/window/window_win.cc
@@ -1086,15 +1086,6 @@ void WindowWin::OnSysCommand(UINT notification_code, CPoint click) {
}
}
- // Handle SC_KEYMENU, which means that the user has pressed the ALT
- // key and released it, so we should focus the menu bar.
- if ((notification_code & sc_mask) == SC_KEYMENU && click.x == 0) {
- Accelerator accelerator(win_util::WinToKeyboardCode(VK_MENU),
- false, false, false);
- GetFocusManager()->ProcessAccelerator(accelerator);
- return;
- }
-
// First see if the delegate can handle it.
if (window_delegate_->ExecuteWindowsCommand(notification_code))
return;