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-04 12:15:31 +0000
committersimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-04 12:15:31 +0000
commite1a6c46256722e10c73a3ce6e210cf7b7dbb065f (patch)
treebcbbf08f932c7aa8a239d791d98ee9d93b5a02b1 /remoting/proto/video.proto
parentbcb343aa6775b6b473389c3dcf4d5946b7ae0107 (diff)
downloadchromium_src-e1a6c46256722e10c73a3ce6e210cf7b7dbb065f.zip
chromium_src-e1a6c46256722e10c73a3ce6e210cf7b7dbb065f.tar.gz
chromium_src-e1a6c46256722e10c73a3ce6e210cf7b7dbb065f.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 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=76747 Review URL: http://codereview.chromium.org/6573005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76908 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.