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

Side by Side Diff: remoting/proto/internal.proto

Issue 12220092: Rename ClientDimensions to ClientResolution and add pixel-size and DPI fields. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typos in ChromotingInstance. Created 7 years, 10 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 // Internal message types that should not be seen outside the protocol 5 // Internal message types that should not be seen outside the protocol
6 // directory. 6 // directory.
7 7
8 syntax = "proto2"; 8 syntax = "proto2";
9 9
10 import "control.proto"; 10 import "control.proto";
11 import "event.proto"; 11 import "event.proto";
12 12
13 option optimize_for = LITE_RUNTIME; 13 option optimize_for = LITE_RUNTIME;
14 14
15 package remoting.protocol; 15 package remoting.protocol;
16 16
17 // Represents a message being sent on the control channel. 17 // Represents a message being sent on the control channel.
18 message ControlMessage { 18 message ControlMessage {
19 optional ClipboardEvent clipboard_event = 1; 19 optional ClipboardEvent clipboard_event = 1;
20 optional ClientDimensions client_dimensions = 2; 20 optional ClientResolution client_resolution = 2;
Jamie 2013/02/11 23:25:58 I assume that the size difference between ClientDi
Wez 2013/02/12 01:55:28 These are protobufs, so you can add (and remove[*]
21 optional CursorShapeInfo cursor_shape = 4; 21 optional CursorShapeInfo cursor_shape = 4;
22 optional VideoControl video_control = 3; 22 optional VideoControl video_control = 3;
23 optional AudioControl audio_control = 5; 23 optional AudioControl audio_control = 5;
24 } 24 }
25 25
26 // Defines an event message on the event channel. 26 // Defines an event message on the event channel.
27 message EventMessage { 27 message EventMessage {
28 optional int64 sequence_number = 1; // Client timestamp for event. 28 optional int64 sequence_number = 1; // Client timestamp for event.
29 29
30 optional KeyEvent key_event = 3; 30 optional KeyEvent key_event = 3;
31 optional MouseEvent mouse_event = 4; 31 optional MouseEvent mouse_event = 4;
32 } 32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698