| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_WALLPAPER_MANAGER_H_ | |
| 6 #define CHROME_BROWSER_UI_ASH_CHROME_WALLPAPER_MANAGER_H_ | |
| 7 | |
| 8 #include "ash/public/interfaces/wallpaper.mojom.h" | |
| 9 #include "mojo/public/cpp/bindings/binding_set.h" | |
| 10 | |
| 11 // ChromeWallpaperManager exposes chrome wallpaper functionality to mash. | |
| 12 class ChromeWallpaperManager : public ash::mojom::WallpaperManager { | |
| 13 public: | |
| 14 ChromeWallpaperManager(); | |
| 15 ~ChromeWallpaperManager() override; | |
| 16 | |
| 17 void ProcessRequest(ash::mojom::WallpaperManagerRequest request); | |
| 18 | |
| 19 private: | |
| 20 // ash::mojom::WallpaperManager: | |
| 21 void Open() override; | |
| 22 | |
| 23 mojo::BindingSet<ash::mojom::WallpaperManager> bindings_; | |
| 24 | |
| 25 DISALLOW_COPY_AND_ASSIGN(ChromeWallpaperManager); | |
| 26 }; | |
| 27 | |
| 28 #endif // CHROME_BROWSER_UI_ASH_CHROME_WALLPAPER_MANAGER_H_ | |
| OLD | NEW |