Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: chrome_frame/test/simulate_input.h

Issue 2173002: Add chrome frame tests for common navigation cases to ensure IE is not broken. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: final Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/test/no_interference_test.cc ('k') | chrome_frame/test/simulate_input.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/simulate_input.h
diff --git a/chrome_frame/test/simulate_input.h b/chrome_frame/test/simulate_input.h
index 135c310a7f4e293c414fa0506da22428f261ab88..fab22a81b0c0f5b7ef4a3105e17cd5e9abba298a 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.
« no previous file with comments | « chrome_frame/test/no_interference_test.cc ('k') | chrome_frame/test/simulate_input.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698