OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_WALLPAPER_WALLPAPER_COLOR_CALCULATOR_OBSERVER_H_ |
| 6 #define COMPONENTS_WALLPAPER_WALLPAPER_COLOR_CALCULATOR_OBSERVER_H_ |
| 7 |
| 8 #include "components/wallpaper/wallpaper_export.h" |
| 9 |
| 10 namespace wallpaper { |
| 11 |
| 12 // Observer for the WallpaperColorCalculator. |
| 13 class WALLPAPER_EXPORT WallpaperColorCalculatorObserver { |
| 14 public: |
| 15 // Notified when a color calculation completes. |
| 16 virtual void OnColorCalculationComplete() = 0; |
| 17 |
| 18 protected: |
| 19 virtual ~WallpaperColorCalculatorObserver() {} |
| 20 }; |
| 21 |
| 22 } // namespace wallpaper |
| 23 |
| 24 #endif // COMPONENTS_WALLPAPER_WALLPAPER_COLOR_CALCULATOR_OBSERVER_H_ |
OLD | NEW |