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

Unified Diff: content/test/content_browser_test_utils_internal.h

Issue 2052633002: Extend the ToRenderFrameHost magic to FrameTreeNode* and Shell* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix induced script bug. Created 4 years, 6 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/test/content_browser_test_utils_internal.h
diff --git a/content/test/content_browser_test_utils_internal.h b/content/test/content_browser_test_utils_internal.h
index a894eb284a8148001c4522b9ca104da94a997dba..75965383bdc9ca68935c73ac83b9e872be92753a 100644
--- a/content/test/content_browser_test_utils_internal.h
+++ b/content/test/content_browser_test_utils_internal.h
@@ -42,6 +42,9 @@ void NavigateFrameToURL(FrameTreeNode* node, const GURL& url);
// BeforeUnload dialog.
void SetShouldProceedOnBeforeUnload(Shell* shell, bool proceed);
+// Extends the ToRenderFrameHost mechanism to FrameTreeNodes.
+RenderFrameHost* ConvertToRenderFrameHost(FrameTreeNode* frame_tree_node);
+
// Creates compact textual representations of the state of the frame tree that
// is appropriate for use in assertions.
//

Powered by Google App Engine
This is Rietveld 408576698