Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(966)

Side by Side Diff: mash/public/interfaces/wallpaper.mojom

Issue 1984433002: Hook up Chrome's wallpaper picker for mash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Avoid Display copy. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mash/public/interfaces/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 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
6
7 import "skia/public/interfaces/bitmap.mojom";
8
9 // Used by Chrome to set the wallpaper displayed by ash_sysui.
10 interface WallpaperController {
11 // Set the wallpaper image and the wallpaper::WallpaperLayout |layout|.
12 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.
13 };
14
15 // Used by ash_sysui to trigger Chrome's wallpaper picker functionality.
16 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
17 OpenWallpaperManager();
18 };
OLDNEW
« no previous file with comments | « mash/public/interfaces/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698