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

Unified Diff: chrome_frame/test/simulate_input.h

Issue 2375003: Add chrome_frame_tests to check that some navigation cases are not broken in ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
===================================================================
--- chrome_frame/test/simulate_input.h (revision 48538)
+++ chrome_frame/test/simulate_input.h (working copy)
@@ -37,8 +37,11 @@
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