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

Unified Diff: components/wallpaper/wallpaper_manager_base.h

Issue 2931063004: Extract colors from wallpaper and dynamically update login screen overlay (Closed)
Patch Set: Will clean up this CL when crbug.com/733709 is fixed Created 3 years, 6 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
Index: components/wallpaper/wallpaper_manager_base.h
diff --git a/components/wallpaper/wallpaper_manager_base.h b/components/wallpaper/wallpaper_manager_base.h
index 88601cc801e5ad5ce87d5e76e460f08e75e5e7b9..b09c35a50d6376218803e9636f8d3f95972d12d8 100644
--- a/components/wallpaper/wallpaper_manager_base.h
+++ b/components/wallpaper/wallpaper_manager_base.h
@@ -194,8 +194,14 @@ class WALLPAPER_EXPORT WallpaperManagerBase {
class Observer {
public:
virtual ~Observer() {}
+ // Notified when the wallpaper animation finishes.
virtual void OnWallpaperAnimationFinished(const AccountId& account_id) = 0;
+ // Notified when the wallpaper is updated and the color calculation results
+ // change.
+ virtual void OnWallpaperColorsChanged() {}
+ // Notified when the wallpaper is updated.
virtual void OnUpdateWallpaperForTesting() {}
+ // Notified when the wallpaper pending list is empty.
virtual void OnPendingListEmptyForTesting() {}
};
@@ -638,4 +644,4 @@ class WALLPAPER_EXPORT WallpaperManagerBase {
} // namespace wallpaper
-#endif // COMPONENTS_WALLPAPER_WALLPAPER_MANAGER_BASE_H_
+#endif // COMPONENTS_WALLPAPER_WALLPAPER_MANAGER_BASE_H_
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc ('k') | ui/login/account_picker/md_screen_account_picker.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698