diff options
author | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-03 01:28:55 +0000 |
---|---|---|
committer | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-03 01:28:55 +0000 |
commit | 50d71c7ff10191a29a873e6a96919a00fb96229e (patch) | |
tree | df21467311c3052f480a5a4cb4ea7c86a815d4d0 /remoting/proto | |
parent | d1c1208befec51b8dc0cbc17ab4372273d94c13b (diff) | |
download | chromium_src-50d71c7ff10191a29a873e6a96919a00fb96229e.zip chromium_src-50d71c7ff10191a29a873e6a96919a00fb96229e.tar.gz chromium_src-50d71c7ff10191a29a873e6a96919a00fb96229e.tar.bz2 |
Add a message to allow clients to control the video channel.
Currently only enabling/disabling of video updates is controllable, which will be used to allow clients to suspend updates while their tab is not visible.
This will be manually testable once the client is updated to hook visibility notifications to send pause/resume messages.
BUG=107285
Review URL: http://codereview.chromium.org/10285005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135071 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/proto')
-rw-r--r-- | remoting/proto/control.proto | 5 | ||||
-rw-r--r-- | remoting/proto/internal.proto | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/remoting/proto/control.proto b/remoting/proto/control.proto index 861005a..6c00389 100644 --- a/remoting/proto/control.proto +++ b/remoting/proto/control.proto @@ -15,3 +15,8 @@ message ClientDimensions { optional int32 width = 1; optional int32 height = 2; } + +message VideoControl { + // Enables the video channel if true, pauses if false. + optional bool enable = 1; +} diff --git a/remoting/proto/internal.proto b/remoting/proto/internal.proto index b5c77a6..06f9585 100644 --- a/remoting/proto/internal.proto +++ b/remoting/proto/internal.proto @@ -18,6 +18,7 @@ package remoting.protocol; message ControlMessage { optional ClipboardEvent clipboard_event = 1; optional ClientDimensions client_dimensions = 2; + optional VideoControl video_control = 3; } // Defines an event message on the event channel. |