summaryrefslogtreecommitdiffstats
path: root/remoting/host/client_session.h
diff options
context:
space:
mode:
authorwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-03 01:28:55 +0000
committerwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-03 01:28:55 +0000
commit50d71c7ff10191a29a873e6a96919a00fb96229e (patch)
treedf21467311c3052f480a5a4cb4ea7c86a815d4d0 /remoting/host/client_session.h
parentd1c1208befec51b8dc0cbc17ab4372273d94c13b (diff)
downloadchromium_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/host/client_session.h')
-rw-r--r--remoting/host/client_session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
index de307f1b..084d153 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -80,6 +80,8 @@ class ClientSession : public protocol::HostEventStub,
// protocol::HostStub interface.
virtual void NotifyClientDimensions(
const protocol::ClientDimensions& dimensions) OVERRIDE;
+ virtual void ControlVideo(
+ const protocol::VideoControl& video_control) OVERRIDE;
// protocol::ConnectionToClient::EventHandler interface.
virtual void OnConnectionAuthenticated(