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

Unified Diff: remoting/protocol/connection_to_host.cc

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/protocol/connection_to_host.cc
diff --git a/remoting/protocol/connection_to_host.cc b/remoting/protocol/connection_to_host.cc
index 25a8949623412647490334873eb04ff5fb7e0774..68058548f5f3e9342b2803b7be4b90cf57847ea8 100644
--- a/remoting/protocol/connection_to_host.cc
+++ b/remoting/protocol/connection_to_host.cc
@@ -65,10 +65,12 @@ void ConnectionToHost::Connect(scoped_refptr<XmppProxy> xmpp_proxy,
HostEventCallback* event_callback,
ClientStub* client_stub,
ClipboardStub* clipboard_stub,
+ CursorShapeStub* cursor_shape_stub,
VideoStub* video_stub) {
event_callback_ = event_callback;
client_stub_ = client_stub;
clipboard_stub_ = clipboard_stub;
+ cursor_shape_stub_ = cursor_shape_stub;
video_stub_ = video_stub;
authenticator_ = authenticator.Pass();
@@ -176,6 +178,7 @@ void ConnectionToHost::OnSessionStateChange(
&ConnectionToHost::OnChannelInitialized, base::Unretained(this)));
control_dispatcher_->set_client_stub(client_stub_);
control_dispatcher_->set_clipboard_stub(clipboard_stub_);
+ control_dispatcher_->set_cursor_shape_stub(cursor_shape_stub_);
event_dispatcher_.reset(new ClientEventDispatcher());
event_dispatcher_->Init(session_.get(), base::Bind(

Powered by Google App Engine
This is Rietveld 408576698