| Index: chrome/browser/ui/views/constrained_window_views.h
|
| diff --git a/chrome/browser/ui/views/constrained_window_views.h b/chrome/browser/ui/views/constrained_window_views.h
|
| index d50b51af1a447808438b9c676dc72ac5f540f94e..968c4daa95a9e5dbd6c2ea2e8db1b0513ab07497 100644
|
| --- a/chrome/browser/ui/views/constrained_window_views.h
|
| +++ b/chrome/browser/ui/views/constrained_window_views.h
|
| @@ -16,6 +16,7 @@ class WebContents;
|
| class BrowserContext;
|
| }
|
| namespace views {
|
| +class DialogDelegate;
|
| class NonClientFrameView;
|
| class WidgetDelegate;
|
| class Widget;
|
| @@ -26,6 +27,11 @@ views::Widget* CreateWebContentsModalDialogViews(
|
| gfx::NativeView parent,
|
| web_modal::WebContentsModalDialogHost* dialog_host);
|
|
|
| +// Create a widget for |dialog| that is modal to the browser window |parent|.
|
| +// This places the dialog appropriately if |parent| is a valid browser window.
|
| +views::Widget* CreateBrowserModalDialogViews(views::DialogDelegate* dialog,
|
| + gfx::NativeWindow parent);
|
| +
|
| views::NonClientFrameView* CreateConstrainedStyleNonClientFrameView(
|
| views::Widget* widget,
|
| content::BrowserContext* browser_context);
|
|
|