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 "input.mojom"; | 9 import "input.mojom"; |
10 import "notifications.mojom"; | 10 import "notifications.mojom"; |
11 import "power.mojom"; | 11 import "power.mojom"; |
12 import "process.mojom"; | 12 import "process.mojom"; |
13 import "settings.mojom"; | 13 import "settings.mojom"; |
| 14 import "video.mojom"; |
14 | 15 |
15 interface ArcBridgeHost { | 16 interface ArcBridgeHost { |
16 // Keep the entries alphabetical. In order to do so without breaking | 17 // Keep the entries alphabetical. In order to do so without breaking |
17 // compatibility with the ARC instance, explicitly assign each interface a | 18 // compatibility with the ARC instance, explicitly assign each interface a |
18 // unique ordinal. | 19 // unique ordinal. |
19 | 20 |
20 // Notifies Chrome that the AppInstance interface is ready. | 21 // Notifies Chrome that the AppInstance interface is ready. |
21 OnAppInstanceReady@100(AppInstance instance_ptr); | 22 OnAppInstanceReady@100(AppInstance instance_ptr); |
22 | 23 |
23 // Notifies Chrome that the AuthInstance interface is ready. | 24 // Notifies Chrome that the AuthInstance interface is ready. |
24 [MinVersion=1] OnAuthInstanceReady@106(AuthInstance instance_ptr); | 25 [MinVersion=1] OnAuthInstanceReady@106(AuthInstance instance_ptr); |
25 | 26 |
26 // Notifies Chrome that the InputInstnace interface is ready. | 27 // Notifies Chrome that the InputInstnace interface is ready. |
27 OnInputInstanceReady@101(InputInstance instance_ptr); | 28 OnInputInstanceReady@101(InputInstance instance_ptr); |
28 | 29 |
29 // Notifies Chrome that the NotificationsInstance interface is ready. | 30 // Notifies Chrome that the NotificationsInstance interface is ready. |
30 OnNotificationsInstanceReady@102(NotificationsInstance instance_ptr); | 31 OnNotificationsInstanceReady@102(NotificationsInstance instance_ptr); |
31 | 32 |
32 // Notifies Chrome that the PowerInstance interface is ready. | 33 // Notifies Chrome that the PowerInstance interface is ready. |
33 OnPowerInstanceReady@103(PowerInstance instance_ptr); | 34 OnPowerInstanceReady@103(PowerInstance instance_ptr); |
34 | 35 |
35 // Notifies Chrome that the ProcessInstance interface is ready. | 36 // Notifies Chrome that the ProcessInstance interface is ready. |
36 OnProcessInstanceReady@104(ProcessInstance instance_ptr); | 37 OnProcessInstanceReady@104(ProcessInstance instance_ptr); |
37 | 38 |
38 // Notifies Chrome that the SettingsInstance interface is ready. | 39 // Notifies Chrome that the SettingsInstance interface is ready. |
39 OnSettingsInstanceReady@105(SettingsInstance instance_ptr); | 40 OnSettingsInstanceReady@105(SettingsInstance instance_ptr); |
| 41 |
| 42 // Notifies Chrome that the VideoInstance interface is ready. |
| 43 [MinVersion=2] OnVideoInstanceReady@107(VideoInstance instance_ptr); |
40 }; | 44 }; |
41 | 45 |
42 interface ArcBridgeInstance { | 46 interface ArcBridgeInstance { |
43 // Establishes full-duplex communication with the host. | 47 // Establishes full-duplex communication with the host. |
44 // |host_ptr| is the MessagePipe endpoint that is bound to the | 48 // |host_ptr| is the MessagePipe endpoint that is bound to the |
45 // ArcBridgeHostPtr binding. | 49 // ArcBridgeHostPtr binding. |
46 Init@0(ArcBridgeHost host_ptr); | 50 Init@0(ArcBridgeHost host_ptr); |
47 }; | 51 }; |
OLD | NEW |