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

Unified Diff: remoting/test/remote_desktop_browsertest.h

Issue 24096025: Simulate a mouse click. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@browser_tests_e2b
Patch Set: Created 7 years, 3 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
Index: remoting/test/remote_desktop_browsertest.h
diff --git a/remoting/test/remote_desktop_browsertest.h b/remoting/test/remote_desktop_browsertest.h
index b7df98dea9b7421e3778d3260fd087736c9773a2..c237c28978873b8f00f237da6e341c6a5ea399e5 100644
--- a/remoting/test/remote_desktop_browsertest.h
+++ b/remoting/test/remote_desktop_browsertest.h
@@ -94,6 +94,13 @@ class RemoteDesktopBrowserTest : public ExtensionBrowserTest {
// Simulate typing a string
void SimulateStringInput(const std::string& input);
+ // Helper to simulate a left button mouse click.
+ void SimulateMouseClickAt(int x, int y);
garykac 2013/09/19 21:37:27 SimulateMouseLeftClickAt rather than overload.
+
+ // Helper to simulate a mouse click.
+ void SimulateMouseClickAt(
+ int modifiers, WebKit::WebMouseEvent::Button button, int x, int y);
+
// The following helpers each perform a composite task.
// Install the chromoting extension

Powered by Google App Engine
This is Rietveld 408576698