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