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

Unified Diff: components/arc/common/arc_host_messages.h

Issue 1495723004: Minimum implementation of ARC clipboard Bridge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased to catch arc++ notification cl Created 5 years 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
Index: components/arc/common/arc_host_messages.h
diff --git a/components/arc/common/arc_host_messages.h b/components/arc/common/arc_host_messages.h
index 781056ce481136915fc7ae7ca1def6cc5435366d..e8344d27a6a6569e3148788aebd83bc2d5236bb6 100644
--- a/components/arc/common/arc_host_messages.h
+++ b/components/arc/common/arc_host_messages.h
@@ -49,3 +49,13 @@ IPC_MESSAGE_CONTROL1(ArcInstanceHostMsg_NotificationPosted,
// |key| is the identifier of the notification.
IPC_MESSAGE_CONTROL1(ArcInstanceHostMsg_NotificationRemoved,
std::string /* key */);
+
+// Called whenever the Android clipboard content is changed. This is
+// typically fired when a user initiates a "Copy" action.
+IPC_MESSAGE_CONTROL1(ArcInstanceHostMsg_SetClipboardContent,
+ arc::ClipboardData)
+
+// Called whenever the Android clipboard decides to update its content.
+// This is typical triggered when a "Paste" action is fired or an app
+// or service tries to retrieve the android clipboard content.
elijahtaylor1 2015/12/04 20:36:51 nit: capitalize Android
+IPC_MESSAGE_CONTROL0(ArcInstanceHostMsg_GetClipboardContent)

Powered by Google App Engine
This is Rietveld 408576698