Index: chrome/browser/ui/app_list/app_list_view_delegate.h |
diff --git a/chrome/browser/ui/app_list/app_list_view_delegate.h b/chrome/browser/ui/app_list/app_list_view_delegate.h |
index 0b5d121dfbe3c455b6759b53ff2b7932b91e774a..7a706e51f0c7d6d93c45cbe33d2a52fdbae6f46a 100644 |
--- a/chrome/browser/ui/app_list/app_list_view_delegate.h |
+++ b/chrome/browser/ui/app_list/app_list_view_delegate.h |
@@ -6,6 +6,7 @@ |
#define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
#include <string> |
+#include <vector> |
#include "base/basictypes.h" |
#include "base/callback_forward.h" |
@@ -15,7 +16,9 @@ |
class AppListControllerDelegate; |
class AppsModelBuilder; |
+class AvatarMenuModel; |
class Profile; |
+struct AvatarMenuItemModel; |
namespace app_list { |
class SearchController; |
@@ -36,8 +39,10 @@ class AppSyncUIStateWatcher; |
class AppListViewDelegate : public app_list::AppListViewDelegate { |
public: |
// The delegate will take ownership of the controller. |
- AppListViewDelegate(AppListControllerDelegate* controller, Profile* profile); |
+ AppListViewDelegate(AppListControllerDelegate* controller, |
+ Profile* profile); |
tapted
2013/07/31 05:43:53
nit: looks like the dec it will fit on one line
calamity
2013/08/01 08:35:45
Done.
|
virtual ~AppListViewDelegate(); |
+ virtual void SetProfile(Profile* profile) OVERRIDE; |
private: |
// Overridden from app_list::AppListViewDelegate: |
@@ -59,11 +64,11 @@ class AppListViewDelegate : public app_list::AppListViewDelegate { |
virtual void ViewClosing() OVERRIDE; |
virtual void ViewActivationChanged(bool active) OVERRIDE; |
virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; |
- virtual string16 GetCurrentUserName() OVERRIDE; |
- virtual string16 GetCurrentUserEmail() OVERRIDE; |
virtual void OpenSettings() OVERRIDE; |
virtual void OpenHelp() OVERRIDE; |
virtual void OpenFeedback() OVERRIDE; |
+ virtual void ShowForProfileAtIndex(size_t index) OVERRIDE; |
+ virtual void RebuildAvatarMenuItems(app_list::AppListModel* model) OVERRIDE; |
scoped_ptr<app_list::SigninDelegate> signin_delegate_; |
scoped_ptr<AppsModelBuilder> apps_builder_; |