summaryrefslogtreecommitdiffstats
path: root/content/browser/web_contents/web_contents_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/web_contents/web_contents_impl.h')
-rw-r--r--content/browser/web_contents/web_contents_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 91a395f..709071f 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -158,6 +158,10 @@ class CONTENT_EXPORT WebContentsImpl
// already exist.
void CreateBrowserPluginEmbedderIfNecessary();
+ // Cancels modal dialogs in this WebContents, as well as in any browser
+ // plugins it is hosting.
+ void CancelActiveAndPendingDialogs();
+
// Gets the current fullscreen render widget's routing ID. Returns
// MSG_ROUTING_NONE when there is no fullscreen render widget.
int GetFullscreenWidgetRoutingID() const;