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

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

Issue 2021773002: Use only DIPs size in ClientResolution. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « remoting/host/client_session.cc ('k') | remoting/protocol/host_control_dispatcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 control messages. 5 // Protocol for control 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
11 package remoting.protocol; 11 package remoting.protocol;
12 12
13 message ClientResolution { 13 message ClientResolution {
14 // Legacy width and height of the client in Density-Independent Pixels 14 // Width and height of the client in Density-Independent Pixels
15 optional int32 dips_width = 1; 15 optional int32 dips_width = 1;
16 optional int32 dips_height = 2; 16 optional int32 dips_height = 2;
17 17
18 // Width and height of the client in device pixels. 18 // Deprecated width and height of the client in device pixels.
19 optional int32 width = 3; 19 optional int32 width_deprecated = 3;
20 optional int32 height = 4; 20 optional int32 height_deprecated = 4;
21 21
22 // Horizontal and vertical DPI of the screen. If either of these is zero or 22 // Horizontal and vertical DPI of the screen. If either of these is zero or
23 // unset, the corresponding DPI should be assumed to be 96 (Windows' default) 23 // unset, the corresponding DPI should be assumed to be 96 (Windows' default)
24 optional int32 x_dpi = 5; 24 optional int32 x_dpi = 5;
25 optional int32 y_dpi = 6; 25 optional int32 y_dpi = 6;
26 } 26 }
27 27
28 message VideoControl { 28 message VideoControl {
29 // Enables the video channel if true, pauses if false. 29 // Enables the video channel if true, pauses if false.
30 optional bool enable = 1; 30 optional bool enable = 1;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 // DPI of the screen. 98 // DPI of the screen.
99 optional int32 x_dpi = 6; 99 optional int32 x_dpi = 6;
100 optional int32 y_dpi = 7; 100 optional int32 y_dpi = 7;
101 } 101 }
102 102
103 message VideoLayout { 103 message VideoLayout {
104 // Layout for each video track. 104 // Layout for each video track.
105 repeated VideoTrackLayout video_track = 1; 105 repeated VideoTrackLayout video_track = 1;
106 } 106 }
OLDNEW
« no previous file with comments | « remoting/host/client_session.cc ('k') | remoting/protocol/host_control_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698