| 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 "focus_highlight.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 |
| 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 16 matching lines...) Expand all Loading... |
| 61 CrashCollectorInstance instance_ptr); | 62 CrashCollectorInstance instance_ptr); |
| 62 | 63 |
| 63 // Notifies Chrome that the EnterpriseReportingInstance interface is ready. | 64 // Notifies Chrome that the EnterpriseReportingInstance interface is ready. |
| 64 [MinVersion=15] OnEnterpriseReportingInstanceReady@122( | 65 [MinVersion=15] OnEnterpriseReportingInstanceReady@122( |
| 65 EnterpriseReportingInstance instance_ptr); | 66 EnterpriseReportingInstance instance_ptr); |
| 66 | 67 |
| 67 // Notifies Chrome that the FileSystemInstance interface is ready. | 68 // Notifies Chrome that the FileSystemInstance interface is ready. |
| 68 [MinVersion=13] OnFileSystemInstanceReady@119( | 69 [MinVersion=13] OnFileSystemInstanceReady@119( |
| 69 FileSystemInstance instance_ptr); | 70 FileSystemInstance instance_ptr); |
| 70 | 71 |
| 72 // Notifies Chrome that the FocusHighlightInstance interface is ready. |
| 73 [MinVersion=21] OnFocusHighlightInstanceReady@127( |
| 74 FocusHighlightInstance instance_ptr); |
| 75 |
| 71 // Notifies Chrome that the ImeInstance interface is ready. | 76 // Notifies Chrome that the ImeInstance interface is ready. |
| 72 [MinVersion=3] OnImeInstanceReady@110(ImeInstance instance_ptr); | 77 [MinVersion=3] OnImeInstanceReady@110(ImeInstance instance_ptr); |
| 73 | 78 |
| 74 // Notifies Chrome that the IntentHelperInstance interface is ready. | 79 // Notifies Chrome that the IntentHelperInstance interface is ready. |
| 75 [MinVersion=4] OnIntentHelperInstanceReady@111( | 80 [MinVersion=4] OnIntentHelperInstanceReady@111( |
| 76 IntentHelperInstance instance_ptr); | 81 IntentHelperInstance instance_ptr); |
| 77 | 82 |
| 78 // Notifies Chrome that the KioskInstance interface is ready. | 83 // Notifies Chrome that the KioskInstance interface is ready. |
| 79 [MinVersion=20] OnKioskInstanceReady@126(KioskInstance instance_ptr); | 84 [MinVersion=20] OnKioskInstanceReady@126(KioskInstance instance_ptr); |
| 80 | 85 |
| (...skipping 33 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 |