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

Side by Side Diff: components/arc/common/clipboard.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/common/arc_bridge.mojom ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module arc;
6
7 interface ClipboardHost {
8 // Tells the host to change its content, usually when the user initiates
9 // a 'copy' action.
10 SetTextContent(string text);
11
12 // Tells the host to return its content, usually when the user initiates
13 // a 'paste' action or when the instance needs to re-sync its clipboard
14 // content with the host.
15 GetTextContent();
16 };
17
18 interface ClipboardInstance {
19 // Establishes full-duplex communication with the host.
20 Init(ClipboardHost host_ptr);
21
22 // Pass the result of ClipboardHost.GetTextContent().
23 OnGetTextContent(string returnedText);
24 };
OLDNEW
« no previous file with comments | « components/arc/common/arc_bridge.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698