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

Unified Diff: remoting/client/chromoting_client.cc

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/chromoting_client.cc
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc
index 4dabdd2cf30fd663e12e7901b9a1c04a7d1365f3..2d41ca70a3de5f3ff21fc4d809427d9872d86e4d 100644
--- a/remoting/client/chromoting_client.cc
+++ b/remoting/client/chromoting_client.cc
@@ -112,6 +112,11 @@ void ChromotingClient::InjectClipboardEvent(
view_->GetClipboardStub()->InjectClipboardEvent(event);
}
+void ChromotingClient::SetCursorShape(
+ const protocol::CursorShapeInfo& cursor_shape) {
+ view_->GetCursorShapeStub()->SetCursorShape(cursor_shape);
+}
+
void ChromotingClient::ProcessVideoPacket(scoped_ptr<VideoPacket> packet,
const base::Closure& done) {
DCHECK(message_loop()->BelongsToCurrentThread());

Powered by Google App Engine
This is Rietveld 408576698