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

Side by Side Diff: ash/app_list/app_list_view.h

Issue 9033007: Rename the aura_shell namespace to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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
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 ASH_APP_LIST_APP_LIST_VIEW_H_ 5 #ifndef ASH_APP_LIST_APP_LIST_VIEW_H_
6 #define ASH_APP_LIST_APP_LIST_VIEW_H_ 6 #define ASH_APP_LIST_APP_LIST_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/app_list/app_list_item_view_listener.h" 9 #include "ash/app_list/app_list_item_view_listener.h"
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "ash/shell_delegate.h" 11 #include "ash/shell_delegate.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "ui/views/widget/widget_delegate.h" 13 #include "ui/views/widget/widget_delegate.h"
14 14
15 namespace views { 15 namespace views {
16 class View; 16 class View;
17 } 17 }
18 18
19 namespace aura_shell { 19 namespace ash {
20 20
21 class AppListModel; 21 class AppListModel;
22 class AppListViewDelegate; 22 class AppListViewDelegate;
23 23
24 // AppListView is the top-level view and controller of app list UI. It creates 24 // AppListView is the top-level view and controller of app list UI. It creates
25 // and hosts a AppListModelView and passes AppListModel to it for display. 25 // and hosts a AppListModelView and passes AppListModel to it for display.
26 class ASH_EXPORT AppListView : public views::WidgetDelegateView, 26 class ASH_EXPORT AppListView : public views::WidgetDelegateView,
27 public AppListItemViewListener { 27 public AppListItemViewListener {
28 public: 28 public:
29 // Takes ownership of |model| and |delegate|. 29 // Takes ownership of |model| and |delegate|.
(...skipping 19 matching lines...) Expand all
49 virtual void AppListItemActivated(AppListItemView* sender, 49 virtual void AppListItemActivated(AppListItemView* sender,
50 int event_flags) OVERRIDE; 50 int event_flags) OVERRIDE;
51 51
52 scoped_ptr<AppListModel> model_; 52 scoped_ptr<AppListModel> model_;
53 53
54 scoped_ptr<AppListViewDelegate> delegate_; 54 scoped_ptr<AppListViewDelegate> delegate_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(AppListView); 56 DISALLOW_COPY_AND_ASSIGN(AppListView);
57 }; 57 };
58 58
59 } // namespace aura_shell 59 } // namespace ash
60 60
61 #endif // ASH_APP_LIST_APP_LIST_VIEW_H_ 61 #endif // ASH_APP_LIST_APP_LIST_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698