summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/toolbar_view.h
diff options
context:
space:
mode:
authordmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-06 16:46:29 +0000
committerdmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-06 16:46:29 +0000
commit7c44ec5eac469803e7531e7e604673e536d50753 (patch)
tree47fcaf7a7665cd99cc5b9da6c530fbe8c1b32128 /chrome/browser/views/toolbar_view.h
parentab9fb2953e2744a74a5ce3b8e1c830a3bd692543 (diff)
downloadchromium_src-7c44ec5eac469803e7531e7e604673e536d50753.zip
chromium_src-7c44ec5eac469803e7531e7e604673e536d50753.tar.gz
chromium_src-7c44ec5eac469803e7531e7e604673e536d50753.tar.bz2
Pressing Alt once should focus the app menu, but pressing it again should
restore focus back to the previous location. BUG=53906 BUG=51574 TEST=manual Review URL: http://codereview.chromium.org/3618005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61656 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/toolbar_view.h')
-rw-r--r--chrome/browser/views/toolbar_view.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/views/toolbar_view.h b/chrome/browser/views/toolbar_view.h
index 1cb8fd0..e757f2d 100644
--- a/chrome/browser/views/toolbar_view.h
+++ b/chrome/browser/views/toolbar_view.h
@@ -65,6 +65,9 @@ class ToolbarView : public AccessibleToolbarView,
// to the ViewStorage with id |view_storage_id| if the user escapes.
void SetToolbarFocusAndFocusAppMenu(int view_storage_id);
+ // Returns true if the app menu is focused.
+ bool IsAppMenuFocused();
+
// Add a listener to receive a callback when the menu opens.
void AddMenuListener(views::MenuListener* listener);