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 "file_system.mojom"; | 13 import "file_system.mojom"; |
14 import "ime.mojom"; | 14 import "ime.mojom"; |
15 import "intent_helper.mojom"; | 15 import "intent_helper.mojom"; |
16 import "metrics.mojom"; | 16 import "metrics.mojom"; |
17 import "net.mojom"; | 17 import "net.mojom"; |
18 import "notifications.mojom"; | 18 import "notifications.mojom"; |
19 import "obb_mounter.mojom"; | 19 import "obb_mounter.mojom"; |
20 import "policy.mojom"; | 20 import "policy.mojom"; |
21 import "power.mojom"; | 21 import "power.mojom"; |
22 import "print.mojom"; | |
22 import "process.mojom"; | 23 import "process.mojom"; |
23 import "storage_manager.mojom"; | 24 import "storage_manager.mojom"; |
24 import "video.mojom"; | 25 import "video.mojom"; |
25 import "window_manager.mojom"; | 26 import "window_manager.mojom"; |
26 | 27 |
27 // Next MinVersion: 15 | 28 // Next MinVersion: 15 |
Luis Héctor Chávez
2016/07/06 17:09:42
Next MinVersion: 16
Sergey Poromov
2016/07/11 14:42:07
Done.
| |
28 // Deprecated method IDs: 101, 105 | 29 // Deprecated method IDs: 101, 105 |
29 // Next method ID: 121 | 30 // Next method ID: 122 |
30 interface ArcBridgeHost { | 31 interface ArcBridgeHost { |
31 // Keep the entries alphabetical. In order to do so without breaking | 32 // Keep the entries alphabetical. In order to do so without breaking |
32 // compatibility with the ARC instance, explicitly assign each interface a | 33 // compatibility with the ARC instance, explicitly assign each interface a |
33 // unique ordinal. | 34 // unique ordinal. |
34 | 35 |
35 // Notifies Chrome that the AppInstance interface is ready. | 36 // Notifies Chrome that the AppInstance interface is ready. |
36 OnAppInstanceReady@100(AppInstance instance_ptr); | 37 OnAppInstanceReady@100(AppInstance instance_ptr); |
37 | 38 |
38 // Notifies Chrome that the AudioInstance interface is ready. | 39 // Notifies Chrome that the AudioInstance interface is ready. |
39 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); | 40 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
73 | 74 |
74 // Notifies Chrome that the ObbMounter interface is ready. | 75 // Notifies Chrome that the ObbMounter interface is ready. |
75 [MinVersion=14] OnObbMounterInstanceReady@120(ObbMounterInstance instance_ptr) ; | 76 [MinVersion=14] OnObbMounterInstanceReady@120(ObbMounterInstance instance_ptr) ; |
76 | 77 |
77 // Notifies Chrome that the PolicyInstance interface is ready. | 78 // Notifies Chrome that the PolicyInstance interface is ready. |
78 [MinVersion=7] OnPolicyInstanceReady@114(PolicyInstance instance_ptr); | 79 [MinVersion=7] OnPolicyInstanceReady@114(PolicyInstance instance_ptr); |
79 | 80 |
80 // Notifies Chrome that the PowerInstance interface is ready. | 81 // Notifies Chrome that the PowerInstance interface is ready. |
81 OnPowerInstanceReady@103(PowerInstance instance_ptr); | 82 OnPowerInstanceReady@103(PowerInstance instance_ptr); |
82 | 83 |
84 // Notifies Chrome that the PrintInstance interface is ready. | |
85 OnPrintInstanceReady@121(PrintInstance instance_ptr); | |
Luis Héctor Chávez
2016/07/06 17:09:42
[MinVersion=15]
Sergey Poromov
2016/07/11 14:42:07
Done.
| |
86 | |
83 // Notifies Chrome that the ProcessInstance interface is ready. | 87 // Notifies Chrome that the ProcessInstance interface is ready. |
84 OnProcessInstanceReady@104(ProcessInstance instance_ptr); | 88 OnProcessInstanceReady@104(ProcessInstance instance_ptr); |
85 | 89 |
86 // Notifies Chrome that the StorageManagerInstance interface is ready. | 90 // Notifies Chrome that the StorageManagerInstance interface is ready. |
87 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta nce_ptr); | 91 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta nce_ptr); |
88 | 92 |
89 // Notifies Chrome that the VideoInstance interface is ready. | 93 // Notifies Chrome that the VideoInstance interface is ready. |
90 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); | 94 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); |
91 | 95 |
92 // Notifies Android of entering / exiting TouchView. | 96 // Notifies Android of entering / exiting TouchView. |
93 [MinVersion=11] OnWindowManagerInstanceReady@117(WindowManagerInstance instanc e_ptr); | 97 [MinVersion=11] OnWindowManagerInstanceReady@117(WindowManagerInstance instanc e_ptr); |
94 }; | 98 }; |
95 | 99 |
96 interface ArcBridgeInstance { | 100 interface ArcBridgeInstance { |
97 // Establishes full-duplex communication with the host. | 101 // Establishes full-duplex communication with the host. |
98 // |host_ptr| is the MessagePipe endpoint that is bound to the | 102 // |host_ptr| is the MessagePipe endpoint that is bound to the |
99 // ArcBridgeHostPtr binding. | 103 // ArcBridgeHostPtr binding. |
100 Init@0(ArcBridgeHost host_ptr); | 104 Init@0(ArcBridgeHost host_ptr); |
101 }; | 105 }; |
OLD | NEW |