diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-28 21:32:30 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-28 21:32:30 +0000 |
commit | a4d271ecbea5ed763d49919fac7bfabe788832f6 (patch) | |
tree | c646a4d085142007968138c7ad26d1fb2aafe6a9 /chrome/browser/automation/ui_controls.h | |
parent | 19ff283d0e043c59206fdc2e890a2780933849fe (diff) | |
download | chromium_src-a4d271ecbea5ed763d49919fac7bfabe788832f6.zip chromium_src-a4d271ecbea5ed763d49919fac7bfabe788832f6.tar.gz chromium_src-a4d271ecbea5ed763d49919fac7bfabe788832f6.tar.bz2 |
Reverting 27412 it breaks the toolkit views Linux build.
TBR=sky
Review URL: http://codereview.chromium.org/254005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27416 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/ui_controls.h')
-rw-r--r-- | chrome/browser/automation/ui_controls.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/chrome/browser/automation/ui_controls.h b/chrome/browser/automation/ui_controls.h index 4613626..7a7a6d6 100644 --- a/chrome/browser/automation/ui_controls.h +++ b/chrome/browser/automation/ui_controls.h @@ -15,7 +15,6 @@ #include "base/gfx/native_widget_types.h" #include "base/gfx/point.h" -#include "base/keyboard_codes.h" #if defined(TOOLKIT_VIEWS) namespace views { @@ -43,17 +42,12 @@ namespace ui_controls { // these functions, so passing NULL is ok. // Send a key press with/without modifier keys. -bool SendKeyPress(gfx::NativeWindow window, - base::KeyboardCode key, - bool control, - bool shift, - bool alt); -bool SendKeyPressNotifyWhenDone(gfx::NativeWindow window, - base::KeyboardCode key, - bool control, - bool shift, - bool alt, - Task* task); +// |key| should be a VKEY code as defined in base/keyboard_codes.h +bool SendKeyPress(gfx::NativeWindow window, wchar_t key, bool control, + bool shift, bool alt); +bool SendKeyPressNotifyWhenDone(gfx::NativeWindow window, wchar_t key, + bool control, bool shift, + bool alt, Task* task); // Simulate a mouse move. (x,y) are absolute screen coordinates. bool SendMouseMove(long x, long y); |