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 b0ebb5edc9543ac7ea95d2dd76e7d5e856667a3f..0da2e731dbbbf371ca2f4e214676bafc2c00ae12 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; |