Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(805)

Unified Diff: components/constrained_window/constrained_window_views.h

Issue 1207313003: Allow cert-popup for WebView guests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated to use WebContentsModalDialogManager. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698