| 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: 1 | |
| 6 | |
| 7 module arc.mojom; | |
| 8 | |
| 9 // Handles wallpaper calls from ARC in Chrome. | |
| 10 // Next method ID:2 | |
| 11 interface WallpaperHost { | |
| 12 // Gets current wallpaper encoded in PNG and send it back to ARC. | |
| 13 GetWallpaper@0() => (array<uint8> wallpaper); | |
| 14 | |
| 15 // Sets an image from ARC as the wallpaper. | |
| 16 // |png_data| is a PNG encoded wallpaper image. | |
| 17 SetWallpaper@1(array<uint8> png_data); | |
| 18 }; | |
| 19 | |
| 20 // Connects with container side to publish wallpaper related intents. | |
| 21 // Next method ID:1 | |
| 22 interface WallpaperInstance { | |
| 23 // Establishes communication with the container side. | |
| 24 Init@0(WallpaperHost host_ptr); | |
| 25 }; | |
| OLD | NEW |