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_HELPER_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_CHROME_WALLPAPER_HELPER_H_ |
| 7 |
| 8 #include "mash/public/interfaces/wallpaper.mojom.h" |
| 9 #include "mojo/public/cpp/bindings/binding_set.h" |
| 10 |
| 11 // ChromeWallpaperHelper exposes wallpaper extension functionality to mash. |
| 12 class ChromeWallpaperHelper : public mash::mojom::WallpaperHelper { |
| 13 public: |
| 14 ChromeWallpaperHelper(); |
| 15 ~ChromeWallpaperHelper() override; |
| 16 |
| 17 void ProcessRequest(mash::mojom::WallpaperHelperRequest request); |
| 18 |
| 19 private: |
| 20 // mash::mojom::WallpaperHelper: |
| 21 void OpenWallpaperManager() override; |
| 22 |
| 23 mojo::BindingSet<mash::mojom::WallpaperHelper> bindings_; |
| 24 |
| 25 DISALLOW_COPY_AND_ASSIGN(ChromeWallpaperHelper); |
| 26 }; |
| 27 |
| 28 #endif // CHROME_BROWSER_UI_ASH_CHROME_WALLPAPER_HELPER_H_ |
OLD | NEW |