Index: content/public/test/browser_test_utils.h |
diff --git a/content/public/test/browser_test_utils.h b/content/public/test/browser_test_utils.h |
index 60b19c730c72be568e0aeb11a267ce9ec551833f..cb4a44ba3f6f0673a579c975fe0e899e30162302 100644 |
--- a/content/public/test/browser_test_utils.h |
+++ b/content/public/test/browser_test_utils.h |
@@ -88,6 +88,12 @@ bool WaitForLoadStop(WebContents* web_contents); |
void WaitForResizeComplete(WebContents* web_contents); |
#endif // USE_AURA |
+// Navigate a frame with ID |iframe_id| to |url|, blocking until the navigation |
Charlie Reis
2014/12/12 18:02:45
Let's move this to the top of the file.
Also, let
alexmos
2014/12/13 00:58:13
Done.
|
+// finishes. |
+bool NavigateIframeToURL(WebContents* web_contents, |
+ const GURL& url, |
+ std::string iframe_id); |
Charlie Reis
2014/12/12 18:02:45
Let's swap the last two arguments. (Worth the cle
alexmos
2014/12/13 00:58:13
Done.
|
+ |
// Causes the specified web_contents to crash. Blocks until it is crashed. |
void CrashTab(WebContents* web_contents); |