Chromium Code Reviews| Index: remoting/protocol/host_stub.h |
| diff --git a/remoting/protocol/host_stub.h b/remoting/protocol/host_stub.h |
| index a52429a6fad21506f0a723bbcc05e619bbbabd7e..95ef73fe9c8ffb18eda8706cb9d059b96577a5ff 100644 |
| --- a/remoting/protocol/host_stub.h |
| +++ b/remoting/protocol/host_stub.h |
| @@ -14,13 +14,16 @@ |
| namespace remoting { |
| namespace protocol { |
| +class ClientDimensions; |
| + |
| class HostStub { |
| public: |
| HostStub() {} |
| virtual ~HostStub() {} |
| - // Currently we don't use the control channel for anything. Add new |
| - // message handlers here when necessary. |
| + // Notification of the available client display dimensions. |
| + // This may be used to resize the host display to match the client area. |
| + virtual void SetClientDimensions(const ClientDimensions& dimensions) = 0; |
|
Sergey Ulanov
2012/04/26 01:36:36
Since host is not required to respond to this mess
Wez
2012/04/26 17:32:11
SetClientDimensions was shorter ;) but you're righ
Wez
2012/04/26 17:32:11
Done.
|
| private: |
| DISALLOW_COPY_AND_ASSIGN(HostStub); |