diff options
author | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-02 21:12:48 +0000 |
---|---|---|
committer | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-02 21:12:48 +0000 |
commit | 3f8a1587775698f8e6fb9a210c27fdb643b93146 (patch) | |
tree | 9ea1a151957ccac31c2230a90f2d4dd561abc74b /chrome_frame/test/simulate_input.h | |
parent | 66ae36fec47f0c0bb6b18d431eee3a3961c95dad (diff) | |
download | chromium_src-3f8a1587775698f8e6fb9a210c27fdb643b93146.zip chromium_src-3f8a1587775698f8e6fb9a210c27fdb643b93146.tar.gz chromium_src-3f8a1587775698f8e6fb9a210c27fdb643b93146.tar.bz2 |
Add chrome_frame_tests to check that some navigation cases are not broken in IE.
BUG=none
TEST=none
Original review URL: http://codereview.chromium.org/2173002
Review URL: http://codereview.chromium.org/2375003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48763 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test/simulate_input.h')
-rw-r--r-- | chrome_frame/test/simulate_input.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome_frame/test/simulate_input.h b/chrome_frame/test/simulate_input.h index 135c310..fab22a8 100644 --- a/chrome_frame/test/simulate_input.h +++ b/chrome_frame/test/simulate_input.h @@ -37,8 +37,11 @@ void SetKeyboardFocusToWindow(HWND window); void SendMnemonic(WORD mnemonic_char, Modifier modifiers, bool extended, bool unicode); -// Sends a mouse click to the window passed in. +// Sends a mouse click to the desktop. enum MouseButton { LEFT, RIGHT, MIDDLE, X }; +void SendMouseClick(int x, int y, MouseButton button); +// Sends a mouse click to the window passed in, after ensuring that the window +// is in the foreground. void SendMouseClick(HWND window, int x, int y, MouseButton button); // Translates a single char to a virtual key. |