Chromium Code Reviews| Index: remoting/client/chromoting_client.h |
| diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h |
| index 765b523cdd886a3be157dda8e2d5e7a77e794916..14c62e91992690fd6bd9bea37b649552611e1f1b 100644 |
| --- a/remoting/client/chromoting_client.h |
| +++ b/remoting/client/chromoting_client.h |
| @@ -17,6 +17,7 @@ |
| #include "remoting/client/chromoting_view.h" |
| #include "remoting/protocol/client_stub.h" |
| #include "remoting/protocol/clipboard_stub.h" |
| +#include "remoting/protocol/cursor_shape_stub.h" |
| #include "remoting/protocol/connection_to_host.h" |
| #include "remoting/protocol/input_stub.h" |
| #include "remoting/protocol/video_stub.h" |
| @@ -37,6 +38,7 @@ class RectangleUpdateDecoder; |
| class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback, |
| public protocol::ClientStub, |
| public protocol::ClipboardStub, |
| + public protocol::CursorShapeStub, |
|
Wez
2012/05/23 00:01:57
I don't think we actually need ChromotingClient to
garykac
2012/05/26 01:58:01
ChromotingClient currently has all the stubs for h
|
| public protocol::VideoStub { |
| public: |
| // Objects passed in are not owned by this class. |
| @@ -56,10 +58,14 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback, |
| // Return the stats recorded by this client. |
| ChromotingStats* GetStats(); |
| - // ClipboardStub implementation. |
| + // ClipboardStub implementation for receiving clipboard data from host. |
| virtual void InjectClipboardEvent(const protocol::ClipboardEvent& event) |
| OVERRIDE; |
| + // CursorShapeStub implementation for receiving cursor shape updates. |
| + virtual void SetCursorShape(const protocol::CursorShapeInfo& cursor_shape) |
| + OVERRIDE; |
| + |
| // ConnectionToHost::HostEventCallback implementation. |
| virtual void OnConnectionState( |
| protocol::ConnectionToHost::State state, |