Index: content/public/test/content_browser_test_utils.h |
diff --git a/content/public/test/content_browser_test_utils.h b/content/public/test/content_browser_test_utils.h |
index 2258569b5035b3625735afd1f7a8cef1272f808b..e198b1ed4f74b64c7951f099942f55304a68dcbf 100644 |
--- a/content/public/test/content_browser_test_utils.h |
+++ b/content/public/test/content_browser_test_utils.h |
@@ -29,6 +29,7 @@ class Rect; |
namespace content { |
class MessageLoopRunner; |
+class RenderFrameHost; |
class Shell; |
class WebContents; |
@@ -80,6 +81,9 @@ void ReloadBypassingCacheBlockUntilNavigationsComplete( |
// Wait until an application modal dialog is requested. |
void WaitForAppModalDialog(Shell* window); |
+// Extends the ToRenderFrameHost mechanism to content::Shells. |
+RenderFrameHost* ConvertToRenderFrameHost(Shell* shell); |
+ |
// Used to wait for a new Shell window to be created. Instantiate this object |
// before the operation that will create the window. |
class ShellAddedObserver { |