summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-04 00:30:17 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-04 00:30:17 +0000
commit40f1abab4402613d3cd90ff690aa83bf02f50d5d (patch)
tree98b394717144e75985ed1aea1362d770a89343d9 /base
parentf4db30c17f5fbf6f3bb024c2d7e818df66fa3f7e (diff)
downloadchromium_src-40f1abab4402613d3cd90ff690aa83bf02f50d5d.zip
chromium_src-40f1abab4402613d3cd90ff690aa83bf02f50d5d.tar.gz
chromium_src-40f1abab4402613d3cd90ff690aa83bf02f50d5d.tar.bz2
Add clarity for the Command keycode now that things work for the Mac.
BUG=26102 Review URL: http://codereview.chromium.org/1893001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46305 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/keyboard_codes_posix.h1
-rw-r--r--base/keyboard_codes_win.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/base/keyboard_codes_posix.h b/base/keyboard_codes_posix.h
index 78cd047..9d870aa 100644
--- a/base/keyboard_codes_posix.h
+++ b/base/keyboard_codes_posix.h
@@ -107,6 +107,7 @@ typedef enum {
VKEY_Y = 0x59,
VKEY_Z = 0x5A,
VKEY_LWIN = 0x5B,
+ VKEY_COMMAND = VKEY_LWIN, // Provide the Mac name for convenience.
VKEY_RWIN = 0x5C,
VKEY_APPS = 0x5D,
VKEY_SLEEP = 0x5F,
diff --git a/base/keyboard_codes_win.h b/base/keyboard_codes_win.h
index 76b3452..7a2f0ef 100644
--- a/base/keyboard_codes_win.h
+++ b/base/keyboard_codes_win.h
@@ -17,7 +17,6 @@ typedef enum {
VKEY_SHIFT = VK_SHIFT,
VKEY_CONTROL = VK_CONTROL,
VKEY_MENU = VK_MENU, // a.k.a. ALT
- VKEY_COMMAND = 0, // Not meaningful for Windows. START, perhaps?
VKEY_PAUSE = VK_PAUSE,
VKEY_CAPITAL = VK_CAPITAL,
VKEY_KANA = VK_KANA,
@@ -84,6 +83,7 @@ typedef enum {
VKEY_Y = 'Y',
VKEY_Z = 'Z',
VKEY_LWIN = VK_LWIN,
+ VKEY_COMMAND = VKEY_LWIN, // Provide the Mac name for convenience.
VKEY_RWIN = VK_RWIN,
VKEY_APPS = VK_APPS,
VKEY_SLEEP = VK_SLEEP,