summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/interstitial_page.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/interstitial_page.h')
-rw-r--r--chrome/browser/tab_contents/interstitial_page.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/interstitial_page.h b/chrome/browser/tab_contents/interstitial_page.h
index 3f5ceca..3d66193 100644
--- a/chrome/browser/tab_contents/interstitial_page.h
+++ b/chrome/browser/tab_contents/interstitial_page.h
@@ -16,6 +16,7 @@
class MessageLoop;
class NavigationEntry;
class WebContents;
+class WebContentsView;
// This class is a base class for interstitial pages, pages that show some
// informative message asking for user validation before reaching the target
@@ -111,10 +112,14 @@ class InterstitialPage : public NotificationObserver,
const GURL& url() const { return url_; }
RenderViewHost* render_view_host() const { return render_view_host_; }
- // Creates and shows the RenderViewHost containing the interstitial content.
+ // Creates the RenderViewHost containing the interstitial content.
// Overriden in unit tests.
virtual RenderViewHost* CreateRenderViewHost();
+ // Creates the WebContentsView that shows the interstitial RVH.
+ // Overriden in unit tests.
+ virtual WebContentsView* CreateWebContentsView();
+
private:
// AutomationProvider needs access to Proceed and DontProceed to simulate
// user actions.