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

Unified Diff: ui/app_list/app_list_model_observer.h

Issue 22268009: Move signin status and current user information into AppListModel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 4 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
« no previous file with comments | « ui/app_list/app_list_model.cc ('k') | ui/app_list/app_list_view_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_model_observer.h
diff --git a/ui/app_list/app_list_model_observer.h b/ui/app_list/app_list_model_observer.h
index c843894c12f8baf15c21dfca2e91735ad865a3ed..07716de735c24e6546cd9641735d9f053e930872 100644
--- a/ui/app_list/app_list_model_observer.h
+++ b/ui/app_list/app_list_model_observer.h
@@ -12,7 +12,13 @@ namespace app_list {
class APP_LIST_EXPORT AppListModelObserver {
public:
// Invoked when AppListModel's status has changed.
- virtual void OnAppListModelStatusChanged() = 0;
+ virtual void OnAppListModelStatusChanged() {}
+
+ // Invoked when AppListModel's current user details have changed.
+ virtual void OnAppListModelCurrentUserChanged() {}
+
+ // Invoked when AppListModel's current user's signin status has changed.
+ virtual void OnAppListModelSigninStatusChanged() {}
protected:
virtual ~AppListModelObserver() {}
« no previous file with comments | « ui/app_list/app_list_model.cc ('k') | ui/app_list/app_list_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698