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.mojom; | 5 module arc.mojom; |
6 | 6 |
7 import "app.mojom"; | 7 import "app.mojom"; |
8 import "audio.mojom"; | 8 import "audio.mojom"; |
9 import "auth.mojom"; | 9 import "auth.mojom"; |
10 import "bluetooth.mojom"; | 10 import "bluetooth.mojom"; |
11 import "clipboard.mojom"; | 11 import "clipboard.mojom"; |
12 import "crash_collector.mojom"; | 12 import "crash_collector.mojom"; |
13 import "file_system.mojom"; | 13 import "file_system.mojom"; |
14 import "ime.mojom"; | 14 import "ime.mojom"; |
15 import "intent_helper.mojom"; | 15 import "intent_helper.mojom"; |
16 import "metrics.mojom"; | 16 import "metrics.mojom"; |
17 import "net.mojom"; | 17 import "net.mojom"; |
18 import "notifications.mojom"; | 18 import "notifications.mojom"; |
19 import "obb_mounter.mojom"; | 19 import "obb_mounter.mojom"; |
20 import "policy.mojom"; | 20 import "policy.mojom"; |
21 import "power.mojom"; | 21 import "power.mojom"; |
22 import "process.mojom"; | 22 import "process.mojom"; |
23 import "storage_manager.mojom"; | 23 import "storage_manager.mojom"; |
24 import "video.mojom"; | 24 import "video.mojom"; |
25 import "window_manager.mojom"; | |
26 | 25 |
27 // Next MinVersion: 15 | 26 // Next MinVersion: 15 |
28 // Deprecated method IDs: 101, 105 | 27 // Deprecated method IDs: 101, 105, 117 |
29 // Next method ID: 121 | 28 // Next method ID: 121 |
30 interface ArcBridgeHost { | 29 interface ArcBridgeHost { |
31 // Keep the entries alphabetical. In order to do so without breaking | 30 // Keep the entries alphabetical. In order to do so without breaking |
32 // compatibility with the ARC instance, explicitly assign each interface a | 31 // compatibility with the ARC instance, explicitly assign each interface a |
33 // unique ordinal. | 32 // unique ordinal. |
34 | 33 |
35 // Notifies Chrome that the AppInstance interface is ready. | 34 // Notifies Chrome that the AppInstance interface is ready. |
36 OnAppInstanceReady@100(AppInstance instance_ptr); | 35 OnAppInstanceReady@100(AppInstance instance_ptr); |
37 | 36 |
38 // Notifies Chrome that the AudioInstance interface is ready. | 37 // Notifies Chrome that the AudioInstance interface is ready. |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 OnPowerInstanceReady@103(PowerInstance instance_ptr); | 80 OnPowerInstanceReady@103(PowerInstance instance_ptr); |
82 | 81 |
83 // Notifies Chrome that the ProcessInstance interface is ready. | 82 // Notifies Chrome that the ProcessInstance interface is ready. |
84 OnProcessInstanceReady@104(ProcessInstance instance_ptr); | 83 OnProcessInstanceReady@104(ProcessInstance instance_ptr); |
85 | 84 |
86 // Notifies Chrome that the StorageManagerInstance interface is ready. | 85 // Notifies Chrome that the StorageManagerInstance interface is ready. |
87 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta
nce_ptr); | 86 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta
nce_ptr); |
88 | 87 |
89 // Notifies Chrome that the VideoInstance interface is ready. | 88 // Notifies Chrome that the VideoInstance interface is ready. |
90 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); | 89 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); |
91 | |
92 // Notifies Android of entering / exiting TouchView. | |
93 [MinVersion=11] OnWindowManagerInstanceReady@117(WindowManagerInstance instanc
e_ptr); | |
94 }; | 90 }; |
95 | 91 |
96 interface ArcBridgeInstance { | 92 interface ArcBridgeInstance { |
97 // Establishes full-duplex communication with the host. | 93 // Establishes full-duplex communication with the host. |
98 // |host_ptr| is the MessagePipe endpoint that is bound to the | 94 // |host_ptr| is the MessagePipe endpoint that is bound to the |
99 // ArcBridgeHostPtr binding. | 95 // ArcBridgeHostPtr binding. |
100 Init@0(ArcBridgeHost host_ptr); | 96 Init@0(ArcBridgeHost host_ptr); |
101 }; | 97 }; |
OLD | NEW |