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

Unified Diff: content/public/test/browser_test_utils.h

Issue 10823029: Move WaitForLoadStop from ui_test_utils to browser_test_utils so that it can be reused in content_b… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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
Index: content/public/test/browser_test_utils.h
===================================================================
--- content/public/test/browser_test_utils.h (revision 148448)
+++ content/public/test/browser_test_utils.h (working copy)
@@ -49,6 +49,10 @@
// Generate a URL for a file path including a query string.
GURL GetFileUrlWithQuery(const FilePath& path, const std::string& query_string);
+// Waits for a load stop for the specified |web_contents|'s controller, if the
+// tab is currently web_contents. Otherwise returns immediately.
+void WaitForLoadStop(WebContents* web_contents);
+
// Simulates clicking at the center of the given tab asynchronously.
void SimulateMouseClick(WebContents* web_contents);
« no previous file with comments | « content/browser/renderer_host/render_view_host_manager_browsertest.cc ('k') | content/test/browser_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698