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

Unified Diff: chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h

Issue 1234073002: Allow cert-popup for WebView guests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment. 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: chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h
diff --git a/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h b/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h
index e3d981edd473d5ba63b33dffd050956c2b3e3fe3..c32a544636f06f5ce34bc98986d9beb440ed10cf 100644
--- a/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h
+++ b/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h
@@ -31,6 +31,11 @@ class ConstrainedWindowMac {
id<ConstrainedWindowSheet> sheet);
~ConstrainedWindowMac();
+ // Indicates if the dialog can be successfully shown.
+ // TODO(davidben): Remove this when the certificate selector prompt is moved
+ // to the WebContentsDelegate. https://crbug.com/456255.
+ static bool HasTopLevelDialogManager(content::WebContents* web_contents);
+
// Closes the constrained window.
void CloseWebContentsModalDialog();

Powered by Google App Engine
This is Rietveld 408576698