Chromium Code Reviews| 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 fd44fe77d3a6ddf46780980b4c230fc35e681af3..c322b295cb9423f6df45b22665daa05cebe76e8f 100644 |
| --- a/components/constrained_window/constrained_window_views.h |
| +++ b/components/constrained_window/constrained_window_views.h |
| @@ -47,6 +47,12 @@ views::Widget* ShowWebModalDialogViews( |
| views::WidgetDelegate* dialog, |
| content::WebContents* initiator_web_contents); |
| +// Like ShowWebModalDialogViews, but uses a Mac-specific class for creating |
|
tapted
2016/05/13 06:08:46
put this in #if defined(OS_MACOSX)
and I'd go wit
Patti Lor
2016/05/18 04:48:38
Done.
|
| +// dialogs which are just invisible parents for Cocoa dialogs. |
| +views::Widget* ShowParentedWebModalDialogViews( |
| + views::WidgetDelegate* dialog, |
| + content::WebContents* initiator_web_contents); |
| + |
| // Create a widget for |dialog| that is modal to |web_contents|. |
| // The modal type of |dialog->GetModalType()| must be ui::MODAL_TYPE_CHILD. |
| views::Widget* CreateWebModalDialogViews(views::WidgetDelegate* dialog, |