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