| Index: remoting/protocol/host_control_dispatcher.h
|
| diff --git a/remoting/protocol/host_control_dispatcher.h b/remoting/protocol/host_control_dispatcher.h
|
| index 0e36ce415a184d239c77d5fad312dbe8ea10da45..e068402f9ea0ec4da00a85e670db6cdf05413416 100644
|
| --- a/remoting/protocol/host_control_dispatcher.h
|
| +++ b/remoting/protocol/host_control_dispatcher.h
|
| @@ -9,6 +9,7 @@
|
| #include "remoting/protocol/channel_dispatcher_base.h"
|
| #include "remoting/protocol/client_stub.h"
|
| #include "remoting/protocol/clipboard_stub.h"
|
| +#include "remoting/protocol/cursor_shape_stub.h"
|
| #include "remoting/protocol/message_reader.h"
|
|
|
| namespace net {
|
| @@ -26,15 +27,20 @@ class Session;
|
| // HostControlDispatcher dispatches incoming messages on the control
|
| // channel to HostStub or ClipboardStub, and also implements ClientStub and
|
| // ClipboardStub for outgoing messages.
|
| -class HostControlDispatcher : public ChannelDispatcherBase, public ClientStub,
|
| - public ClipboardStub {
|
| +class HostControlDispatcher : public ChannelDispatcherBase,
|
| + public ClientStub,
|
| + public ClipboardStub,
|
| + public CursorShapeStub {
|
| public:
|
| HostControlDispatcher();
|
| virtual ~HostControlDispatcher();
|
|
|
| - // ClipboardStub implementation.
|
| + // ClipboardStub implementation for sending clipboard data to client.
|
| virtual void InjectClipboardEvent(const ClipboardEvent& event) OVERRIDE;
|
|
|
| + // CursorShapeStub implementation for sending cursor shape to client.
|
| + virtual void SetCursorShape(const CursorShapeInfo& cursor_shape) OVERRIDE;
|
| +
|
| // Sets the ClipboardStub that will be called for each incoming clipboard
|
| // message. |clipboard_stub| must outlive this object.
|
| void set_clipboard_stub(ClipboardStub* clipboard_stub) {
|
|
|