diff options
author | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-29 23:08:30 +0000 |
---|---|---|
committer | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-29 23:08:30 +0000 |
commit | 1b5a48c29bca7371ed64c616d7d35a796d6a3341 (patch) | |
tree | 5492d89e4ea0d6389a13186c90f79a4a8f712323 /chrome/browser/browser_keyevents_browsertest.cc | |
parent | 83ffe9e621ae92d9a1bd32fd363f8dc5728010b0 (diff) | |
download | chromium_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 'chrome/browser/browser_keyevents_browsertest.cc')
-rw-r--r-- | chrome/browser/browser_keyevents_browsertest.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/browser_keyevents_browsertest.cc b/chrome/browser/browser_keyevents_browsertest.cc index 7f76103..227f77f 100644 --- a/chrome/browser/browser_keyevents_browsertest.cc +++ b/chrome/browser/browser_keyevents_browsertest.cc @@ -135,7 +135,9 @@ class BrowserKeyEventsTest : public InProcessBrowserTest { gfx::NativeWindow window = NULL; ASSERT_NO_FATAL_FAILURE(GetNativeWindow(&window)); EXPECT_TRUE(ui_controls::SendKeyPressNotifyWhenDone( - window, key, control, shift, alt, new MessageLoop::QuitTask())); + window, key, control, shift, alt, + false /* command, */, + new MessageLoop::QuitTask())); ui_test_utils::RunMessageLoop(); } |