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

Unified Diff: ash/shell/app_list.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_list_view_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/app_list.cc
diff --git a/ash/shell/app_list.cc b/ash/shell/app_list.cc
index fe62d216d8fe2a9eb5be620b1dee4b9fa684f85e..209f5a8d3f2f5e6dbb8bc5e5ac0b2cd16c1997e4 100644
--- a/ash/shell/app_list.cc
+++ b/ash/shell/app_list.cc
@@ -232,6 +232,10 @@ class ExampleAppListViewDelegate : public app_list::AppListViewDelegate {
// Nothing needs to be done.
}
+ virtual const Users& GetUsers() const OVERRIDE {
+ return users_;
+ }
+
virtual void InitModel(app_list::AppListModel* model) OVERRIDE {
model_ = model;
PopulateApps(model_->item_list());
@@ -324,6 +328,7 @@ class ExampleAppListViewDelegate : public app_list::AppListViewDelegate {
}
app_list::AppListModel* model_;
+ Users users_;
DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate);
};
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_list_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698