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; | 5 module arc; |
6 | 6 |
7 import "app.mojom"; | 7 import "app.mojom"; |
8 import "auth.mojom"; | 8 import "auth.mojom"; |
9 import "clipboard.mojom"; | 9 import "clipboard.mojom"; |
10 import "ime.mojom"; | 10 import "ime.mojom"; |
11 import "input.mojom"; | 11 import "input.mojom"; |
12 import "intent_helper.mojom"; | 12 import "intent_helper.mojom"; |
13 import "net.mojom"; | 13 import "net.mojom"; |
14 import "notifications.mojom"; | 14 import "notifications.mojom"; |
| 15 import "policy.mojom"; |
15 import "power.mojom"; | 16 import "power.mojom"; |
16 import "process.mojom"; | 17 import "process.mojom"; |
17 import "video.mojom"; | 18 import "video.mojom"; |
18 | 19 |
19 interface ArcBridgeHost { | 20 interface ArcBridgeHost { |
20 // Keep the entries alphabetical. In order to do so without breaking | 21 // Keep the entries alphabetical. In order to do so without breaking |
21 // compatibility with the ARC instance, explicitly assign each interface a | 22 // compatibility with the ARC instance, explicitly assign each interface a |
22 // unique ordinal. | 23 // unique ordinal. |
23 | 24 |
24 // Notifies Chrome that the AppInstance interface is ready. | 25 // Notifies Chrome that the AppInstance interface is ready. |
(...skipping 14 matching lines...) Expand all Loading... |
39 // Notifies Chrome that the IntentHelpernstnace interface is ready. | 40 // Notifies Chrome that the IntentHelpernstnace interface is ready. |
40 [MinVersion=4] OnIntentHelperInstanceReady@111( | 41 [MinVersion=4] OnIntentHelperInstanceReady@111( |
41 IntentHelperInstance instance_ptr); | 42 IntentHelperInstance instance_ptr); |
42 | 43 |
43 // Notifies Chrome that the NetInstance interface is ready. | 44 // Notifies Chrome that the NetInstance interface is ready. |
44 [MinVersion=5] OnNetInstanceReady@108(NetInstance instance_ptr); | 45 [MinVersion=5] OnNetInstanceReady@108(NetInstance instance_ptr); |
45 | 46 |
46 // Notifies Chrome that the NotificationsInstance interface is ready. | 47 // Notifies Chrome that the NotificationsInstance interface is ready. |
47 OnNotificationsInstanceReady@102(NotificationsInstance instance_ptr); | 48 OnNotificationsInstanceReady@102(NotificationsInstance instance_ptr); |
48 | 49 |
| 50 // Notifies Chrome that the PolicyInstance interface is ready. |
| 51 [MinVersion=7] OnPolicyInstanceReady@114(PolicyInstance instance_ptr); |
| 52 |
49 // Notifies Chrome that the PowerInstance interface is ready. | 53 // Notifies Chrome that the PowerInstance interface is ready. |
50 OnPowerInstanceReady@103(PowerInstance instance_ptr); | 54 OnPowerInstanceReady@103(PowerInstance instance_ptr); |
51 | 55 |
52 // Notifies Chrome that the ProcessInstance interface is ready. | 56 // Notifies Chrome that the ProcessInstance interface is ready. |
53 OnProcessInstanceReady@104(ProcessInstance instance_ptr); | 57 OnProcessInstanceReady@104(ProcessInstance instance_ptr); |
54 | 58 |
55 // Notifies Chrome that the VideoInstance interface is ready. | 59 // Notifies Chrome that the VideoInstance interface is ready. |
56 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); | 60 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); |
57 }; | 61 }; |
58 | 62 |
59 interface ArcBridgeInstance { | 63 interface ArcBridgeInstance { |
60 // Establishes full-duplex communication with the host. | 64 // Establishes full-duplex communication with the host. |
61 // |host_ptr| is the MessagePipe endpoint that is bound to the | 65 // |host_ptr| is the MessagePipe endpoint that is bound to the |
62 // ArcBridgeHostPtr binding. | 66 // ArcBridgeHostPtr binding. |
63 Init@0(ArcBridgeHost host_ptr); | 67 Init@0(ArcBridgeHost host_ptr); |
64 }; | 68 }; |
OLD | NEW |