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

Unified Diff: remoting/client/chromoting_client.h

Issue 10382184: [Chromoting] Initial plumbing for cursor shape. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove extra LOGs 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/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,

Powered by Google App Engine
This is Rietveld 408576698