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

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: Fixing comments. 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
« no previous file with comments | « remoting/test/me2me_browsertest.cc ('k') | remoting/test/remote_desktop_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..855bcb14002f1208392d19364b83dd6e2c1796f1 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 SimulateMouseLeftClickAt(int x, int y);
+
+ // 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
« no previous file with comments | « remoting/test/me2me_browsertest.cc ('k') | remoting/test/remote_desktop_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698