OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_ |
7 | 7 |
8 #include "ui/gfx/native_widget_types.h" | 8 #include "ui/gfx/native_widget_types.h" |
9 | 9 |
| 10 namespace web_modal { |
10 class WebContentsModalDialogHost; | 11 class WebContentsModalDialogHost; |
| 12 } |
11 | 13 |
12 namespace content { | 14 namespace content { |
13 class WebContents; | 15 class WebContents; |
14 class BrowserContext; | 16 class BrowserContext; |
15 } | 17 } |
16 namespace views { | 18 namespace views { |
17 class NonClientFrameView; | 19 class NonClientFrameView; |
18 class WidgetDelegate; | 20 class WidgetDelegate; |
19 class Widget; | 21 class Widget; |
20 } | 22 } |
21 | 23 |
22 views::Widget* CreateWebContentsModalDialogViews( | 24 views::Widget* CreateWebContentsModalDialogViews( |
23 views::WidgetDelegate* widget_delegate, | 25 views::WidgetDelegate* widget_delegate, |
24 gfx::NativeView parent, | 26 gfx::NativeView parent, |
25 WebContentsModalDialogHost* dialog_host); | 27 web_modal::WebContentsModalDialogHost* dialog_host); |
26 | 28 |
27 views::NonClientFrameView* CreateConstrainedStyleNonClientFrameView( | 29 views::NonClientFrameView* CreateConstrainedStyleNonClientFrameView( |
28 views::Widget* widget, | 30 views::Widget* widget, |
29 content::BrowserContext* browser_context); | 31 content::BrowserContext* browser_context); |
30 | 32 |
31 #endif // CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_ | 33 #endif // CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_ |
OLD | NEW |