Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: remoting/client/plugin/chromoting_instance.h

Issue 10382184: [Chromoting] Initial plumbing for cursor shape. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use ClientStub instead of CursorShapeStub Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/client/plugin/chromoting_instance.h
diff --git a/remoting/client/plugin/chromoting_instance.h b/remoting/client/plugin/chromoting_instance.h
index a489bde6f551c038e715a07303b4cb064f210c03..879f9fb9ffb69c1b8b92828299e6d7079a610f1c 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 {
@@ -65,6 +66,7 @@ struct ClientConfig;
class ChromotingInstance :
public protocol::ClipboardStub,
+ public protocol::CursorShapeStub,
public pp::InstancePrivate,
public base::SupportsWeakPtr<ChromotingInstance> {
public:
@@ -129,6 +131,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);

Powered by Google App Engine
This is Rietveld 408576698