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