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

Side by Side Diff: components/arc/common/wallpaper.mojom

Issue 2332063004: cheets: remove setWallpaper from ArcIntentHelper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reduce setting wallpaper latency. Created 4 years, 1 month 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 | « chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.cc ('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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Next MinVersion: 2 5 // Next MinVersion: 2
6 6
7 module arc.mojom; 7 module arc.mojom;
8 8
9 // Handles wallpaper calls from ARC in Chrome. 9 // Handles wallpaper calls from ARC in Chrome.
10 // Next method ID:2 10 // Next method ID:2
11 interface WallpaperHost { 11 interface WallpaperHost {
12 // Gets current wallpaper encoded in PNG and send it back to ARC. 12 // Gets current wallpaper encoded in PNG and send it back to ARC.
13 GetWallpaper@0() => (array<uint8> wallpaper); 13 GetWallpaper@0() => (array<uint8> wallpaper);
14 14
15 // Sets an image from ARC as the wallpaper. 15 // Sets an image from ARC as the wallpaper.
16 // |png_data| is a PNG encoded wallpaper image. 16 // |data| is a byte array of the wallpaper image.
17 SetWallpaper@1(array<uint8> png_data); 17 SetWallpaper@1(array<uint8> data);
18 }; 18 };
19 19
20 // Connects with container side to publish wallpaper related intents. 20 // Connects with container side to publish wallpaper related intents.
21 // Next method ID:2 21 // Next method ID:2
22 interface WallpaperInstance { 22 interface WallpaperInstance {
23 // Establishes communication with the container side. 23 // Establishes communication with the container side.
24 Init@0(WallpaperHost host_ptr); 24 Init@0(WallpaperHost host_ptr);
25 25
26 // Notifies ArcWallpaperManagerService that wallpaper is changed. 26 // Notifies ArcWallpaperManagerService that wallpaper is changed.
27 [MinVersion=1] OnWallpaperChanged@1(); 27 [MinVersion=1] OnWallpaperChanged@1();
28 }; 28 };
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/arc/wallpaper/arc_wallpaper_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698