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_EXAMPLES_EXAMPLE_FACTORY_H_ | 5 #ifndef UI_AURA_SHELL_EXAMPLES_EXAMPLE_FACTORY_H_ |
6 #define UI_AURA_SHELL_EXAMPLES_EXAMPLE_FACTORY_H_ | 6 #define UI_AURA_SHELL_EXAMPLES_EXAMPLE_FACTORY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ui/aura_shell/shell_delegate.h" | |
10 | |
11 namespace views { | 9 namespace views { |
12 class View; | 10 class View; |
13 } | 11 } |
14 | 12 |
15 namespace aura_shell { | 13 namespace aura_shell { |
16 | |
17 class AppListModel; | |
18 class AppListViewDelegate; | |
19 | |
20 namespace examples { | 14 namespace examples { |
21 | 15 |
22 void CreatePointyBubble(views::View* anchor_view); | 16 void CreatePointyBubble(views::View* anchor_view); |
23 | 17 |
24 void CreateLockScreen(); | 18 void CreateLockScreen(); |
25 | 19 |
26 // Creates a window showing samples of commonly used widgets. | 20 // Creates a window showing samples of commonly used widgets. |
27 void CreateWidgetsWindow(); | 21 void CreateWidgetsWindow(); |
28 | 22 |
29 void BuildAppListModel(AppListModel* model); | |
30 | |
31 AppListViewDelegate* CreateAppListViewDelegate(); | |
32 | |
33 void CreateAppList(const gfx::Rect& bounds, | |
34 const ShellDelegate::SetWidgetCallback& callback); | |
35 | |
36 } // namespace examples | 23 } // namespace examples |
37 } // namespace aura_shell | 24 } // namespace aura_shell |
38 | 25 |
39 #endif // UI_AURA_SHELL_EXAMPLES_EXAMPLE_FACTORY_H_ | 26 #endif // UI_AURA_SHELL_EXAMPLES_EXAMPLE_FACTORY_H_ |
OLD | NEW |