OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ | 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ |
6 #define UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ | 6 #define UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ |
7 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 125 |
126 // Overridden from views::WidgetObserver: | 126 // Overridden from views::WidgetObserver: |
127 virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE; | 127 virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE; |
128 virtual void OnWidgetVisibilityChanged( | 128 virtual void OnWidgetVisibilityChanged( |
129 views::Widget* widget, bool visible) OVERRIDE; | 129 views::Widget* widget, bool visible) OVERRIDE; |
130 virtual void OnWidgetActivationChanged( | 130 virtual void OnWidgetActivationChanged( |
131 views::Widget* widget, bool active) OVERRIDE; | 131 views::Widget* widget, bool active) OVERRIDE; |
132 | 132 |
133 // Overridden from AppListModelObserver: | 133 // Overridden from AppListModelObserver: |
134 virtual void OnAppListModelSigninStatusChanged() OVERRIDE; | 134 virtual void OnAppListModelSigninStatusChanged() OVERRIDE; |
135 virtual void OnAppListModelUsersChanged() OVERRIDE; | |
136 | 135 |
137 SigninDelegate* GetSigninDelegate(); | 136 SigninDelegate* GetSigninDelegate(); |
138 | 137 |
139 scoped_ptr<AppListModel> model_; | 138 scoped_ptr<AppListModel> model_; |
140 scoped_ptr<AppListViewDelegate> delegate_; | 139 scoped_ptr<AppListViewDelegate> delegate_; |
141 | 140 |
142 AppListMainView* app_list_main_view_; | 141 AppListMainView* app_list_main_view_; |
143 SigninView* signin_view_; | 142 SigninView* signin_view_; |
144 | 143 |
145 ObserverList<Observer> observers_; | 144 ObserverList<Observer> observers_; |
146 | 145 |
147 DISALLOW_COPY_AND_ASSIGN(AppListView); | 146 DISALLOW_COPY_AND_ASSIGN(AppListView); |
148 }; | 147 }; |
149 | 148 |
150 } // namespace app_list | 149 } // namespace app_list |
151 | 150 |
152 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ | 151 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ |
OLD | NEW |