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 "process.mojom"; | 24 import "process.mojom"; |
24 import "storage_manager.mojom"; | 25 import "storage_manager.mojom"; |
25 import "video.mojom"; | 26 import "video.mojom"; |
26 | 27 |
27 // Next MinVersion: 16 | 28 // Next MinVersion: 17 |
28 // Deprecated method IDs: 101, 105 | 29 // Deprecated method IDs: 101, 105 |
29 // Next method ID: 123 | 30 // Next method ID: 123 |
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 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 78 |
78 // Notifies Chrome that the ObbMounter interface is ready. | 79 // Notifies Chrome that the ObbMounter interface is ready. |
79 [MinVersion=14] OnObbMounterInstanceReady@120(ObbMounterInstance instance_ptr)
; | 80 [MinVersion=14] OnObbMounterInstanceReady@120(ObbMounterInstance instance_ptr)
; |
80 | 81 |
81 // Notifies Chrome that the PolicyInstance interface is ready. | 82 // Notifies Chrome that the PolicyInstance interface is ready. |
82 [MinVersion=7] OnPolicyInstanceReady@114(PolicyInstance instance_ptr); | 83 [MinVersion=7] OnPolicyInstanceReady@114(PolicyInstance instance_ptr); |
83 | 84 |
84 // Notifies Chrome that the PowerInstance interface is ready. | 85 // Notifies Chrome that the PowerInstance interface is ready. |
85 OnPowerInstanceReady@103(PowerInstance instance_ptr); | 86 OnPowerInstanceReady@103(PowerInstance instance_ptr); |
86 | 87 |
| 88 // Notifies Chrome that the PrintInstance interface is ready. |
| 89 [MinVersion=16] OnPrintInstanceReady@121(PrintInstance instance_ptr); |
| 90 |
87 // Notifies Chrome that the ProcessInstance interface is ready. | 91 // Notifies Chrome that the ProcessInstance interface is ready. |
88 OnProcessInstanceReady@104(ProcessInstance instance_ptr); | 92 OnProcessInstanceReady@104(ProcessInstance instance_ptr); |
89 | 93 |
90 // Notifies Chrome that the StorageManagerInstance interface is ready. | 94 // Notifies Chrome that the StorageManagerInstance interface is ready. |
91 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta
nce_ptr); | 95 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta
nce_ptr); |
92 | 96 |
93 // Notifies Chrome that the VideoInstance interface is ready. | 97 // Notifies Chrome that the VideoInstance interface is ready. |
94 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); | 98 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); |
95 }; | 99 }; |
96 | 100 |
97 interface ArcBridgeInstance { | 101 interface ArcBridgeInstance { |
98 // Establishes full-duplex communication with the host. | 102 // Establishes full-duplex communication with the host. |
99 // |host_ptr| is the MessagePipe endpoint that is bound to the | 103 // |host_ptr| is the MessagePipe endpoint that is bound to the |
100 // ArcBridgeHostPtr binding. | 104 // ArcBridgeHostPtr binding. |
101 Init@0(ArcBridgeHost host_ptr); | 105 Init@0(ArcBridgeHost host_ptr); |
102 }; | 106 }; |
OLD | NEW |