diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-23 16:21:28 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-23 16:21:28 +0000 |
commit | 1d000681ef18ea1ebd39a19bf17a7bfccd3ed352 (patch) | |
tree | ba970b56596e6ea791b260227a8a7d73ffc696e8 /chrome/browser/automation | |
parent | 6679aafaaa6a213759623e4a056281d209158523 (diff) | |
download | chromium_src-1d000681ef18ea1ebd39a19bf17a7bfccd3ed352.zip chromium_src-1d000681ef18ea1ebd39a19bf17a7bfccd3ed352.tar.gz chromium_src-1d000681ef18ea1ebd39a19bf17a7bfccd3ed352.tar.bz2 |
Adds ui_test_utils::SendAndWaitForKeyPress and converts callers (where
appropriate) to use it. Hopefully this will help isolate why tests are
failing on bot.
BUG=none
TEST=none; test only change.
Review URL: http://codereview.chromium.org/3117030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57064 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation')
-rw-r--r-- | chrome/browser/automation/ui_controls.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/automation/ui_controls.h b/chrome/browser/automation/ui_controls.h index 4d1ce79..2b26dfe 100644 --- a/chrome/browser/automation/ui_controls.h +++ b/chrome/browser/automation/ui_controls.h @@ -12,9 +12,9 @@ #include <wtypes.h> #endif +#include "base/keyboard_codes.h" #include "gfx/native_widget_types.h" #include "gfx/point.h" -#include "base/keyboard_codes.h" #if defined(TOOLKIT_VIEWS) namespace views { @@ -42,6 +42,9 @@ namespace ui_controls { // these functions, so passing NULL is ok. // Send a key press with/without modifier keys. +// +// If you're writing a test chances are you want the variant in ui_test_utils. +// See it for details. bool SendKeyPress(gfx::NativeWindow window, base::KeyboardCode key, bool control, |