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