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

Unified Diff: chrome/browser/ui/app_list/app_list_service.h

Issue 20656002: Add profile selector menu to app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 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
Index: chrome/browser/ui/app_list/app_list_service.h
diff --git a/chrome/browser/ui/app_list/app_list_service.h b/chrome/browser/ui/app_list/app_list_service.h
index edac211d5574fa13e30ac7a3ce23df4c3edcdbce..65cdff11851d5e0d4c303ea30dc6b4a8a3e402cb 100644
--- a/chrome/browser/ui/app_list/app_list_service.h
+++ b/chrome/browser/ui/app_list/app_list_service.h
@@ -53,6 +53,10 @@ class AppListService {
// profile to local prefs as the default app list profile.
virtual void ShowForProfile(Profile* requested_profile) = 0;
+ // Shows the app list for the profile at the given index. If the profile has
+ // not been loaded, this will load the profile and then show the app list.
+ virtual void ShowForProfileAtIndex(size_t index) = 0;
+
// Dismiss the app list.
virtual void DismissAppList() = 0;

Powered by Google App Engine
This is Rietveld 408576698