Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: ui/base/accelerators/accelerator.h

Issue 10827441: Add support for Command key for Extension Commands (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/native_web_keyboard_event.cc ('k') | ui/base/accelerators/accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/accelerators/accelerator.h
===================================================================
--- ui/base/accelerators/accelerator.h (revision 152319)
+++ ui/base/accelerators/accelerator.h (working copy)
@@ -49,6 +49,7 @@
bool IsShiftDown() const;
bool IsCtrlDown() const;
bool IsAltDown() const;
+ bool IsCmdDown() const;
// Returns a string with the localized shortcut if any.
string16 GetShortcutText() const;
« no previous file with comments | « content/browser/renderer_host/native_web_keyboard_event.cc ('k') | ui/base/accelerators/accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698