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

Side by Side Diff: ui/app_list/views/app_list_view.h

Issue 268813004: app_list: Another pass of cpplint.py to make it clean. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/app_list/views/app_list_folder_view.h ('k') | ui/app_list/views/apps_container_view.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
6 #define UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "ui/app_list/app_list_export.h" 10 #include "ui/app_list/app_list_export.h"
(...skipping 17 matching lines...) Expand all
28 class SigninDelegate; 28 class SigninDelegate;
29 class SigninView; 29 class SigninView;
30 class SpeechView; 30 class SpeechView;
31 31
32 // AppListView is the top-level view and controller of app list UI. It creates 32 // AppListView is the top-level view and controller of app list UI. It creates
33 // and hosts a AppsGridView and passes AppListModel to it for display. 33 // and hosts a AppsGridView and passes AppListModel to it for display.
34 class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView, 34 class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView,
35 public AppListViewDelegateObserver, 35 public AppListViewDelegateObserver,
36 public SpeechUIModelObserver { 36 public SpeechUIModelObserver {
37 public: 37 public:
38
39 // Takes ownership of |delegate|. 38 // Takes ownership of |delegate|.
40 explicit AppListView(AppListViewDelegate* delegate); 39 explicit AppListView(AppListViewDelegate* delegate);
41 virtual ~AppListView(); 40 virtual ~AppListView();
42 41
43 // Initializes the widget and use a given |anchor| plus an |anchor_offset| for 42 // Initializes the widget and use a given |anchor| plus an |anchor_offset| for
44 // positioning. 43 // positioning.
45 void InitAsBubbleAttachedToAnchor(gfx::NativeView parent, 44 void InitAsBubbleAttachedToAnchor(gfx::NativeView parent,
46 PaginationModel* pagination_model, 45 PaginationModel* pagination_model,
47 views::View* anchor, 46 views::View* anchor,
48 const gfx::Vector2d& anchor_offset, 47 const gfx::Vector2d& anchor_offset,
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 146
148 ObserverList<AppListViewObserver> observers_; 147 ObserverList<AppListViewObserver> observers_;
149 scoped_ptr<HideViewAnimationObserver> animation_observer_; 148 scoped_ptr<HideViewAnimationObserver> animation_observer_;
150 149
151 DISALLOW_COPY_AND_ASSIGN(AppListView); 150 DISALLOW_COPY_AND_ASSIGN(AppListView);
152 }; 151 };
153 152
154 } // namespace app_list 153 } // namespace app_list
155 154
156 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 155 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/app_list_folder_view.h ('k') | ui/app_list/views/apps_container_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698