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

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

Issue 63283003: Move AppListModel::Users to AppListViewDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mac fixes Created 7 years, 1 month 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_menu_views.cc ('k') | ui/app_list/views/app_list_view.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) 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/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 // Overridden from views::WidgetObserver: 126 // Overridden from views::WidgetObserver:
127 virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE; 127 virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE;
128 virtual void OnWidgetVisibilityChanged( 128 virtual void OnWidgetVisibilityChanged(
129 views::Widget* widget, bool visible) OVERRIDE; 129 views::Widget* widget, bool visible) OVERRIDE;
130 virtual void OnWidgetActivationChanged( 130 virtual void OnWidgetActivationChanged(
131 views::Widget* widget, bool active) OVERRIDE; 131 views::Widget* widget, bool active) OVERRIDE;
132 132
133 // Overridden from AppListModelObserver: 133 // Overridden from AppListModelObserver:
134 virtual void OnAppListModelSigninStatusChanged() OVERRIDE; 134 virtual void OnAppListModelSigninStatusChanged() OVERRIDE;
135 virtual void OnAppListModelUsersChanged() OVERRIDE;
136 135
137 SigninDelegate* GetSigninDelegate(); 136 SigninDelegate* GetSigninDelegate();
138 137
139 scoped_ptr<AppListModel> model_; 138 scoped_ptr<AppListModel> model_;
140 scoped_ptr<AppListViewDelegate> delegate_; 139 scoped_ptr<AppListViewDelegate> delegate_;
141 140
142 AppListMainView* app_list_main_view_; 141 AppListMainView* app_list_main_view_;
143 SigninView* signin_view_; 142 SigninView* signin_view_;
144 143
145 ObserverList<Observer> observers_; 144 ObserverList<Observer> observers_;
146 145
147 DISALLOW_COPY_AND_ASSIGN(AppListView); 146 DISALLOW_COPY_AND_ASSIGN(AppListView);
148 }; 147 };
149 148
150 } // namespace app_list 149 } // namespace app_list
151 150
152 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 151 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/app_list_menu_views.cc ('k') | ui/app_list/views/app_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698