diff options
author | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-27 00:13:43 +0000 |
---|---|---|
committer | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-27 00:13:43 +0000 |
commit | f2b9cf39716c8f7955fae1d119750703908dc540 (patch) | |
tree | e36467b815785b12608a0bf17a2eaa14bed3a844 /remoting/proto | |
parent | 66eeb5290b2dc7a1f95bcb55ee97457c20bf3d88 (diff) | |
download | chromium_src-f2b9cf39716c8f7955fae1d119750703908dc540.zip chromium_src-f2b9cf39716c8f7955fae1d119750703908dc540.tar.gz chromium_src-f2b9cf39716c8f7955fae1d119750703908dc540.tar.bz2 |
Add ClientDimensions message to control channel.
This allows the client to indicate the tab dimensions so the host can resize to match.
BUG=110212
Review URL: http://codereview.chromium.org/10223019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134180 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/proto')
-rw-r--r-- | remoting/proto/control.proto | 7 | ||||
-rw-r--r-- | remoting/proto/internal.proto | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/remoting/proto/control.proto b/remoting/proto/control.proto index 2304e34..861005a 100644 --- a/remoting/proto/control.proto +++ b/remoting/proto/control.proto @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -10,3 +10,8 @@ option optimize_for = LITE_RUNTIME; package remoting.protocol; +message ClientDimensions { + // Width and height of the client. + optional int32 width = 1; + optional int32 height = 2; +} diff --git a/remoting/proto/internal.proto b/remoting/proto/internal.proto index 56ecc8f..b5c77a6 100644 --- a/remoting/proto/internal.proto +++ b/remoting/proto/internal.proto @@ -17,6 +17,7 @@ package remoting.protocol; // Represents a message being sent on the control channel. message ControlMessage { optional ClipboardEvent clipboard_event = 1; + optional ClientDimensions client_dimensions = 2; } // Defines an event message on the event channel. |