From da4daa7ff7b7393e7fa4491d1435653d8aa106a5 Mon Sep 17 00:00:00 2001
From: "alexeypa@chromium.org"
 <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Fri, 21 Jun 2013 10:16:41 +0000
Subject: Added the desktop shape fields to VideoPacket.

If the host passes the desktop shape region in a VideoPacket the client will use it to draw transparent regions. The client also informs the web-app of the desktop shape changes, so it can set the input passthrough region correctly.

Review URL: https://chromiumcodereview.appspot.com/17511004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207789 0039d316-1c4b-4281-b951-d872f2087c98
---
 remoting/proto/video.proto | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'remoting/proto/video.proto')

diff --git a/remoting/proto/video.proto b/remoting/proto/video.proto
index 01c57d4..b412857 100644
--- a/remoting/proto/video.proto
+++ b/remoting/proto/video.proto
@@ -99,4 +99,9 @@ message VideoPacket {
   // The most recent sequence number received from the client on the event
   // channel.
   optional int64 client_sequence_number = 9;
+
+  repeated Rect desktop_shape_rects = 10;
+
+  // True when |desktop_shape_rects| should be used.
+  optional bool use_desktop_shape = 11;
 }
-- 
cgit v1.1