summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui_test_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/ui_test_utils.h')
-rw-r--r--chrome/test/ui_test_utils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/test/ui_test_utils.h b/chrome/test/ui_test_utils.h
index ec7d6a5..2fff009 100644
--- a/chrome/test/ui_test_utils.h
+++ b/chrome/test/ui_test_utils.h
@@ -111,6 +111,15 @@ void WaitForFocusChange(RenderViewHost* rvh);
// Waits for the renderer to return focus to the browser (happens through tab
// traversal).
void WaitForFocusInBrowser(Browser* browser);
+
+// Performs a find in the page of the specified tab. Returns the number of
+// matches found. |ordinal| is an optional parameter which is set to the index
+// of the current match.
+int FindInPage(TabContents* tab,
+ const string16& search_string,
+ bool forward,
+ bool case_sensitive,
+ int* ordinal);
}
#endif // CHROME_TEST_UI_TEST_UTILS_H_