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

Unified Diff: remoting/host/screen_recorder.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/host/screen_recorder.h
diff --git a/remoting/host/screen_recorder.h b/remoting/host/screen_recorder.h
index 64e079f8c64a2d22801afb9cb4cf2394170b9f2a..462ade79af53584a8a7e3effdc686aee2f9301f4 100644
--- a/remoting/host/screen_recorder.h
+++ b/remoting/host/screen_recorder.h
@@ -27,6 +27,7 @@ namespace remoting {
namespace protocol {
class ConnectionToClient;
+class CursorShapeInfo;
} // namespace protocol
class CaptureData;
@@ -123,6 +124,8 @@ class ScreenRecorder : public base::RefCountedThreadSafe<ScreenRecorder> {
void DoCapture();
void CaptureDoneCallback(scoped_refptr<CaptureData> capture_data);
+ void CursorShapeChangedCallback(
+ scoped_ptr<protocol::CursorShapeInfo> cursor_data);
void DoFinishOneRecording();
void DoInvalidateFullScreen();
@@ -140,6 +143,9 @@ class ScreenRecorder : public base::RefCountedThreadSafe<ScreenRecorder> {
// each last packet in a frame.
void VideoFrameSentCallback();
+ // Send updated cursor shape to client.
+ void DoSendCursorShape(scoped_ptr<protocol::CursorShapeInfo> cursor_shape);
+
// Encoder thread -----------------------------------------------------------
void DoEncode(scoped_refptr<CaptureData> capture_data);

Powered by Google App Engine
This is Rietveld 408576698