| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_WINDOW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_WINDOW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/ui/dialog_style.h" |
| 9 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| 10 | 11 |
| 11 namespace views { | 12 namespace views { |
| 12 class Widget; | 13 class Widget; |
| 13 class WidgetDelegate; | 14 class WidgetDelegate; |
| 14 } | 15 } |
| 15 | 16 |
| 16 namespace browser { | 17 namespace browser { |
| 17 | 18 |
| 18 // Create a window for given |delegate| using default frame view. | 19 // Create a window for given |delegate| using default frame view. |
| 19 views::Widget* CreateViewsWindow(gfx::NativeWindow parent, | 20 views::Widget* CreateViewsWindow(gfx::NativeWindow parent, |
| 20 views::WidgetDelegate* delegate); | 21 views::WidgetDelegate* delegate, |
| 22 DialogStyle style); |
| 21 | 23 |
| 22 } // namespace browser | 24 } // namespace browser |
| 23 | 25 |
| 24 #endif // CHROME_BROWSER_UI_VIEWS_WINDOW_H_ | 26 #endif // CHROME_BROWSER_UI_VIEWS_WINDOW_H_ |
| OLD | NEW |