Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(619)

Side by Side Diff: components/arc/common/arc_bridge.mojom

Issue 1495723004: Minimum implementation of ARC clipboard Bridge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "clipboard.mojom";
8 import "input.mojom"; 9 import "input.mojom";
9 import "notifications.mojom"; 10 import "notifications.mojom";
10 import "power.mojom"; 11 import "power.mojom";
11 import "process.mojom"; 12 import "process.mojom";
12 import "settings.mojom"; 13 import "settings.mojom";
13 14
14 interface ArcBridgeHost { 15 interface ArcBridgeHost {
15 // Keep the entries alphabetical. In order to do so without breaking 16 // Keep the entries alphabetical. In order to do so without breaking
16 // compatibility with the ARC instance, explicitly assign each interface a 17 // compatibility with the ARC instance, explicitly assign each interface a
17 // unique ordinal. 18 // unique ordinal.
18 19
19 // Notifies Chrome that the AppInstance interface is ready. 20 // Notifies Chrome that the AppInstance interface is ready.
20 OnAppInstanceReady@100(AppInstance instance_ptr); 21 OnAppInstanceReady@100(AppInstance instance_ptr);
21 22
23 // Notifies Chrome that the ClipboardInstance interface is ready.
24 [MinVersion=1] OnClipboardInstanceReady@109(ClipboardInstance instance_ptr);
25
22 // Notifies Chrome that the InputInstnace interface is ready. 26 // Notifies Chrome that the InputInstnace interface is ready.
23 OnInputInstanceReady@101(InputInstance instance_ptr); 27 OnInputInstanceReady@101(InputInstance instance_ptr);
24 28
25 // Notifies Chrome that the NotificationsInstance interface is ready. 29 // Notifies Chrome that the NotificationsInstance interface is ready.
26 OnNotificationsInstanceReady@102(NotificationsInstance instance_ptr); 30 OnNotificationsInstanceReady@102(NotificationsInstance instance_ptr);
27 31
28 // Notifies Chrome that the PowerInstance interface is ready. 32 // Notifies Chrome that the PowerInstance interface is ready.
29 OnPowerInstanceReady@103(PowerInstance instance_ptr); 33 OnPowerInstanceReady@103(PowerInstance instance_ptr);
30 34
31 // Notifies Chrome that the ProcessInstance interface is ready. 35 // Notifies Chrome that the ProcessInstance interface is ready.
32 OnProcessInstanceReady@104(ProcessInstance instance_ptr); 36 OnProcessInstanceReady@104(ProcessInstance instance_ptr);
33 37
34 // Notifies Chrome that the SettingsInstance interface is ready. 38 // Notifies Chrome that the SettingsInstance interface is ready.
35 OnSettingsInstanceReady@105(SettingsInstance instance_ptr); 39 OnSettingsInstanceReady@105(SettingsInstance instance_ptr);
36 }; 40 };
37 41
38 interface ArcBridgeInstance { 42 interface ArcBridgeInstance {
39 // Establishes full-duplex communication with the host. 43 // Establishes full-duplex communication with the host.
40 // |host_ptr| is the MessagePipe endpoint that is bound to the 44 // |host_ptr| is the MessagePipe endpoint that is bound to the
41 // ArcBridgeHostPtr binding. 45 // ArcBridgeHostPtr binding.
42 Init@0(ArcBridgeHost host_ptr); 46 Init@0(ArcBridgeHost host_ptr);
43 }; 47 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698