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