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

Unified Diff: ash/shell/app_list.cc

Issue 20656002: Add profile selector menu to app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove binary changes Created 7 years, 3 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 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_controller_browsertest.cc » ('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 d1a244e8a0f8c54f01b055d9b38e35bd4ac9941c..f0dae34eceb99b76a65a881348f1149b373143fa 100644
--- a/ash/shell/app_list.cc
+++ b/ash/shell/app_list.cc
@@ -222,7 +222,11 @@ class ExampleAppListViewDelegate : public app_list::AppListViewDelegate {
}
// Overridden from ash::AppListViewDelegate:
- virtual void SetModel(app_list::AppListModel* model) OVERRIDE {
+ virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE {
+ // Nothing needs to be done.
+ }
+
+ virtual void InitModel(app_list::AppListModel* model) OVERRIDE {
model_ = model;
PopulateApps(model_->apps());
DecorateSearchBox(model_->search_box());
@@ -309,6 +313,11 @@ class ExampleAppListViewDelegate : public app_list::AppListViewDelegate {
// Nothing needs to be done.
}
+ virtual void ShowForProfileByPath(
+ const base::FilePath& profile_path) OVERRIDE {
+ // Nothing needs to be done.
+ }
+
app_list::AppListModel* model_;
DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate);
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_list_controller_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698