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 "file_system.mojom"; | 14 import "file_system.mojom"; |
14 import "ime.mojom"; | 15 import "ime.mojom"; |
15 import "intent_helper.mojom"; | 16 import "intent_helper.mojom"; |
16 import "metrics.mojom"; | 17 import "metrics.mojom"; |
17 import "net.mojom"; | 18 import "net.mojom"; |
18 import "notifications.mojom"; | 19 import "notifications.mojom"; |
19 import "obb_mounter.mojom"; | 20 import "obb_mounter.mojom"; |
20 import "policy.mojom"; | 21 import "policy.mojom"; |
21 import "power.mojom"; | 22 import "power.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 | 26 |
26 // Next MinVersion: 15 | 27 // Next MinVersion: 16 |
27 // Deprecated method IDs: 101, 105, 117 | 28 // Deprecated method IDs: 101, 105 |
28 // Next method ID: 121 | 29 // Next method ID: 123 |
29 interface ArcBridgeHost { | 30 interface ArcBridgeHost { |
30 // Keep the entries alphabetical. In order to do so without breaking | 31 // Keep the entries alphabetical. In order to do so without breaking |
31 // compatibility with the ARC instance, explicitly assign each interface a | 32 // compatibility with the ARC instance, explicitly assign each interface a |
32 // unique ordinal. | 33 // unique ordinal. |
33 | 34 |
34 // Notifies Chrome that the AppInstance interface is ready. | 35 // Notifies Chrome that the AppInstance interface is ready. |
35 OnAppInstanceReady@100(AppInstance instance_ptr); | 36 OnAppInstanceReady@100(AppInstance instance_ptr); |
36 | 37 |
37 // Notifies Chrome that the AudioInstance interface is ready. | 38 // Notifies Chrome that the AudioInstance interface is ready. |
38 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); | 39 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); |
39 | 40 |
40 // Notifies Chrome that the AuthInstance interface is ready. | 41 // Notifies Chrome that the AuthInstance interface is ready. |
41 [MinVersion=1] OnAuthInstanceReady@106(AuthInstance instance_ptr); | 42 [MinVersion=1] OnAuthInstanceReady@106(AuthInstance instance_ptr); |
42 | 43 |
43 // Notifies Chrome that the BluetoothInstance interface is ready. | 44 // Notifies Chrome that the BluetoothInstance interface is ready. |
44 [MinVersion=9] OnBluetoothInstanceReady@113(BluetoothInstance instance_ptr); | 45 [MinVersion=9] OnBluetoothInstanceReady@113(BluetoothInstance instance_ptr); |
45 | 46 |
46 // Notifies Chrome that the ClipboardInstance interface is ready. | 47 // Notifies Chrome that the ClipboardInstance interface is ready. |
47 [MinVersion=2] OnClipboardInstanceReady@109(ClipboardInstance instance_ptr); | 48 [MinVersion=2] OnClipboardInstanceReady@109(ClipboardInstance instance_ptr); |
48 | 49 |
49 // Notifies Chrome that the CrashCollectorInstance interface is ready. | 50 // Notifies Chrome that the CrashCollectorInstance interface is ready. |
50 [MinVersion=7] OnCrashCollectorInstanceReady@112( | 51 [MinVersion=7] OnCrashCollectorInstanceReady@112( |
51 CrashCollectorInstance instance_ptr); | 52 CrashCollectorInstance instance_ptr); |
52 | 53 |
| 54 // Notifies Chrome that the EnterpriseReportingInstance interface is ready. |
| 55 [MinVersion=15] OnEnterpriseReportingInstanceReady@122( |
| 56 EnterpriseReportingInstance instance_ptr); |
| 57 |
53 // Notifies Chrome that the FileSystemInstance interface is ready. | 58 // Notifies Chrome that the FileSystemInstance interface is ready. |
54 [MinVersion=13] OnFileSystemInstanceReady@119( | 59 [MinVersion=13] OnFileSystemInstanceReady@119( |
55 FileSystemInstance instance_ptr); | 60 FileSystemInstance instance_ptr); |
56 | 61 |
57 // Notifies Chrome that the ImeInstance interface is ready. | 62 // Notifies Chrome that the ImeInstance interface is ready. |
58 [MinVersion=3] OnImeInstanceReady@110(ImeInstance instance_ptr); | 63 [MinVersion=3] OnImeInstanceReady@110(ImeInstance instance_ptr); |
59 | 64 |
60 // Notifies Chrome that the IntentHelperInstance interface is ready. | 65 // Notifies Chrome that the IntentHelperInstance interface is ready. |
61 [MinVersion=4] OnIntentHelperInstanceReady@111( | 66 [MinVersion=4] OnIntentHelperInstanceReady@111( |
62 IntentHelperInstance instance_ptr); | 67 IntentHelperInstance instance_ptr); |
(...skipping 25 matching lines...) Expand all Loading... |
88 // Notifies Chrome that the VideoInstance interface is ready. | 93 // Notifies Chrome that the VideoInstance interface is ready. |
89 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); | 94 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); |
90 }; | 95 }; |
91 | 96 |
92 interface ArcBridgeInstance { | 97 interface ArcBridgeInstance { |
93 // Establishes full-duplex communication with the host. | 98 // Establishes full-duplex communication with the host. |
94 // |host_ptr| is the MessagePipe endpoint that is bound to the | 99 // |host_ptr| is the MessagePipe endpoint that is bound to the |
95 // ArcBridgeHostPtr binding. | 100 // ArcBridgeHostPtr binding. |
96 Init@0(ArcBridgeHost host_ptr); | 101 Init@0(ArcBridgeHost host_ptr); |
97 }; | 102 }; |
OLD | NEW |