Chromium Code Reviews| Index: mash/public/interfaces/wallpaper.mojom |
| diff --git a/mash/public/interfaces/wallpaper.mojom b/mash/public/interfaces/wallpaper.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e45bcbd9109454165d2585e09ee6f617f2efdeea |
| --- /dev/null |
| +++ b/mash/public/interfaces/wallpaper.mojom |
| @@ -0,0 +1,18 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +module mash.mojom; |
|
sky
2016/05/20 22:32:19
The interfaces in here are intended for use by all
msw
2016/05/21 00:30:34
Moved to ash/mus/public/interfaces... Maybe you ca
sky
2016/05/21 16:09:20
Yes, sorry, I didn't mean you need to move everyth
|
| + |
| +import "skia/public/interfaces/bitmap.mojom"; |
| + |
| +// Used by Chrome to set the wallpaper displayed by ash_sysui. |
| +interface WallpaperController { |
| + // Set the wallpaper image and the wallpaper::WallpaperLayout |layout|. |
| + SetWallpaper(skia.mojom.Bitmap wallpaper, int32 layout); |
|
sky
2016/05/20 22:32:19
Don't we want to define WallpaperLayout in mojom?
msw
2016/05/21 00:30:35
I guess; Done.
|
| +}; |
| + |
| +// Used by ash_sysui to trigger Chrome's wallpaper picker functionality. |
| +interface WallpaperHelper { |
|
sky
2016/05/20 22:32:19
Should the interface be named WallpaperManager?
msw
2016/05/21 00:30:35
Heh, I had that but then though it was silly; Done
|
| + OpenWallpaperManager(); |
| +}; |