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..842c0972e1f7180f06bdf7f77a9dd67678773d9e 100644 |
| --- a/components/constrained_window/constrained_window_views.h |
| +++ b/components/constrained_window/constrained_window_views.h |
| @@ -47,6 +47,14 @@ views::Widget* ShowWebModalDialogViews( |
| views::WidgetDelegate* dialog, |
| content::WebContents* initiator_web_contents); |
| +// Calls CreateWebModalDialogViews, shows the dialog as a non-clipped dialog |
| +// (bounds not constrained by the parent window) and returns its widget. For |
| +// platforms that do not support unclipped dialogs, has the same behavior as |
|
Mike Wittman
2016/08/12 22:51:34
Mention which platforms support non-clipped dialog
rbpotter
2016/08/15 18:03:45
Done.
|
| +// ShowWebModalDialogViews. |
| +views::Widget* ShowNonClippedWebModalDialogViews( |
| + 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, |
| @@ -59,6 +67,6 @@ views::Widget* CreateWebModalDialogViews(views::WidgetDelegate* dialog, |
| views::Widget* CreateBrowserModalDialogViews(views::DialogDelegate* dialog, |
| gfx::NativeWindow parent); |
| -} // namespace constrained window |
| +} // namespace constrained_window |
| #endif // COMPONENTS_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_VIEWS_H_ |