diff options
Diffstat (limited to 'remoting/protocol/host_control_dispatcher.cc')
-rw-r--r-- | remoting/protocol/host_control_dispatcher.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/remoting/protocol/host_control_dispatcher.cc b/remoting/protocol/host_control_dispatcher.cc index 9e6b745..ac6d80f 100644 --- a/remoting/protocol/host_control_dispatcher.cc +++ b/remoting/protocol/host_control_dispatcher.cc @@ -38,6 +38,13 @@ void HostControlDispatcher::InjectClipboardEvent(const ClipboardEvent& event) { writer_.Write(SerializeAndFrameMessage(message), base::Closure()); } +void HostControlDispatcher::SetCursorShape( + const CursorShapeInfo& cursor_shape) { + ControlMessage message; + message.mutable_cursor_shape()->CopyFrom(cursor_shape); + writer_.Write(SerializeAndFrameMessage(message), base::Closure()); +} + void HostControlDispatcher::OnMessageReceived( scoped_ptr<ControlMessage> message, const base::Closure& done_task) { DCHECK(clipboard_stub_); |