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

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: Fix gyp builds; address Sadrul's comment. 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
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..de24cc0f81c69bddd6e31576c4726fa955ab3aef
--- /dev/null
+++ b/mash/public/interfaces/wallpaper.mojom
@@ -0,0 +1,17 @@
+// 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;
+
+import "skia/public/interfaces/bitmap.mojom";
+
+// Used by Chrome to set the wallpaper displayed by Mash.
James Cook 2016/05/19 22:30:00 nit: s/Mash/ash_sysui/ (I'm a big fan of documenti
msw 2016/05/20 19:53:05 Done.
+interface WallpaperController {
+ SetWallpaper(skia.mojom.Bitmap wallpaper, int32 layout);
James Cook 2016/05/19 22:30:00 document the layout values
msw 2016/05/20 19:53:05 Done.
+};
+
+// Used by Mash to trigger Chrome's wallpaper picker functionality.
James Cook 2016/05/19 22:30:00 ditto
msw 2016/05/20 19:53:05 Done.
+interface WallpaperHelper {
+ OpenWallpaperManager();
+};
« chrome/browser/ui/ash/chrome_wallpaper_helper.cc ('K') | « mash/public/interfaces/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698