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