| 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 "ime.mojom"; | 14 import "ime.mojom"; |
| 14 import "intent_helper.mojom"; | 15 import "intent_helper.mojom"; |
| 15 import "metrics.mojom"; | 16 import "metrics.mojom"; |
| 16 import "net.mojom"; | 17 import "net.mojom"; |
| 17 import "notifications.mojom"; | 18 import "notifications.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); |
| 38 | 39 |
| 39 // Notifies Chrome that the AuthInstance interface is ready. | 40 // Notifies Chrome that the AuthInstance interface is ready. |
| 40 [MinVersion=1] OnAuthInstanceReady@106(AuthInstance instance_ptr); | 41 [MinVersion=1] OnAuthInstanceReady@106(AuthInstance instance_ptr); |
| 41 | 42 |
| 42 // Notifies Chrome that the BluetoothInstance interface is ready. | 43 // Notifies Chrome that the BluetoothInstance interface is ready. |
| 43 [MinVersion=9] OnBluetoothInstanceReady@113(BluetoothInstance instance_ptr); | 44 [MinVersion=9] OnBluetoothInstanceReady@113(BluetoothInstance instance_ptr); |
| 44 | 45 |
| 45 // Notifies Chrome that the ClipboardInstance interface is ready. | 46 // Notifies Chrome that the ClipboardInstance interface is ready. |
| 46 [MinVersion=2] OnClipboardInstanceReady@109(ClipboardInstance instance_ptr); | 47 [MinVersion=2] OnClipboardInstanceReady@109(ClipboardInstance instance_ptr); |
| 47 | 48 |
| 48 // Notifies Chrome that the CrashCollectorInstance interface is ready. | 49 // Notifies Chrome that the CrashCollectorInstance interface is ready. |
| 49 [MinVersion=7] OnCrashCollectorInstanceReady@112( | 50 [MinVersion=7] OnCrashCollectorInstanceReady@112( |
| 50 CrashCollectorInstance instance_ptr); | 51 CrashCollectorInstance instance_ptr); |
| 51 | 52 |
| 53 // Notifies Chrome that the FileSystemInstance interface is ready. |
| 54 [MinVersion=13] OnFileSystemInstanceReady@119( |
| 55 FileSystemInstance instance_ptr); |
| 56 |
| 52 // Notifies Chrome that the ImeInstance interface is ready. | 57 // Notifies Chrome that the ImeInstance interface is ready. |
| 53 [MinVersion=3] OnImeInstanceReady@110(ImeInstance instance_ptr); | 58 [MinVersion=3] OnImeInstanceReady@110(ImeInstance instance_ptr); |
| 54 | 59 |
| 55 // Notifies Chrome that the IntentHelperInstance interface is ready. | 60 // Notifies Chrome that the IntentHelperInstance interface is ready. |
| 56 [MinVersion=4] OnIntentHelperInstanceReady@111( | 61 [MinVersion=4] OnIntentHelperInstanceReady@111( |
| 57 IntentHelperInstance instance_ptr); | 62 IntentHelperInstance instance_ptr); |
| 58 | 63 |
| 59 // Notifies Chrome that the MetricsInstance interface is ready. | 64 // Notifies Chrome that the MetricsInstance interface is ready. |
| 60 [MinVersion=10] OnMetricsInstanceReady@116(MetricsInstance instance_ptr); | 65 [MinVersion=10] OnMetricsInstanceReady@116(MetricsInstance instance_ptr); |
| 61 | 66 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 72 OnPowerInstanceReady@103(PowerInstance instance_ptr); | 77 OnPowerInstanceReady@103(PowerInstance instance_ptr); |
| 73 | 78 |
| 74 // Notifies Chrome that the ProcessInstance interface is ready. | 79 // Notifies Chrome that the ProcessInstance interface is ready. |
| 75 OnProcessInstanceReady@104(ProcessInstance instance_ptr); | 80 OnProcessInstanceReady@104(ProcessInstance instance_ptr); |
| 76 | 81 |
| 77 // Notifies Chrome that the StorageManagerInstance interface is ready. | 82 // Notifies Chrome that the StorageManagerInstance interface is ready. |
| 78 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta
nce_ptr); | 83 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta
nce_ptr); |
| 79 | 84 |
| 80 // Notifies Chrome that the VideoInstance interface is ready. | 85 // Notifies Chrome that the VideoInstance interface is ready. |
| 81 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); | 86 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); |
| 82 | 87 |
| 83 // Notifies Android of entering / exiting TouchView. | 88 // Notifies Android of entering / exiting TouchView. |
| 84 [MinVersion=11] OnWindowManagerInstanceReady@117(WindowManagerInstance instanc
e_ptr); | 89 [MinVersion=11] OnWindowManagerInstanceReady@117(WindowManagerInstance instanc
e_ptr); |
| 85 }; | 90 }; |
| 86 | 91 |
| 87 interface ArcBridgeInstance { | 92 interface ArcBridgeInstance { |
| 88 // Establishes full-duplex communication with the host. | 93 // Establishes full-duplex communication with the host. |
| 89 // |host_ptr| is the MessagePipe endpoint that is bound to the | 94 // |host_ptr| is the MessagePipe endpoint that is bound to the |
| 90 // ArcBridgeHostPtr binding. | 95 // ArcBridgeHostPtr binding. |
| 91 Init@0(ArcBridgeHost host_ptr); | 96 Init@0(ArcBridgeHost host_ptr); |
| 92 }; | 97 }; |
| OLD | NEW |