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"; | |
29 | 28 |
30 // Next MinVersion: 19 | 29 // Next MinVersion: 18 |
31 // Deprecated method IDs: 101, 105 | 30 // Deprecated method IDs: 101, 105 |
32 // Next method ID: 125 | 31 // Next method ID: 124 |
33 interface ArcBridgeHost { | 32 interface ArcBridgeHost { |
34 // Keep the entries alphabetical. In order to do so without breaking | 33 // Keep the entries alphabetical. In order to do so without breaking |
35 // compatibility with the ARC instance, explicitly assign each interface a | 34 // compatibility with the ARC instance, explicitly assign each interface a |
36 // unique ordinal. | 35 // unique ordinal. |
37 | 36 |
38 // Notifies Chrome that the AppInstance interface is ready. | 37 // Notifies Chrome that the AppInstance interface is ready. |
39 OnAppInstanceReady@100(AppInstance instance_ptr); | 38 OnAppInstanceReady@100(AppInstance instance_ptr); |
40 | 39 |
41 // Notifies Chrome that the AudioInstance interface is ready. | 40 // Notifies Chrome that the AudioInstance interface is ready. |
42 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); | 41 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 OnProcessInstanceReady@104(ProcessInstance instance_ptr); | 93 OnProcessInstanceReady@104(ProcessInstance instance_ptr); |
95 | 94 |
96 // Notifies Chrome that the StorageManagerInstance interface is ready. | 95 // Notifies Chrome that the StorageManagerInstance interface is ready. |
97 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta
nce_ptr); | 96 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta
nce_ptr); |
98 | 97 |
99 // Notifies Chrome that the TtsInstance interface is ready. | 98 // Notifies Chrome that the TtsInstance interface is ready. |
100 [MinVersion=17] OnTtsInstanceReady@123(TtsInstance instance_ptr); | 99 [MinVersion=17] OnTtsInstanceReady@123(TtsInstance instance_ptr); |
101 | 100 |
102 // Notifies Chrome that the VideoInstance interface is ready. | 101 // Notifies Chrome that the VideoInstance interface is ready. |
103 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); | 102 [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); | |
107 }; | 103 }; |
108 | 104 |
109 interface ArcBridgeInstance { | 105 interface ArcBridgeInstance { |
110 // Establishes full-duplex communication with the host. | 106 // Establishes full-duplex communication with the host. |
111 // |host_ptr| is the MessagePipe endpoint that is bound to the | 107 // |host_ptr| is the MessagePipe endpoint that is bound to the |
112 // ArcBridgeHostPtr binding. | 108 // ArcBridgeHostPtr binding. |
113 Init@0(ArcBridgeHost host_ptr); | 109 Init@0(ArcBridgeHost host_ptr); |
114 }; | 110 }; |
OLD | NEW |