Chromium Code Reviews| Index: components/constrained_window/show_modal_dialog_cocoa.cc |
| diff --git a/components/constrained_window/show_modal_dialog_cocoa.cc b/components/constrained_window/show_modal_dialog_cocoa.cc |
| index bcb8a5ca4db36daaea169f542cd23c9bc19c8715..1e27a8cc02f6c9c2cb2c37c7d8f491cb91839a61 100644 |
| --- a/components/constrained_window/show_modal_dialog_cocoa.cc |
| +++ b/components/constrained_window/show_modal_dialog_cocoa.cc |
| @@ -31,4 +31,11 @@ void ShowModalDialog(gfx::NativeWindow dialog, |
| manager->ShowDialogWithManager(dialog, std::move(dialog_manager)); |
| } |
| +void ShowNonClippedModalDialog(gfx::NativeWindow dialog, |
| + content::WebContents* initiator_web_contents) { |
| +// Mac uses sheets, so just call the normal show modal dialog, and the dialog |
|
Mike Wittman
2016/08/19 14:57:29
nit: indentation
rbpotter
2016/08/19 16:59:42
Done.
|
| +// will not be clipped. |
| + ShowModalDialog(dialog, initiator_web_contents); |
| +} |
| + |
| } // namespace constrained_window |