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