diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-09 22:46:50 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-09 22:46:50 +0000 |
commit | 440d8dba5acdec78133af93ca788a9e995fedb49 (patch) | |
tree | 994f2a5206ed93f3c79bb4ac57a7e63aa5d5fc37 /views/accelerator.h | |
parent | 02a46a3c1f824675fe72f5fe6a7b95694452a1eb (diff) | |
download | chromium_src-440d8dba5acdec78133af93ca788a9e995fedb49.zip chromium_src-440d8dba5acdec78133af93ca788a9e995fedb49.tar.gz chromium_src-440d8dba5acdec78133af93ca788a9e995fedb49.tar.bz2 |
Adds support for showing accelerators in bookmark menus.
BUG=45734
TEST=none
Review URL: http://codereview.chromium.org/2742003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49335 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/accelerator.h')
-rw-r--r-- | views/accelerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/views/accelerator.h b/views/accelerator.h index 82be336..a54a431 100644 --- a/views/accelerator.h +++ b/views/accelerator.h @@ -20,6 +20,8 @@ namespace views { class Accelerator : public menus::Accelerator { public: + Accelerator() : menus::Accelerator() {} + Accelerator(base::KeyboardCode keycode, bool shift_pressed, bool ctrl_pressed, bool alt_pressed) { key_code_ = keycode; |