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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mash/public/interfaces/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
+};
« 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