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

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

Issue 2061183002: arc: IPC method to set custom wallpaper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add next IDs. Created 4 years, 6 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: components/arc/common/intent_helper.mojom
diff --git a/components/arc/common/intent_helper.mojom b/components/arc/common/intent_helper.mojom
index 5c5bc12c8551f21117a23784734d743456ec7d68..2f44bf5a718f9a34495d4ef940b443997910d005 100644
--- a/components/arc/common/intent_helper.mojom
+++ b/components/arc/common/intent_helper.mojom
@@ -1,6 +1,8 @@
// 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: 8
module arc.mojom;
@@ -43,6 +45,7 @@ struct UrlWithMimeType {
};
// Handles intents from ARC in Chrome.
+// Next method ID: 5
interface IntentHelperHost {
// Called when icons associated with the package are no longer up to date.
[MinVersion=3] OnIconInvalidated@1(string package_name);
@@ -55,9 +58,14 @@ interface IntentHelperHost {
// Opens the wallpaper picker dialog.
[MinVersion=6] OpenWallpaperPicker@3();
+
+ // Sets an image as the wallpaper.
+ // |jpeg_data| is a JPEG encoded wallpaper image.
+ [MinVersion=7] SetWallpaper@4(array<uint8> jpeg_data);
};
// Sends intents to ARC on behalf of Chrome.
+// Next method ID: 8
interface IntentHelperInstance {
// Handles the URL by sending an ACTION_VIEW intent to the package. The
// most suitable activity for the URL within the package will be started.

Powered by Google App Engine
This is Rietveld 408576698