Chromium Code Reviews| Index: remoting/proto/video.proto |
| diff --git a/remoting/proto/video.proto b/remoting/proto/video.proto |
| index 14415af4585e55ceb3f54a346d99c525de748a5d..9f8bbdb3d8ab02100ecf59abf8b9f890833def80 100644 |
| --- a/remoting/proto/video.proto |
| +++ b/remoting/proto/video.proto |
| @@ -33,6 +33,11 @@ message VideoPacketFormat { |
| // Width and height of the whole screen. |
| optional int32 screen_width = 6; |
| optional int32 screen_height = 7; |
| + |
| + // Horizontal and vertical DPI of the screen. If either of these is zero or |
|
Wez
2012/07/13 21:49:02
nit: Rather than complicate calling code, mandate
Jamie
2012/07/13 22:17:13
Does it complicate calling code? If the field is u
Wez
2012/07/14 00:55:11
I think that's defined by the protobuf spec, yes,
|
| + // unset, the corresponding DPI should be assumed to be 96. |
|
Wez
2012/07/13 21:49:02
nit: It appears that Mac OS X defaults to 72dpi; m
Jamie
2012/07/13 22:17:13
Assuming most hosts are Windows, let's stick with
|
| + optional int32 horizontal_dpi = 8; |
|
Wez
2012/07/13 21:49:02
nit: I think x_dpi and y_dpi would be sufficiently
Jamie
2012/07/13 22:17:13
Done.
|
| + optional int32 vertical_dpi = 9; |
| } |
| // TODO(hclam): Remove this message once we can obtain dirty rects from libvpx. |