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

Unified Diff: components/arc/common/wallpaper.mojom

Issue 2264743002: cheets: implement cros side of WallpaperManagerService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change instance getter / setter in SetWallpaperDelegate to snake_case. Created 4 years, 3 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 | « components/arc/common/arc_bridge.mojom ('k') | components/arc/intent_helper/arc_intent_helper_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/wallpaper.mojom
diff --git a/components/arc/common/wallpaper.mojom b/components/arc/common/wallpaper.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..db66f14270910a57f843412667c9dac685a82769
--- /dev/null
+++ b/components/arc/common/wallpaper.mojom
@@ -0,0 +1,25 @@
+// 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.
+//
+// Next MinVersion: 1
+
+module arc.mojom;
+
+// Handles wallpaper calls from ARC in Chrome.
+// Next method ID:2
+interface WallpaperHost {
+ // Gets current wallpaper encoded in PNG and send it back to ARC.
+ GetWallpaper@0() => (array<uint8> wallpaper);
+
+ // Sets an image from ARC as the wallpaper.
+ // |png_data| is a PNG encoded wallpaper image.
+ SetWallpaper@1(array<uint8> png_data);
+};
+
+// Connects with container side to publish wallpaper related intents.
+// Next method ID:1
+interface WallpaperInstance {
+ // Establishes communication with the container side.
+ Init@0(WallpaperHost host_ptr);
+};
« no previous file with comments | « components/arc/common/arc_bridge.mojom ('k') | components/arc/intent_helper/arc_intent_helper_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698