Chromium Code Reviews| 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; |
| +} |