OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_SERVICE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_SERVICE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_SERVICE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "ash/common/wallpaper/wallpaper_controller_observer.h" | 10 #include "ash/common/wallpaper/wallpaper_controller_observer.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 void GetWallpaper(const GetWallpaperCallback& callback) override; | 41 void GetWallpaper(const GetWallpaperCallback& callback) override; |
42 | 42 |
43 // ImageDecoder::ImageRequest implementation. | 43 // ImageDecoder::ImageRequest implementation. |
44 void OnImageDecoded(const SkBitmap& bitmap) override; | 44 void OnImageDecoded(const SkBitmap& bitmap) override; |
45 void OnDecodeImageFailed() override; | 45 void OnDecodeImageFailed() override; |
46 | 46 |
47 // WallpaperControllerObserver implementation. | 47 // WallpaperControllerObserver implementation. |
48 void OnWallpaperDataChanged() override; | 48 void OnWallpaperDataChanged() override; |
49 | 49 |
50 private: | 50 private: |
51 mojom::WallpaperInstance* GetWallpaperInstance(uint32_t min_version); | |
52 | |
53 mojo::Binding<mojom::WallpaperHost> binding_; | 51 mojo::Binding<mojom::WallpaperHost> binding_; |
54 DISALLOW_COPY_AND_ASSIGN(ArcWallpaperService); | 52 DISALLOW_COPY_AND_ASSIGN(ArcWallpaperService); |
55 }; | 53 }; |
56 | 54 |
57 } // namespace arc | 55 } // namespace arc |
58 | 56 |
59 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_SERVICE_H_ | 57 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_WALLPAPER_SERVICE_H_ |
OLD | NEW |