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

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: Add comment for CaptureCursor 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
« no previous file with comments | « no previous file | remoting/host/capturer.h » ('j') | remoting/host/capturer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/chromoting_client.cc
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc
index 4dabdd2cf30fd663e12e7901b9a1c04a7d1365f3..41b13e8de95a9c0df183818cc25ec57d5720ed1b 100644
--- a/remoting/client/chromoting_client.cc
+++ b/remoting/client/chromoting_client.cc
@@ -123,6 +123,13 @@ void ChromotingClient::ProcessVideoPacket(scoped_ptr<VideoPacket> packet,
return;
}
+ // TODO(garykac) Add proper support for cursor shape packets.
Wez 2012/05/16 00:20:04 nit: Rather than a TODO here, just create a bug an
garykac 2012/05/22 00:42:03 Done.
+ if (packet->flags() & VideoPacket::CURSOR_SHAPE) {
+ // Ignore cursor shape changes for now.
+ done.Run();
+ return;
+ }
+
// Add one frame to the counter.
stats_.video_frame_rate()->Record(1);
« no previous file with comments | « no previous file | remoting/host/capturer.h » ('j') | remoting/host/capturer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698