OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 // | |
5 // Next MinVersion: 2 | |
6 | |
7 module arc.mojom; | |
8 | |
9 // Handles wallpaper calls from ARC in Chrome. | |
10 // Next method ID:3 | |
11 interface WallpaperHost { | |
12 // Gets current wallpaper and send it back to ARC. | |
13 [MinVersion=1] GetWallpaper@2() => (array<uint8> wallpaper); | |
hidehiko
2016/08/22 02:30:11
@1
Could you explicitly document the encoding of
Muyuan
2016/08/22 22:25:00
Done.
| |
14 | |
15 // Sets an image from ARC as the wallpaper. | |
16 // |jpeg_data| is a JPEG encoded wallpaper image. | |
17 [MinVersion=1] SetWallpaper@1(array<uint8> jpeg_data); | |
hidehiko
2016/08/22 02:30:10
@0
Muyuan
2016/08/22 22:25:00
Done.
| |
18 }; | |
19 | |
20 // Connects with container side to publish wallpaper related intents. | |
21 // Next method ID:2 | |
22 interface WallpaperInstance { | |
23 // Establishes communication with the container side. | |
hidehiko
2016/08/22 02:30:11
nit: 2-indent please.
Muyuan
2016/08/22 22:25:00
Done.
| |
24 Init@1(WallpaperHost host_ptr); | |
Luis Héctor Chávez
2016/08/19 23:22:56
nit: Init@0
Muyuan
2016/08/22 22:25:00
Done.
| |
25 }; | |
OLD | NEW |