Index: content/browser/frame_host/interstitial_page_impl.h |
diff --git a/content/browser/frame_host/interstitial_page_impl.h b/content/browser/frame_host/interstitial_page_impl.h |
index 9f6ce8445aa9da6df419ededa66e341a26b00e9c..9a99b477a6b230204386e4e21e0a9072fc144462 100644 |
--- a/content/browser/frame_host/interstitial_page_impl.h |
+++ b/content/browser/frame_host/interstitial_page_impl.h |
@@ -61,7 +61,7 @@ class CONTENT_EXPORT InterstitialPageImpl |
void Hide() override; |
void DontProceed() override; |
void Proceed() override; |
- RenderViewHost* GetRenderViewHostForTesting() const override; |
+ RenderFrameHost* GetMainFrame() const override; |
InterstitialPageDelegate* GetDelegateForTesting() override; |
void DontCreateViewForTesting() override; |
void SetSize(const gfx::Size& size) override; |
@@ -84,12 +84,6 @@ class CONTENT_EXPORT InterstitialPageImpl |
} |
bool reload_on_dont_proceed() const { return reload_on_dont_proceed_; } |
-#if defined(OS_ANDROID) |
- // Android shares a single platform window for all tabs, so we need to expose |
- // the RenderViewHost to properly route gestures to the interstitial. |
- RenderViewHost* GetRenderViewHost() const; |
-#endif |
- |
// TODO(nasko): This should move to InterstitialPageNavigatorImpl, but in |
// the meantime make it public, so it can be called directly. |
void DidNavigate( |