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

Unified Diff: ash/common/wallpaper/wallpaper_controller_observer.h

Issue 2679133003: [ash-md] Wired in the Shelf color to be derived from the Wallpaper. (Closed)
Patch Set: Addressed nits. Created 3 years, 10 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 | « ash/common/wallpaper/wallpaper_controller.cc ('k') | ash/common/wm/dock/docked_window_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wallpaper/wallpaper_controller_observer.h
diff --git a/ash/common/wallpaper/wallpaper_controller_observer.h b/ash/common/wallpaper/wallpaper_controller_observer.h
index 2421adfd65a7478c99961bb182353fc57e629103..775c802fd950d1c7d8ac19502f4295e97dcbcf57 100644
--- a/ash/common/wallpaper/wallpaper_controller_observer.h
+++ b/ash/common/wallpaper/wallpaper_controller_observer.h
@@ -14,6 +14,11 @@ class ASH_EXPORT WallpaperControllerObserver {
// Invoked when the wallpaper data is changed.
virtual void OnWallpaperDataChanged() = 0;
+ // Invoked when the colors extracted from the current wallpaper change. May
+ // be called as a side effect of changing the wallpaper on the
+ // WallpaperController, e.g. WallpaperController::SetWallpaperImage().
+ virtual void OnWallpaperColorsChanged() {}
+
protected:
virtual ~WallpaperControllerObserver() {}
};
« no previous file with comments | « ash/common/wallpaper/wallpaper_controller.cc ('k') | ash/common/wm/dock/docked_window_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698