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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/arc/common/arc_bridge.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/clipboard.mojom
diff --git a/components/arc/common/clipboard.mojom b/components/arc/common/clipboard.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..a663eead2c1470afba3967649ee7c6581aadef08
--- /dev/null
+++ b/components/arc/common/clipboard.mojom
@@ -0,0 +1,24 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module arc;
+
+interface ClipboardHost {
+ // Tells the host to change its content, usually when the user initiates
+ // a 'copy' action.
+ SetTextContent(string text);
+
+ // Tells the host to return its content, usually when the user initiates
+ // a 'paste' action or when the instance needs to re-sync its clipboard
+ // content with the host.
+ GetTextContent();
+};
+
+interface ClipboardInstance {
+ // Establishes full-duplex communication with the host.
+ Init(ClipboardHost host_ptr);
+
+ // Pass the result of ClipboardHost.GetTextContent().
+ OnGetTextContent(string returnedText);
+};
« 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