| Index: content/browser/web_contents/interstitial_page_impl.h
|
| diff --git a/content/browser/web_contents/interstitial_page_impl.h b/content/browser/web_contents/interstitial_page_impl.h
|
| index dba542760076eac97128369fc656c3817bbfe7ce..e1ebbf585f464b27bd359aede3e754bbcc0071a5 100644
|
| --- a/content/browser/web_contents/interstitial_page_impl.h
|
| +++ b/content/browser/web_contents/interstitial_page_impl.h
|
| @@ -74,6 +74,12 @@ 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
|
| +
|
| protected:
|
| // NotificationObserver method:
|
| virtual void Observe(int type,
|
| @@ -115,6 +121,11 @@ class CONTENT_EXPORT InterstitialPageImpl
|
| const ContextMenuParams& params,
|
| ContextMenuSourceType type) OVERRIDE;
|
|
|
| +#if defined(OS_ANDROID)
|
| + virtual void AttachLayer(WebKit::WebLayer* layer) OVERRIDE;
|
| + virtual void RemoveLayer(WebKit::WebLayer* layer) OVERRIDE;
|
| +#endif
|
| +
|
| // RenderWidgetHostDelegate implementation:
|
| virtual void RenderWidgetDeleted(
|
| RenderWidgetHostImpl* render_widget_host) OVERRIDE;
|
|
|