From 222ed2d867d2431f6f49419d80ee7963a15d98fd Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Mon, 22 Mar 2010 15:50:27 +0000 Subject: 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 --- views/window/window_win.cc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'views/window') 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; -- cgit v1.1