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

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

Issue 789273006: Make ContentSettingsObserver security checks work with OOPIF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
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);

Powered by Google App Engine
This is Rietveld 408576698