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

Unified Diff: ash/common/shelf/shelf_background_animator_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
Index: ash/common/shelf/shelf_background_animator_observer.h
diff --git a/ash/common/shelf/shelf_background_animator_observer.h b/ash/common/shelf/shelf_background_animator_observer.h
index a2a021d69ce198e51070aaa7a35be6733dd4cc42..bf8ca1050f8b0071f8f6ddeeeacee913b8292ec3 100644
--- a/ash/common/shelf/shelf_background_animator_observer.h
+++ b/ash/common/shelf/shelf_background_animator_observer.h
@@ -6,6 +6,7 @@
#define ASH_COMMON_SHELF_SHELF_BACKGROUND_ANIMATOR_OBSERVER_H_
#include "ash/ash_export.h"
+#include "third_party/skia/include/core/SkColor.h"
namespace ash {
@@ -13,10 +14,10 @@ namespace ash {
class ASH_EXPORT ShelfBackgroundAnimatorObserver {
public:
// Called when the Shelf's background should be updated.
- virtual void UpdateShelfBackground(int alpha) {}
+ virtual void UpdateShelfBackground(SkColor color) {}
// Called when the Shelf item (aka button) backgrounds should be updated.
- virtual void UpdateShelfItemBackground(int alpha) {}
+ virtual void UpdateShelfItemBackground(SkColor color) {}
protected:
virtual ~ShelfBackgroundAnimatorObserver() {}
« no previous file with comments | « ash/common/shelf/shelf_background_animator.cc ('k') | ash/common/shelf/shelf_background_animator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698