OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
10 | 10 |
11 namespace gfx { | 11 namespace gfx { |
12 class Rect; | 12 class Rect; |
13 } | 13 } |
14 | 14 |
15 namespace views { | 15 namespace views { |
16 class Window; | 16 class Window; |
17 class WindowDelegate; | 17 class WindowDelegate; |
18 } | 18 } |
19 | 19 |
20 namespace browser { | 20 namespace browser { |
21 | 21 |
22 // Create a window for given |delegate| using default frame view. | 22 // Create a window for given |delegate| using default frame view. |
23 views::Window* CreateViewsWindow(gfx::NativeWindow parent, | 23 views::Window* CreateViewsWindow(gfx::NativeWindow parent, |
24 const gfx::Rect& bounds, | 24 const gfx::Rect& bounds, |
25 views::WindowDelegate* delegate); | 25 views::WindowDelegate* delegate); |
26 | 26 |
27 } // namespace browser | 27 } // namespace browser |
28 | 28 |
29 #endif // CHROME_BROWSER_UI_VIEWS_WINDOW_H_ | 29 #endif // CHROME_BROWSER_UI_VIEWS_WINDOW_H_ |
OLD | NEW |