| 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; | 5 module arc; |
| 6 | 6 |
| 7 import "app.mojom"; | 7 import "app.mojom"; |
| 8 import "audio.mojom"; |
| 8 import "auth.mojom"; | 9 import "auth.mojom"; |
| 9 import "clipboard.mojom"; | 10 import "clipboard.mojom"; |
| 10 import "crash_collector.mojom"; | 11 import "crash_collector.mojom"; |
| 11 import "ime.mojom"; | 12 import "ime.mojom"; |
| 12 import "input.mojom"; | 13 import "input.mojom"; |
| 13 import "intent_helper.mojom"; | 14 import "intent_helper.mojom"; |
| 14 import "net.mojom"; | 15 import "net.mojom"; |
| 15 import "notifications.mojom"; | 16 import "notifications.mojom"; |
| 16 import "policy.mojom"; | 17 import "policy.mojom"; |
| 17 import "power.mojom"; | 18 import "power.mojom"; |
| 18 import "process.mojom"; | 19 import "process.mojom"; |
| 19 import "video.mojom"; | 20 import "video.mojom"; |
| 20 | 21 |
| 21 interface ArcBridgeHost { | 22 interface ArcBridgeHost { |
| 22 // Keep the entries alphabetical. In order to do so without breaking | 23 // Keep the entries alphabetical. In order to do so without breaking |
| 23 // compatibility with the ARC instance, explicitly assign each interface a | 24 // compatibility with the ARC instance, explicitly assign each interface a |
| 24 // unique ordinal. | 25 // unique ordinal. |
| 25 | 26 |
| 26 // Notifies Chrome that the AppInstance interface is ready. | 27 // Notifies Chrome that the AppInstance interface is ready. |
| 27 OnAppInstanceReady@100(AppInstance instance_ptr); | 28 OnAppInstanceReady@100(AppInstance instance_ptr); |
| 28 | 29 |
| 30 // Notifies Chrome that the AudioInstance interface is ready. |
| 31 [MinVersion=8] OnAudioInstanceReady@115(AudioInstance instance_ptr); |
| 32 |
| 29 // Notifies Chrome that the AuthInstance interface is ready. | 33 // Notifies Chrome that the AuthInstance interface is ready. |
| 30 [MinVersion=1] OnAuthInstanceReady@106(AuthInstance instance_ptr); | 34 [MinVersion=1] OnAuthInstanceReady@106(AuthInstance instance_ptr); |
| 31 | 35 |
| 32 // Notifies Chrome that the ClipboardInstance interface is ready. | 36 // Notifies Chrome that the ClipboardInstance interface is ready. |
| 33 [MinVersion=2] OnClipboardInstanceReady@109(ClipboardInstance instance_ptr); | 37 [MinVersion=2] OnClipboardInstanceReady@109(ClipboardInstance instance_ptr); |
| 34 | 38 |
| 35 // Notifies Chrome that the CrashCollectorInstance interface is ready. | 39 // Notifies Chrome that the CrashCollectorInstance interface is ready. |
| 36 [MinVersion=7] OnCrashCollectorInstanceReady@112( | 40 [MinVersion=7] OnCrashCollectorInstanceReady@112( |
| 37 CrashCollectorInstance instance_ptr); | 41 CrashCollectorInstance instance_ptr); |
| 38 | 42 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 64 // Notifies Chrome that the VideoInstance interface is ready. | 68 // Notifies Chrome that the VideoInstance interface is ready. |
| 65 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); | 69 [MinVersion=6] OnVideoInstanceReady@107(VideoInstance instance_ptr); |
| 66 }; | 70 }; |
| 67 | 71 |
| 68 interface ArcBridgeInstance { | 72 interface ArcBridgeInstance { |
| 69 // Establishes full-duplex communication with the host. | 73 // Establishes full-duplex communication with the host. |
| 70 // |host_ptr| is the MessagePipe endpoint that is bound to the | 74 // |host_ptr| is the MessagePipe endpoint that is bound to the |
| 71 // ArcBridgeHostPtr binding. | 75 // ArcBridgeHostPtr binding. |
| 72 Init@0(ArcBridgeHost host_ptr); | 76 Init@0(ArcBridgeHost host_ptr); |
| 73 }; | 77 }; |
| OLD | NEW |