diff options
author | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-02 22:16:41 +0000 |
---|---|---|
committer | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-02 22:16:41 +0000 |
commit | d65e15bdcd7ffe01ec2054177a7e78fa69683a38 (patch) | |
tree | fb05d40a5b8bf2dfd943999b19fcb304e088d08e /remoting/client/plugin/chromoting_instance.h | |
parent | 051e71e1b702970eb39302abbe29836239036a3d (diff) | |
download | chromium_src-d65e15bdcd7ffe01ec2054177a7e78fa69683a38.zip chromium_src-d65e15bdcd7ffe01ec2054177a7e78fa69683a38.tar.gz chromium_src-d65e15bdcd7ffe01ec2054177a7e78fa69683a38.tar.bz2 |
[Chromoting] Initial plumbing for cursor shape.
This cl contains:
* protocol for sending cursor shape on control channel from host to client
* cross-platform (Pepper) client code for rendering host cursor
* Linux host support for reading current cursor shape
Separate CLs will follow with Mac and Windows host support.
BUG=116229
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10382184
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140205 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/plugin/chromoting_instance.h')
-rw-r--r-- | remoting/client/plugin/chromoting_instance.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/remoting/client/plugin/chromoting_instance.h b/remoting/client/plugin/chromoting_instance.h index 1bbaf7d..dc8f549 100644 --- a/remoting/client/plugin/chromoting_instance.h +++ b/remoting/client/plugin/chromoting_instance.h @@ -32,6 +32,7 @@ #include "remoting/client/plugin/pepper_plugin_thread_delegate.h" #include "remoting/proto/event.pb.h" #include "remoting/protocol/clipboard_stub.h" +#include "remoting/protocol/cursor_shape_stub.h" #include "remoting/protocol/connection_to_host.h" namespace base { @@ -64,6 +65,7 @@ struct ClientConfig; class ChromotingInstance : public protocol::ClipboardStub, + public protocol::CursorShapeStub, public pp::Instance, public base::SupportsWeakPtr<ChromotingInstance> { public: @@ -125,6 +127,10 @@ class ChromotingInstance : virtual void InjectClipboardEvent(const protocol::ClipboardEvent& event) OVERRIDE; + // CursorShapeStub implementation. + virtual void SetCursorShape(const protocol::CursorShapeInfo& cursor_shape) + OVERRIDE; + // Called by PepperView. void SetDesktopSize(int width, int height); void SetConnectionState(ConnectionState state, ConnectionError error); |