summaryrefslogtreecommitdiffstats
path: root/remoting/proto/video.proto
diff options
context:
space:
mode:
authorsimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-03 16:42:13 +0000
committersimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-03 16:42:13 +0000
commit804443aef39615edd5b731aa5bfb3c611aeae697 (patch)
treec999531d0dff5352a1f88fa25e5df50a2996ed70 /remoting/proto/video.proto
parente05eb1d621ca0a26e0b33c650d4dbf456dba6863 (diff)
downloadchromium_src-804443aef39615edd5b731aa5bfb3c611aeae697.zip
chromium_src-804443aef39615edd5b731aa5bfb3c611aeae697.tar.gz
chromium_src-804443aef39615edd5b731aa5bfb3c611aeae697.tar.bz2
Let the host change resolution.
The screen size flows through the video pipeline, instead of being set statically when that pipeline is constructed. Only the Windows host actually detects when the screen size has changed. BUG=72469 TEST=none Review URL: http://codereview.chromium.org/6573005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76747 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/proto/video.proto')
-rw-r--r--remoting/proto/video.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/remoting/proto/video.proto b/remoting/proto/video.proto
index 2dadcb8..245db10 100644
--- a/remoting/proto/video.proto
+++ b/remoting/proto/video.proto
@@ -30,6 +30,10 @@ message VideoPacketFormat {
// The encoding used for this image update.
optional Encoding encoding = 5 [default = ENCODING_INVALID];
+
+ // Width and height of the whole screen.
+ optional int32 screen_width = 6;
+ optional int32 screen_height = 7;
}
// TODO(hclam): Remove this message once we can obtain dirty rects from libvpx.