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 "audio.mojom"; |
8 import "auth.mojom"; | 9 import "auth.mojom"; |
9 import "clipboard.mojom"; | 10 import "clipboard.mojom"; |
10 import "ime.mojom"; | 11 import "ime.mojom"; |
11 import "input.mojom"; | 12 import "input.mojom"; |
12 import "intent_helper.mojom"; | 13 import "intent_helper.mojom"; |
13 import "net.mojom"; | 14 import "net.mojom"; |
14 import "notifications.mojom"; | 15 import "notifications.mojom"; |
15 import "power.mojom"; | 16 import "power.mojom"; |
16 import "process.mojom"; | 17 import "process.mojom"; |
17 import "settings.mojom"; | 18 import "settings.mojom"; |
18 import "video.mojom"; | 19 import "video.mojom"; |
19 | 20 |
20 interface ArcBridgeHost { | 21 interface ArcBridgeHost { |
21 // Keep the entries alphabetical. In order to do so without breaking | 22 // Keep the entries alphabetical. In order to do so without breaking |
22 // compatibility with the ARC instance, explicitly assign each interface a | 23 // compatibility with the ARC instance, explicitly assign each interface a |
23 // unique ordinal. | 24 // unique ordinal. |
24 | 25 |
25 // Notifies Chrome that the AppInstance interface is ready. | 26 // Notifies Chrome that the AppInstance interface is ready. |
26 OnAppInstanceReady@100(AppInstance instance_ptr); | 27 OnAppInstanceReady@100(AppInstance instance_ptr); |
27 | 28 |
| 29 // Notifies Chrome that the AudioInstance interface is ready. |
| 30 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); |
| 31 |
28 // Notifies Chrome that the AuthInstance interface is ready. | 32 // Notifies Chrome that the AuthInstance interface is ready. |
29 [MinVersion=1] OnAuthInstanceReady@106(AuthInstance instance_ptr); | 33 [MinVersion=1] OnAuthInstanceReady@106(AuthInstance instance_ptr); |
30 | 34 |
31 // Notifies Chrome that the ClipboardInstance interface is ready. | 35 // Notifies Chrome that the ClipboardInstance interface is ready. |
32 [MinVersion=2] OnClipboardInstanceReady@109(ClipboardInstance instance_ptr); | 36 [MinVersion=2] OnClipboardInstanceReady@109(ClipboardInstance instance_ptr); |
33 | 37 |
34 // Notifies Chrome that the ImeInstance interface is ready. | 38 // Notifies Chrome that the ImeInstance interface is ready. |
35 [MinVersion=3] OnImeInstanceReady@110(ImeInstance instance_ptr); | 39 [MinVersion=3] OnImeInstanceReady@110(ImeInstance instance_ptr); |
36 | 40 |
37 // Notifies Chrome that the InputInstnace interface is ready. | 41 // Notifies Chrome that the InputInstnace interface is ready. |
(...skipping 21 matching lines...) Expand all Loading... |
59 // Notifies Chrome that the VideoInstance interface is ready. | 63 // Notifies Chrome that the VideoInstance interface is ready. |
60 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); | 64 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); |
61 }; | 65 }; |
62 | 66 |
63 interface ArcBridgeInstance { | 67 interface ArcBridgeInstance { |
64 // Establishes full-duplex communication with the host. | 68 // Establishes full-duplex communication with the host. |
65 // |host_ptr| is the MessagePipe endpoint that is bound to the | 69 // |host_ptr| is the MessagePipe endpoint that is bound to the |
66 // ArcBridgeHostPtr binding. | 70 // ArcBridgeHostPtr binding. |
67 Init@0(ArcBridgeHost host_ptr); | 71 Init@0(ArcBridgeHost host_ptr); |
68 }; | 72 }; |
OLD | NEW |