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

Unified Diff: ui/app_list/app_list_view_delegate.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: ui/app_list/app_list_view_delegate.h
diff --git a/ui/app_list/app_list_view_delegate.h b/ui/app_list/app_list_view_delegate.h
index bd7e3d3837f75193f4d69cffe578b1c006a48ef5..08f54c3d68fc36c896cfd21f658e748abb2e50d2 100644
--- a/ui/app_list/app_list_view_delegate.h
+++ b/ui/app_list/app_list_view_delegate.h
@@ -9,6 +9,8 @@
#include "base/strings/string16.h"
#include "ui/app_list/app_list_export.h"
+struct AvatarMenuItemModel;
+
namespace base {
class FilePath;
}
@@ -90,6 +92,13 @@ class APP_LIST_EXPORT AppListViewDelegate {
// Open the feedback UI.
virtual void OpenFeedback() = 0;
+
+ // Returns a vector of |AvatarMenuItemModel|s reflecting the current available
+ // profiles.
+ virtual std::vector<AvatarMenuItemModel> GetAvatarMenuItems() = 0;
+
+ // Shows the app list for the profile specified by |index|.
+ virtual void ShowForProfileAtIndex(size_t index) = 0;
};
} // namespace app_list

Powered by Google App Engine
This is Rietveld 408576698