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

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

Issue 10833029: Move ui_test_utils::CrashTab to browser_test_utils so that it can be reused by content_browsertests. (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
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_browsertest.cc ('k') | content/test/browser_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/browser_test_utils.h
===================================================================
--- content/public/test/browser_test_utils.h (revision 148487)
+++ content/public/test/browser_test_utils.h (working copy)
@@ -53,6 +53,9 @@
// tab is currently web_contents. Otherwise returns immediately.
void WaitForLoadStop(WebContents* web_contents);
+// Causes the specified web_contents to crash. Blocks until it is crashed.
+void CrashTab(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/in_process_webkit/indexed_db_browsertest.cc ('k') | content/test/browser_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698