Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Side by Side Diff: ui/aura_shell/examples/example_factory.h

Issue 8890049: [Aura] Implement views-based applist. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win_aura Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/aura_shell/examples/aura_shell_main.cc ('k') | ui/aura_shell/shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « ui/aura_shell/examples/aura_shell_main.cc ('k') | ui/aura_shell/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698