Chromium Code Reviews| 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..43a360bd080c289e83839a627c84d346e3ed44cf 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,7 @@ 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 AppListModelObserver { |
| public: |
| // Takes ownership of |delegate|. |
| explicit AppListView(AppListViewDelegate* delegate); |
| @@ -88,10 +89,10 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView, |
| virtual void OnWidgetActivationChanged( |
| views::Widget* widget, bool active) OVERRIDE; |
| - // Overridden from SigninDelegateObserver: |
| - virtual void OnSigninSuccess() OVERRIDE; |
| + virtual void OnAppListModelSigninStatusChanged() OVERRIDE; |
|
koz (OOO until 15th September)
2013/08/05 01:09:11
nit: This is also overidden from AppListModelObser
calamity
2013/08/08 04:52:12
Done.
|
| - SigninDelegate* GetSigninDelegate(); |
| + // Overridden from app_list::AppListModelObserver: |
| + virtual void OnAppListModelProfilesChanged() OVERRIDE; |
| scoped_ptr<AppListModel> model_; |
| scoped_ptr<AppListViewDelegate> delegate_; |