| 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 "boot_phase_monitor.mojom"; | 11 import "boot_phase_monitor.mojom"; |
| 12 import "clipboard.mojom"; | 12 import "clipboard.mojom"; |
| 13 import "crash_collector.mojom"; | 13 import "crash_collector.mojom"; |
| 14 import "enterprise_reporting.mojom"; | 14 import "enterprise_reporting.mojom"; |
| 15 import "file_system.mojom"; | 15 import "file_system.mojom"; |
| 16 import "ime.mojom"; | 16 import "ime.mojom"; |
| 17 import "intent_helper.mojom"; | 17 import "intent_helper.mojom"; |
| 18 import "kiosk.mojom"; | 18 import "kiosk.mojom"; |
| 19 import "metrics.mojom"; | 19 import "metrics.mojom"; |
| 20 import "net.mojom"; | 20 import "net.mojom"; |
| 21 import "notifications.mojom"; | 21 import "notifications.mojom"; |
| 22 import "obb_mounter.mojom"; | 22 import "obb_mounter.mojom"; |
| 23 import "policy.mojom"; | 23 import "policy.mojom"; |
| 24 import "power.mojom"; | 24 import "power.mojom"; |
| 25 import "print.mojom"; | 25 import "print.mojom"; |
| 26 import "process.mojom"; | 26 import "process.mojom"; |
| 27 import "storage_manager.mojom"; | 27 import "storage_manager.mojom"; |
| 28 import "trace.mojom"; |
| 28 import "tts.mojom"; | 29 import "tts.mojom"; |
| 29 import "video.mojom"; | 30 import "video.mojom"; |
| 30 import "wallpaper.mojom"; | 31 import "wallpaper.mojom"; |
| 31 | 32 |
| 32 // Next MinVersion: 21 | 33 // Next MinVersion: 22 |
| 33 // Deprecated method IDs: 101, 105 | 34 // Deprecated method IDs: 101, 105 |
| 34 // Next method ID: 127 | 35 // Next method ID: 128 |
| 35 interface ArcBridgeHost { | 36 interface ArcBridgeHost { |
| 36 // Keep the entries alphabetical. In order to do so without breaking | 37 // Keep the entries alphabetical. In order to do so without breaking |
| 37 // compatibility with the ARC instance, explicitly assign each interface a | 38 // compatibility with the ARC instance, explicitly assign each interface a |
| 38 // unique ordinal. | 39 // unique ordinal. |
| 39 | 40 |
| 40 // Notifies Chrome that the AppInstance interface is ready. | 41 // Notifies Chrome that the AppInstance interface is ready. |
| 41 OnAppInstanceReady@100(AppInstance instance_ptr); | 42 OnAppInstanceReady@100(AppInstance instance_ptr); |
| 42 | 43 |
| 43 // Notifies Chrome that the AudioInstance interface is ready. | 44 // Notifies Chrome that the AudioInstance interface is ready. |
| 44 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); | 45 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 99 |
| 99 // Notifies Chrome that the PrintInstance interface is ready. | 100 // Notifies Chrome that the PrintInstance interface is ready. |
| 100 [MinVersion=16] OnPrintInstanceReady@121(PrintInstance instance_ptr); | 101 [MinVersion=16] OnPrintInstanceReady@121(PrintInstance instance_ptr); |
| 101 | 102 |
| 102 // Notifies Chrome that the ProcessInstance interface is ready. | 103 // Notifies Chrome that the ProcessInstance interface is ready. |
| 103 OnProcessInstanceReady@104(ProcessInstance instance_ptr); | 104 OnProcessInstanceReady@104(ProcessInstance instance_ptr); |
| 104 | 105 |
| 105 // Notifies Chrome that the StorageManagerInstance interface is ready. | 106 // Notifies Chrome that the StorageManagerInstance interface is ready. |
| 106 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta
nce_ptr); | 107 [MinVersion=12] OnStorageManagerInstanceReady@118(StorageManagerInstance insta
nce_ptr); |
| 107 | 108 |
| 109 // Notifies Chrome that the TraceInstance interface is ready. |
| 110 [MinVersion=21] OnTraceInstanceReady@127(TraceInstance instance_ptr); |
| 111 |
| 108 // Notifies Chrome that the TtsInstance interface is ready. | 112 // Notifies Chrome that the TtsInstance interface is ready. |
| 109 [MinVersion=17] OnTtsInstanceReady@123(TtsInstance instance_ptr); | 113 [MinVersion=17] OnTtsInstanceReady@123(TtsInstance instance_ptr); |
| 110 | 114 |
| 111 // Notifies Chrome that the VideoInstance interface is ready. | 115 // Notifies Chrome that the VideoInstance interface is ready. |
| 112 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); | 116 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); |
| 113 | 117 |
| 114 // Notifies Chrome that the WallpaperInstance interface is ready. | 118 // Notifies Chrome that the WallpaperInstance interface is ready. |
| 115 [MinVersion=18] OnWallpaperInstanceReady@124(WallpaperInstance instance_ptr); | 119 [MinVersion=18] OnWallpaperInstanceReady@124(WallpaperInstance instance_ptr); |
| 116 }; | 120 }; |
| 117 | 121 |
| 118 interface ArcBridgeInstance { | 122 interface ArcBridgeInstance { |
| 119 // Establishes full-duplex communication with the host. | 123 // Establishes full-duplex communication with the host. |
| 120 // |host_ptr| is the MessagePipe endpoint that is bound to the | 124 // |host_ptr| is the MessagePipe endpoint that is bound to the |
| 121 // ArcBridgeHostPtr binding. | 125 // ArcBridgeHostPtr binding. |
| 122 Init@0(ArcBridgeHost host_ptr); | 126 Init@0(ArcBridgeHost host_ptr); |
| 123 }; | 127 }; |
| OLD | NEW |