summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 23:08:30 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 23:08:30 +0000
commit1b5a48c29bca7371ed64c616d7d35a796d6a3341 (patch)
tree5492d89e4ea0d6389a13186c90f79a4a8f712323 /base
parent83ffe9e621ae92d9a1bd32fd363f8dc5728010b0 (diff)
downloadchromium_src-1b5a48c29bca7371ed64c616d7d35a796d6a3341.zip
chromium_src-1b5a48c29bca7371ed64c616d7d35a796d6a3341.tar.gz
chromium_src-1b5a48c29bca7371ed64c616d7d35a796d6a3341.tar.bz2
Implement UI automation on the Mac.
Code is untested. From gChat: me: do you have a good test I can use to make sure mac impl of ui_controls for sending events works OK? Or would you prefer I send you CLs to play with and we iterate by hand? Joe: I would like the CL to play with to see if I can get it to work with the code I wrote Warning to Joe: mouse moved events currently use the Mac coordinate frame (0,0 is bottom-left not top-left). That's easy to switch; I'd like to do whatever is easiest to get WebDriver working. BUG=26102 Review URL: http://codereview.chromium.org/1701006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46005 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/keyboard_codes_win.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/keyboard_codes_win.h b/base/keyboard_codes_win.h
index 4d3b4ab..76b3452 100644
--- a/base/keyboard_codes_win.h
+++ b/base/keyboard_codes_win.h
@@ -16,7 +16,8 @@ typedef enum {
VKEY_RETURN = VK_RETURN,
VKEY_SHIFT = VK_SHIFT,
VKEY_CONTROL = VK_CONTROL,
- VKEY_MENU = VK_MENU,
+ 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,