Index: ui/app_list/views/app_list_view.h |
diff --git a/ui/app_list/views/app_list_view.h b/ui/app_list/views/app_list_view.h |
index eb21ceb3ed654417e46415704c500405ec5e046e..21f63777bbf50bb30e92a1c512f0f405e1f473f2 100644 |
--- a/ui/app_list/views/app_list_view.h |
+++ b/ui/app_list/views/app_list_view.h |
@@ -7,6 +7,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "ui/app_list/app_list_export.h" |
+#include "ui/app_list/app_list_model_observer.h" |
#include "ui/app_list/signin_delegate_observer.h" |
#include "ui/views/bubble/bubble_delegate.h" |
@@ -26,7 +27,8 @@ class SigninView; |
// AppListView is the top-level view and controller of app list UI. It creates |
// and hosts a AppsGridView and passes AppListModel to it for display. |
class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView, |
- public SigninDelegateObserver { |
+ public SigninDelegateObserver, |
+ public AppListModelObserver { |
public: |
// Takes ownership of |delegate|. |
explicit AppListView(AppListViewDelegate* delegate); |
@@ -91,6 +93,9 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView, |
// Overridden from SigninDelegateObserver: |
virtual void OnSigninSuccess() OVERRIDE; |
+ // Overridden from app_list::AppListModelObserver: |
+ virtual void OnAppListModelProfilesChanged() OVERRIDE; |
+ |
SigninDelegate* GetSigninDelegate(); |
scoped_ptr<AppListModel> model_; |