| 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 "auth.mojom"; | 8 import "auth.mojom"; |
| 9 import "clipboard.mojom"; | 9 import "clipboard.mojom"; |
| 10 import "ime.mojom"; | 10 import "ime.mojom"; |
| 11 import "input.mojom"; | 11 import "input.mojom"; |
| 12 import "intent_helper.mojom"; | 12 import "intent_helper.mojom"; |
| 13 import "notifications.mojom"; | 13 import "notifications.mojom"; |
| 14 import "power.mojom"; | 14 import "power.mojom"; |
| 15 import "process.mojom"; | 15 import "process.mojom"; |
| 16 import "settings.mojom"; | |
| 17 import "video.mojom"; | 16 import "video.mojom"; |
| 18 | 17 |
| 19 interface ArcBridgeHost { | 18 interface ArcBridgeHost { |
| 20 // Keep the entries alphabetical. In order to do so without breaking | 19 // Keep the entries alphabetical. In order to do so without breaking |
| 21 // compatibility with the ARC instance, explicitly assign each interface a | 20 // compatibility with the ARC instance, explicitly assign each interface a |
| 22 // unique ordinal. | 21 // unique ordinal. |
| 23 | 22 |
| 24 // Notifies Chrome that the AppInstance interface is ready. | 23 // Notifies Chrome that the AppInstance interface is ready. |
| 25 OnAppInstanceReady@100(AppInstance instance_ptr); | 24 OnAppInstanceReady@100(AppInstance instance_ptr); |
| 26 | 25 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 42 | 41 |
| 43 // Notifies Chrome that the NotificationsInstance interface is ready. | 42 // Notifies Chrome that the NotificationsInstance interface is ready. |
| 44 OnNotificationsInstanceReady@102(NotificationsInstance instance_ptr); | 43 OnNotificationsInstanceReady@102(NotificationsInstance instance_ptr); |
| 45 | 44 |
| 46 // Notifies Chrome that the PowerInstance interface is ready. | 45 // Notifies Chrome that the PowerInstance interface is ready. |
| 47 OnPowerInstanceReady@103(PowerInstance instance_ptr); | 46 OnPowerInstanceReady@103(PowerInstance instance_ptr); |
| 48 | 47 |
| 49 // Notifies Chrome that the ProcessInstance interface is ready. | 48 // Notifies Chrome that the ProcessInstance interface is ready. |
| 50 OnProcessInstanceReady@104(ProcessInstance instance_ptr); | 49 OnProcessInstanceReady@104(ProcessInstance instance_ptr); |
| 51 | 50 |
| 52 // Notifies Chrome that the SettingsInstance interface is ready. | |
| 53 OnSettingsInstanceReady@105(SettingsInstance instance_ptr); | |
| 54 | |
| 55 // Notifies Chrome that the VideoInstance interface is ready. | 51 // Notifies Chrome that the VideoInstance interface is ready. |
| 56 [MinVersion=2] OnVideoInstanceReady@107(VideoInstance instance_ptr); | 52 [MinVersion=2] OnVideoInstanceReady@107(VideoInstance instance_ptr); |
| 57 }; | 53 }; |
| 58 | 54 |
| 59 interface ArcBridgeInstance { | 55 interface ArcBridgeInstance { |
| 60 // Establishes full-duplex communication with the host. | 56 // Establishes full-duplex communication with the host. |
| 61 // |host_ptr| is the MessagePipe endpoint that is bound to the | 57 // |host_ptr| is the MessagePipe endpoint that is bound to the |
| 62 // ArcBridgeHostPtr binding. | 58 // ArcBridgeHostPtr binding. |
| 63 Init@0(ArcBridgeHost host_ptr); | 59 Init@0(ArcBridgeHost host_ptr); |
| 64 }; | 60 }; |
| OLD | NEW |