summaryrefslogtreecommitdiffstats
path: root/ash/system/tray/system_tray.h
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-12 08:31:25 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-12 08:31:25 +0000
commit5b84f7c665b32f30ddb8a57b12efcf0ff3a01e9b (patch)
tree80fbce2710e66d090046a2eeeb30a41d673d9121 /ash/system/tray/system_tray.h
parent6c8ea31a26f08e3cb6fa0a532feb3254ff8afa62 (diff)
downloadchromium_src-5b84f7c665b32f30ddb8a57b12efcf0ff3a01e9b.zip
chromium_src-5b84f7c665b32f30ddb8a57b12efcf0ff3a01e9b.tar.gz
chromium_src-5b84f7c665b32f30ddb8a57b12efcf0ff3a01e9b.tar.bz2
ash: Make the tray accessible.
With this change, you can press the hotkey (ctrl-f2) to reach the status-tray with the keyboard, and press space or enter to trigger the popup. BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9668032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126106 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system/tray/system_tray.h')
-rw-r--r--ash/system/tray/system_tray.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ash/system/tray/system_tray.h b/ash/system/tray/system_tray.h
index fd811f5..b6e31e5 100644
--- a/ash/system/tray/system_tray.h
+++ b/ash/system/tray/system_tray.h
@@ -51,6 +51,7 @@ class ASH_EXPORT SystemTray : public views::View,
bool activate);
// Overridden from views::View.
+ virtual bool OnKeyPressed(const views::KeyEvent& event) OVERRIDE;
virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE;
virtual void OnMouseEntered(const views::MouseEvent& event) OVERRIDE;
virtual void OnMouseExited(const views::MouseEvent& event) OVERRIDE;