summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_window.h
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-26 17:41:47 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-26 17:41:47 +0000
commit532bcef5cd9733771e2076b22e1267bc2721eccb (patch)
tree90fe49543236e40bc9c1dd5cb114700d01a0ad93 /chrome/browser/browser_window.h
parent532ecbb769085fa7000b9013dc831c71644e116a (diff)
downloadchromium_src-532bcef5cd9733771e2076b22e1267bc2721eccb.zip
chromium_src-532bcef5cd9733771e2076b22e1267bc2721eccb.tar.gz
chromium_src-532bcef5cd9733771e2076b22e1267bc2721eccb.tar.bz2
Reverting this CL to fix the interactive ui test failures.
Revert 42498 - Keyboard accessibility for the page and app menus. Works on Windows, and on Linux with toolkit_views. The goal is to make Chrome behave more like a standard Windows application, for users who rely on the keyboard and expect standard keyboard accelerators to work. Pressing F10, or pressing and releasing Alt, will set focus to the Page menu, as if it was the first item in a menu bar. Pressing enter, space, up arrow, or down arrow will open the focused menu. Once a menu is opened, pressing left and right arrows will switch between the two menus. Pressing escape will return focus to the title of the previously open menu. A new UI test attempts to select something from the menus using only the keyboard. It works on Linux (with toolkit_views) and on Windows. BUG=none TEST=New keyboard accessibility interactive ui test. Review URL: http://codereview.chromium.org/660323 TBR=dmazzoni@chromium.org Review URL: http://codereview.chromium.org/1428001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42779 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_window.h')
-rw-r--r--chrome/browser/browser_window.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h
index e0d7001..484e6bb 100644
--- a/chrome/browser/browser_window.h
+++ b/chrome/browser/browser_window.h
@@ -142,11 +142,6 @@ class BrowserWindow {
// Focuses the toolbar (for accessibility).
virtual void FocusToolbar() = 0;
- // Focuses the page and app menus like they were a menu bar.
- //
- // Not used on the Mac, which has a "normal" menu bar.
- virtual void FocusPageAndAppMenus() = 0;
-
// Returns whether the bookmark bar is visible or not.
virtual bool IsBookmarkBarVisible() const = 0;