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 UI_AURA_SHELL_SHELL_FACTORY_H_ | 5 #ifndef UI_AURA_SHELL_SHELL_FACTORY_H_ |
6 #define UI_AURA_SHELL_SHELL_FACTORY_H_ | 6 #define UI_AURA_SHELL_SHELL_FACTORY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
10 | 10 |
11 namespace gfx { | 11 namespace gfx { |
12 class Point; | 12 class Point; |
13 } | 13 } |
14 | 14 |
| 15 namespace views { |
| 16 class Widget; |
| 17 } |
| 18 |
15 namespace aura_shell { | 19 namespace aura_shell { |
16 namespace examples { | 20 namespace examples { |
17 | 21 |
18 void CreatePointyBubble(gfx::NativeWindow parent, const gfx::Point& origin); | 22 void CreatePointyBubble(views::Widget* parent, const gfx::Point& origin); |
19 | 23 |
20 void CreateLock(); | 24 void CreateLock(); |
21 | 25 |
22 // Creates a window showing samples of commonly used widgets. | 26 // Creates a window showing samples of commonly used widgets. |
23 void CreateWidgetsWindow(); | 27 void CreateWidgetsWindow(); |
24 | 28 |
25 } // namespace examples | 29 } // namespace examples |
26 } // namespace aura_shell | 30 } // namespace aura_shell |
27 | 31 |
28 | 32 |
29 #endif // UI_AURA_SHELL_SHELL_FACTORY_H_ | 33 #endif // UI_AURA_SHELL_SHELL_FACTORY_H_ |
OLD | NEW |