Index: components/web_modal/web_contents_modal_dialog_manager.h |
diff --git a/components/web_modal/web_contents_modal_dialog_manager.h b/components/web_modal/web_contents_modal_dialog_manager.h |
index 6505301c215f73fa3e250b800f239dd3de988208..9ebfaebf68f51fd129886367383ed5b3eef0bcf9 100644 |
--- a/components/web_modal/web_contents_modal_dialog_manager.h |
+++ b/components/web_modal/web_contents_modal_dialog_manager.h |
@@ -37,6 +37,17 @@ class WebContentsModalDialogManager |
// WillClose() when it is being destroyed. |
void ShowModalDialog(gfx::NativeWindow dialog); |
+#if defined(OS_MACOSX) |
+ // Like CreateNativeWebModalManager, but creates a manager for a single dialog |
+ // parented to an invisible overlay window. |
+ static SingleWebContentsDialogManager* CreateNativeWebModalOverlayManager( |
+ gfx::NativeWindow dialog, |
+ SingleWebContentsDialogManagerDelegate* native_delegate); |
+ |
+ // Like ShowModalDialog, but uses the dialog as an invisible overlay window. |
+ void ShowModalDialogWithOverlay(gfx::NativeWindow dialog); |
+#endif |
+ |
// Allow clients to supply their own native dialog manager. Suitable for |
// bubble clients. |
void ShowDialogWithManager( |