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

Unified Diff: remoting/proto/event.proto

Issue 9646013: Add the plumbing that will carry a clipboard item from a chromoting client to a host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
Index: remoting/proto/event.proto
diff --git a/remoting/proto/event.proto b/remoting/proto/event.proto
index dcc2aaebea7d2dfeeb67fcca54608612886f631c..f51d8ef6b695a09ea59eb329971f55d098619344 100644
--- a/remoting/proto/event.proto
+++ b/remoting/proto/event.proto
@@ -48,3 +48,17 @@ message MouseEvent {
optional MouseButton button = 5;
optional bool button_down = 6;
}
+
+// Defines an event that sends data from one peer's clipboard into the other
Wez 2012/03/09 00:34:00 nit: ... sends clipboard data between peers. ?
simonmorris 2012/03/09 00:44:47 Done.
+// peer's clipboard.
+message ClipboardEvent {
Wez 2012/03/09 00:44:07 We probably want clipboard data on its own channel
+
+ // The type of the data being sent.
+ enum DataType {
+ DATA_TYPE_TEXT_UTF8 = 0;
Wez 2012/03/09 00:34:00 If we're going to go down the route of coding spec
simonmorris 2012/03/09 00:44:47 If there are useful type-specific fields for some
Wez 2012/03/09 01:12:41 Text, images and files would likely need different
+ }
+ required DataType dataType = 1;
+
+ // The data being sent.
+ required bytes data = 2;
+}

Powered by Google App Engine
This is Rietveld 408576698