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