OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 module arc.mojom; | 5 module arc.mojom; |
6 | 6 |
7 import "app.mojom"; | 7 import "app.mojom"; |
8 import "audio.mojom"; | 8 import "audio.mojom"; |
9 import "auth.mojom"; | 9 import "auth.mojom"; |
10 import "bluetooth.mojom"; | 10 import "bluetooth.mojom"; |
11 import "clipboard.mojom"; | 11 import "clipboard.mojom"; |
12 import "crash_collector.mojom"; | 12 import "crash_collector.mojom"; |
13 import "enterprise_reporting.mojom"; | 13 import "enterprise_reporting.mojom"; |
14 import "file_system.mojom"; | 14 import "file_system.mojom"; |
15 import "ime.mojom"; | 15 import "ime.mojom"; |
16 import "intent_helper.mojom"; | 16 import "intent_helper.mojom"; |
17 import "metrics.mojom"; | 17 import "metrics.mojom"; |
18 import "net.mojom"; | 18 import "net.mojom"; |
19 import "notifications.mojom"; | 19 import "notifications.mojom"; |
20 import "obb_mounter.mojom"; | 20 import "obb_mounter.mojom"; |
21 import "policy.mojom"; | 21 import "policy.mojom"; |
22 import "power.mojom"; | 22 import "power.mojom"; |
23 import "print.mojom"; | 23 import "print.mojom"; |
24 import "process.mojom"; | 24 import "process.mojom"; |
25 import "storage_manager.mojom"; | 25 import "storage_manager.mojom"; |
26 import "tts.mojom"; | 26 import "tts.mojom"; |
27 import "video.mojom"; | 27 import "video.mojom"; |
| 28 import "wallpaper.mojom"; |
28 | 29 |
29 // Next MinVersion: 18 | 30 // Next MinVersion: 19 |
30 // Deprecated method IDs: 101, 105 | 31 // Deprecated method IDs: 101, 105 |
31 // Next method ID: 124 | 32 // Next method ID: 125 |
32 interface ArcBridgeHost { | 33 interface ArcBridgeHost { |
33 // Keep the entries alphabetical. In order to do so without breaking | 34 // Keep the entries alphabetical. In order to do so without breaking |
34 // compatibility with the ARC instance, explicitly assign each interface a | 35 // compatibility with the ARC instance, explicitly assign each interface a |
35 // unique ordinal. | 36 // unique ordinal. |
36 | 37 |
37 // Notifies Chrome that the AppInstance interface is ready. | 38 // Notifies Chrome that the AppInstance interface is ready. |
38 OnAppInstanceReady@100(AppInstance instance_ptr); | 39 OnAppInstanceReady@100(AppInstance instance_ptr); |
39 | 40 |
40 // Notifies Chrome that the AudioInstance interface is ready. | 41 // Notifies Chrome that the AudioInstance interface is ready. |
41 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); | 42 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 OnProcessInstanceReady@104(ProcessInstance instance_ptr); | 94 OnProcessInstanceReady@104(ProcessInstance instance_ptr); |
94 | 95 |
95 // Notifies Chrome that the StorageManagerInstance interface is ready. | 96 // Notifies Chrome that the StorageManagerInstance interface is ready. |
96 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta
nce_ptr); | 97 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta
nce_ptr); |
97 | 98 |
98 // Notifies Chrome that the TtsInstance interface is ready. | 99 // Notifies Chrome that the TtsInstance interface is ready. |
99 [MinVersion=17] OnTtsInstanceReady@123(TtsInstance instance_ptr); | 100 [MinVersion=17] OnTtsInstanceReady@123(TtsInstance instance_ptr); |
100 | 101 |
101 // Notifies Chrome that the VideoInstance interface is ready. | 102 // Notifies Chrome that the VideoInstance interface is ready. |
102 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); | 103 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); |
| 104 |
| 105 // Notifies Chrome that the WallpaperInstance interface is ready. |
| 106 [MinVersion=18] OnWallpaperInstanceReady@124(WallpaperInstance instance_ptr); |
103 }; | 107 }; |
104 | 108 |
105 interface ArcBridgeInstance { | 109 interface ArcBridgeInstance { |
106 // Establishes full-duplex communication with the host. | 110 // Establishes full-duplex communication with the host. |
107 // |host_ptr| is the MessagePipe endpoint that is bound to the | 111 // |host_ptr| is the MessagePipe endpoint that is bound to the |
108 // ArcBridgeHostPtr binding. | 112 // ArcBridgeHostPtr binding. |
109 Init@0(ArcBridgeHost host_ptr); | 113 Init@0(ArcBridgeHost host_ptr); |
110 }; | 114 }; |
OLD | NEW |