summaryrefslogtreecommitdiff
path: root/chromium/content/browser/frame_host/render_frame_host_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/frame_host/render_frame_host_delegate.h')
-rw-r--r--chromium/content/browser/frame_host/render_frame_host_delegate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/content/browser/frame_host/render_frame_host_delegate.h b/chromium/content/browser/frame_host/render_frame_host_delegate.h
index ee5aae52bda..a2a4c599c3a 100644
--- a/chromium/content/browser/frame_host/render_frame_host_delegate.h
+++ b/chromium/content/browser/frame_host/render_frame_host_delegate.h
@@ -31,6 +31,7 @@ class Message;
namespace content {
class GeolocationServiceContext;
+class InterstitialPage;
class PageState;
class RenderFrameHost;
class WakeLockServiceContext;
@@ -116,6 +117,10 @@ class CONTENT_EXPORT RenderFrameHostDelegate {
// not a WebContents, returns NULL.
virtual WebContents* GetAsWebContents();
+ // Returns this object cast to an InterstitialPage if it is one. Returns
+ // nullptr otherwise.
+ virtual InterstitialPage* GetAsInterstitialPage();
+
// The render frame has requested access to media devices listed in
// |request|, and the client should grant or deny that permission by
// calling |callback|.