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

Side by Side 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: Move clipboard events to the control channel. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Protocol for event messages. 5 // Protocol for event messages.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
(...skipping 30 matching lines...) Expand all
41 // These values encode the number of wheel 'ticks' (sometimes called 41 // These values encode the number of wheel 'ticks' (sometimes called
42 // 'clicks' although 'ticks' is the most common cross-platform term). 42 // 'clicks' although 'ticks' is the most common cross-platform term).
43 // Additional fields may be added later to support high-resolution devices. 43 // Additional fields may be added later to support high-resolution devices.
44 optional int32 wheel_offset_x = 3; 44 optional int32 wheel_offset_x = 3;
45 optional int32 wheel_offset_y = 4; 45 optional int32 wheel_offset_y = 4;
46 46
47 // Mouse button event. 47 // Mouse button event.
48 optional MouseButton button = 5; 48 optional MouseButton button = 5;
49 optional bool button_down = 6; 49 optional bool button_down = 6;
50 } 50 }
51
52 // Defines an event that sends clipboard data between peers.
53 message ClipboardEvent {
Wez 2012/03/14 20:40:56 I thought that we had agreed on TextClipboardEvent
simonmorris 2012/03/14 21:20:21 We may be able to use this message as it stands in
54
55 // The MIME type of the data being sent.
56 required string mime_type = 1;
Sergey Ulanov 2012/03/14 20:27:07 It's usually better to mark all fields in protobuf
simonmorris 2012/03/14 21:20:21 Done.
57
58 // The data being sent.
59 required bytes data = 2;
60 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698