Index: components/constrained_window/constrained_window_views.h |
diff --git a/components/constrained_window/constrained_window_views.h b/components/constrained_window/constrained_window_views.h |
index e8046767811a8127d51492eb0a3ade6c84efc3f0..3c5842cb31dd2f21834c3f5f5d5205fcf2524a67 100644 |
--- a/components/constrained_window/constrained_window_views.h |
+++ b/components/constrained_window/constrained_window_views.h |
@@ -41,6 +41,9 @@ void UpdateWidgetModalDialogPosition( |
views::Widget* widget, |
web_modal::ModalDialogHost* dialog_host); |
+// Returns popup manager, if any, for WebContents. |
+bool HasTopLevelDialogManager(content::WebContents* web_contents); |
+ |
// Calls CreateWebModalDialogViews, shows the dialog, and returns its widget. |
views::Widget* ShowWebModalDialogViews( |
views::WidgetDelegate* dialog, |