Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index 0004d0b54061443e48ca67312ffa362afc7836f1..5c86d2daf6aed2618f0725fe20c048c964353b5e 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -156,6 +156,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; |