| 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 "accessibility_helper.mojom"; |
| 7 import "app.mojom"; | 8 import "app.mojom"; |
| 8 import "audio.mojom"; | 9 import "audio.mojom"; |
| 9 import "auth.mojom"; | 10 import "auth.mojom"; |
| 10 import "bluetooth.mojom"; | 11 import "bluetooth.mojom"; |
| 11 import "boot_phase_monitor.mojom"; | 12 import "boot_phase_monitor.mojom"; |
| 12 import "clipboard.mojom"; | 13 import "clipboard.mojom"; |
| 13 import "crash_collector.mojom"; | 14 import "crash_collector.mojom"; |
| 14 import "enterprise_reporting.mojom"; | 15 import "enterprise_reporting.mojom"; |
| 15 import "file_system.mojom"; | 16 import "file_system.mojom"; |
| 16 import "ime.mojom"; | 17 import "ime.mojom"; |
| 17 import "intent_helper.mojom"; | 18 import "intent_helper.mojom"; |
| 18 import "kiosk.mojom"; | 19 import "kiosk.mojom"; |
| 19 import "metrics.mojom"; | 20 import "metrics.mojom"; |
| 20 import "net.mojom"; | 21 import "net.mojom"; |
| 21 import "notifications.mojom"; | 22 import "notifications.mojom"; |
| 22 import "obb_mounter.mojom"; | 23 import "obb_mounter.mojom"; |
| 23 import "policy.mojom"; | 24 import "policy.mojom"; |
| 24 import "power.mojom"; | 25 import "power.mojom"; |
| 25 import "print.mojom"; | 26 import "print.mojom"; |
| 26 import "process.mojom"; | 27 import "process.mojom"; |
| 27 import "storage_manager.mojom"; | 28 import "storage_manager.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 |
| 41 // Notifies Chrome that the AccessibilityHelperInstance interface is ready. |
| 42 [MinVersion=21] OnAccessibilityHelperInstanceReady@127( |
| 43 AccessibilityHelperInstance instance_ptr); |
| 44 |
| 40 // Notifies Chrome that the AppInstance interface is ready. | 45 // Notifies Chrome that the AppInstance interface is ready. |
| 41 OnAppInstanceReady@100(AppInstance instance_ptr); | 46 OnAppInstanceReady@100(AppInstance instance_ptr); |
| 42 | 47 |
| 43 // Notifies Chrome that the AudioInstance interface is ready. | 48 // Notifies Chrome that the AudioInstance interface is ready. |
| 44 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); | 49 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); |
| 45 | 50 |
| 46 // Notifies Chrome that the AuthInstance interface is ready. | 51 // Notifies Chrome that the AuthInstance interface is ready. |
| 47 [MinVersion=1] OnAuthInstanceReady@106(AuthInstance instance_ptr); | 52 [MinVersion=1] OnAuthInstanceReady@106(AuthInstance instance_ptr); |
| 48 | 53 |
| 49 // Notifies Chrome that the BluetoothInstance interface is ready. | 54 // Notifies Chrome that the BluetoothInstance interface is ready. |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 // Notifies Chrome that the WallpaperInstance interface is ready. | 119 // Notifies Chrome that the WallpaperInstance interface is ready. |
| 115 [MinVersion=18] OnWallpaperInstanceReady@124(WallpaperInstance instance_ptr); | 120 [MinVersion=18] OnWallpaperInstanceReady@124(WallpaperInstance instance_ptr); |
| 116 }; | 121 }; |
| 117 | 122 |
| 118 interface ArcBridgeInstance { | 123 interface ArcBridgeInstance { |
| 119 // Establishes full-duplex communication with the host. | 124 // Establishes full-duplex communication with the host. |
| 120 // |host_ptr| is the MessagePipe endpoint that is bound to the | 125 // |host_ptr| is the MessagePipe endpoint that is bound to the |
| 121 // ArcBridgeHostPtr binding. | 126 // ArcBridgeHostPtr binding. |
| 122 Init@0(ArcBridgeHost host_ptr); | 127 Init@0(ArcBridgeHost host_ptr); |
| 123 }; | 128 }; |
| OLD | NEW |