| 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 "policy.mojom"; | 20 import "policy.mojom"; |
| 20 import "power.mojom"; | 21 import "power.mojom"; |
| 21 import "process.mojom"; | 22 import "process.mojom"; |
| 22 import "storage_manager.mojom"; | 23 import "storage_manager.mojom"; |
| 23 import "video.mojom"; | 24 import "video.mojom"; |
| 24 import "window_manager.mojom"; | 25 import "window_manager.mojom"; |
| 25 | 26 |
| 26 // Next MinVersion: 13 | 27 // Next MinVersion: 15 |
| 27 // Deprecated method IDs: 101, 105 | 28 // Deprecated method IDs: 101, 105 |
| 28 // Next method ID: 119 | 29 // Next method ID: 121 |
| 29 interface ArcBridgeHost { | 30 interface ArcBridgeHost { |
| 30 // Keep the entries alphabetical. In order to do so without breaking | 31 // Keep the entries alphabetical. In order to do so without breaking |
| 31 // compatibility with the ARC instance, explicitly assign each interface a | 32 // compatibility with the ARC instance, explicitly assign each interface a |
| 32 // unique ordinal. | 33 // unique ordinal. |
| 33 | 34 |
| 34 // Notifies Chrome that the AppInstance interface is ready. | 35 // Notifies Chrome that the AppInstance interface is ready. |
| 35 OnAppInstanceReady@100(AppInstance instance_ptr); | 36 OnAppInstanceReady@100(AppInstance instance_ptr); |
| 36 | 37 |
| 37 // Notifies Chrome that the AudioInstance interface is ready. | 38 // Notifies Chrome that the AudioInstance interface is ready. |
| 38 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); | 39 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 63 | 64 |
| 64 // Notifies Chrome that the MetricsInstance interface is ready. | 65 // Notifies Chrome that the MetricsInstance interface is ready. |
| 65 [MinVersion=10] OnMetricsInstanceReady@116(MetricsInstance instance_ptr); | 66 [MinVersion=10] OnMetricsInstanceReady@116(MetricsInstance instance_ptr); |
| 66 | 67 |
| 67 // Notifies Chrome that the NetInstance interface is ready. | 68 // Notifies Chrome that the NetInstance interface is ready. |
| 68 [MinVersion=5] OnNetInstanceReady@108(NetInstance instance_ptr); | 69 [MinVersion=5] OnNetInstanceReady@108(NetInstance instance_ptr); |
| 69 | 70 |
| 70 // Notifies Chrome that the NotificationsInstance interface is ready. | 71 // Notifies Chrome that the NotificationsInstance interface is ready. |
| 71 OnNotificationsInstanceReady@102(NotificationsInstance instance_ptr); | 72 OnNotificationsInstanceReady@102(NotificationsInstance instance_ptr); |
| 72 | 73 |
| 74 // Notifies Chrome that the ObbMounter interface is ready. |
| 75 [MinVersion=14] OnObbMounterInstanceReady@120(ObbMounterInstance instance_ptr)
; |
| 76 |
| 73 // Notifies Chrome that the PolicyInstance interface is ready. | 77 // Notifies Chrome that the PolicyInstance interface is ready. |
| 74 [MinVersion=7] OnPolicyInstanceReady@114(PolicyInstance instance_ptr); | 78 [MinVersion=7] OnPolicyInstanceReady@114(PolicyInstance instance_ptr); |
| 75 | 79 |
| 76 // Notifies Chrome that the PowerInstance interface is ready. | 80 // Notifies Chrome that the PowerInstance interface is ready. |
| 77 OnPowerInstanceReady@103(PowerInstance instance_ptr); | 81 OnPowerInstanceReady@103(PowerInstance instance_ptr); |
| 78 | 82 |
| 79 // Notifies Chrome that the ProcessInstance interface is ready. | 83 // Notifies Chrome that the ProcessInstance interface is ready. |
| 80 OnProcessInstanceReady@104(ProcessInstance instance_ptr); | 84 OnProcessInstanceReady@104(ProcessInstance instance_ptr); |
| 81 | 85 |
| 82 // Notifies Chrome that the StorageManagerInstance interface is ready. | 86 // Notifies Chrome that the StorageManagerInstance interface is ready. |
| 83 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta
nce_ptr); | 87 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta
nce_ptr); |
| 84 | 88 |
| 85 // Notifies Chrome that the VideoInstance interface is ready. | 89 // Notifies Chrome that the VideoInstance interface is ready. |
| 86 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); | 90 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); |
| 87 | 91 |
| 88 // Notifies Android of entering / exiting TouchView. | 92 // Notifies Android of entering / exiting TouchView. |
| 89 [MinVersion=11] OnWindowManagerInstanceReady@117(WindowManagerInstance instanc
e_ptr); | 93 [MinVersion=11] OnWindowManagerInstanceReady@117(WindowManagerInstance instanc
e_ptr); |
| 90 }; | 94 }; |
| 91 | 95 |
| 92 interface ArcBridgeInstance { | 96 interface ArcBridgeInstance { |
| 93 // Establishes full-duplex communication with the host. | 97 // Establishes full-duplex communication with the host. |
| 94 // |host_ptr| is the MessagePipe endpoint that is bound to the | 98 // |host_ptr| is the MessagePipe endpoint that is bound to the |
| 95 // ArcBridgeHostPtr binding. | 99 // ArcBridgeHostPtr binding. |
| 96 Init@0(ArcBridgeHost host_ptr); | 100 Init@0(ArcBridgeHost host_ptr); |
| 97 }; | 101 }; |
| OLD | NEW |