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

Unified Diff: components/wallpaper/wallpaper_color_calculator_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: components/wallpaper/wallpaper_color_calculator_observer.h
diff --git a/components/wallpaper/wallpaper_color_calculator_observer.h b/components/wallpaper/wallpaper_color_calculator_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..45a701df6ea2bee2dfd8f6b0fdb8f037b752f677
--- /dev/null
+++ b/components/wallpaper/wallpaper_color_calculator_observer.h
@@ -0,0 +1,24 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_WALLPAPER_WALLPAPER_COLOR_CALCULATOR_OBSERVER_H_
+#define COMPONENTS_WALLPAPER_WALLPAPER_COLOR_CALCULATOR_OBSERVER_H_
+
+#include "components/wallpaper/wallpaper_export.h"
+
+namespace wallpaper {
+
+// Observer for the WallpaperColorCalculator.
+class WALLPAPER_EXPORT WallpaperColorCalculatorObserver {
+ public:
+ // Notified when a color calculation completes.
+ virtual void OnColorCalculationComplete() = 0;
+
+ protected:
+ virtual ~WallpaperColorCalculatorObserver() {}
+};
+
+} // namespace wallpaper
+
+#endif // COMPONENTS_WALLPAPER_WALLPAPER_COLOR_CALCULATOR_OBSERVER_H_
« no previous file with comments | « components/wallpaper/wallpaper_color_calculator.cc ('k') | components/wallpaper/wallpaper_color_calculator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698