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

Unified Diff: chrome/test/base/ui_test_utils.h

Issue 10703141: End-to-end browser tests for speech recognition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved test to /chrome/test Created 8 years, 5 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/chrome_tests.gypi ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/ui_test_utils.h
diff --git a/chrome/test/base/ui_test_utils.h b/chrome/test/base/ui_test_utils.h
index 6ec213e0db55eac67c69a51352302f20e9785863..f3dc897a0b30371d52744976af0694e72fd271c0 100644
--- a/chrome/test/base/ui_test_utils.h
+++ b/chrome/test/base/ui_test_utils.h
@@ -221,6 +221,10 @@ int FindInPage(TabContents* tab,
// no InfoBar open when the test starts may need to use this.
void CloseAllInfoBars(TabContents* tab);
+// Simulates clicking at the given point on the given tab asynchronously. Unlike
+// ClickOnView, this works even if the browser isn't in the foreground.
+void SimulateMouseClick(content::WebContents* tab, const gfx::Point& point);
+
// Simulates clicking at the center of the given tab asynchronously. Unlike
// ClickOnView, this works even if the browser isn't in the foreground.
void SimulateMouseClick(content::WebContents* tab);
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698