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(); |