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

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: Rebased and address review comments 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
« no previous file with comments | « components/arc/clipboard/arc_clipboard_bridge.cc ('k') | components/arc/common/clipboard.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "auth.mojom"; 8 import "auth.mojom";
9 import "clipboard.mojom";
9 import "input.mojom"; 10 import "input.mojom";
10 import "notifications.mojom"; 11 import "notifications.mojom";
11 import "power.mojom"; 12 import "power.mojom";
12 import "process.mojom"; 13 import "process.mojom";
13 import "settings.mojom"; 14 import "settings.mojom";
14 15
15 interface ArcBridgeHost { 16 interface ArcBridgeHost {
16 // Keep the entries alphabetical. In order to do so without breaking 17 // Keep the entries alphabetical. In order to do so without breaking
17 // compatibility with the ARC instance, explicitly assign each interface a 18 // compatibility with the ARC instance, explicitly assign each interface a
18 // unique ordinal. 19 // unique ordinal.
19 20
20 // Notifies Chrome that the AppInstance interface is ready. 21 // Notifies Chrome that the AppInstance interface is ready.
21 OnAppInstanceReady@100(AppInstance instance_ptr); 22 OnAppInstanceReady@100(AppInstance instance_ptr);
22 23
23 // Notifies Chrome that the AuthInstance interface is ready. 24 // Notifies Chrome that the AuthInstance interface is ready.
24 [MinVersion=1] OnAuthInstanceReady@106(AuthInstance instance_ptr); 25 [MinVersion=1] OnAuthInstanceReady@106(AuthInstance instance_ptr);
25 26
27 // Notifies Chrome that the ClipboardInstance interface is ready.
28 [MinVersion=2] OnClipboardInstanceReady@109(ClipboardInstance instance_ptr);
29
26 // Notifies Chrome that the InputInstnace interface is ready. 30 // Notifies Chrome that the InputInstnace interface is ready.
27 OnInputInstanceReady@101(InputInstance instance_ptr); 31 OnInputInstanceReady@101(InputInstance instance_ptr);
28 32
29 // Notifies Chrome that the NotificationsInstance interface is ready. 33 // Notifies Chrome that the NotificationsInstance interface is ready.
30 OnNotificationsInstanceReady@102(NotificationsInstance instance_ptr); 34 OnNotificationsInstanceReady@102(NotificationsInstance instance_ptr);
31 35
32 // Notifies Chrome that the PowerInstance interface is ready. 36 // Notifies Chrome that the PowerInstance interface is ready.
33 OnPowerInstanceReady@103(PowerInstance instance_ptr); 37 OnPowerInstanceReady@103(PowerInstance instance_ptr);
34 38
35 // Notifies Chrome that the ProcessInstance interface is ready. 39 // Notifies Chrome that the ProcessInstance interface is ready.
36 OnProcessInstanceReady@104(ProcessInstance instance_ptr); 40 OnProcessInstanceReady@104(ProcessInstance instance_ptr);
37 41
38 // Notifies Chrome that the SettingsInstance interface is ready. 42 // Notifies Chrome that the SettingsInstance interface is ready.
39 OnSettingsInstanceReady@105(SettingsInstance instance_ptr); 43 OnSettingsInstanceReady@105(SettingsInstance instance_ptr);
40 }; 44 };
41 45
42 interface ArcBridgeInstance { 46 interface ArcBridgeInstance {
43 // Establishes full-duplex communication with the host. 47 // Establishes full-duplex communication with the host.
44 // |host_ptr| is the MessagePipe endpoint that is bound to the 48 // |host_ptr| is the MessagePipe endpoint that is bound to the
45 // ArcBridgeHostPtr binding. 49 // ArcBridgeHostPtr binding.
46 Init@0(ArcBridgeHost host_ptr); 50 Init@0(ArcBridgeHost host_ptr);
47 }; 51 };
OLDNEW
« no previous file with comments | « components/arc/clipboard/arc_clipboard_bridge.cc ('k') | components/arc/common/clipboard.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698