Index: remoting/host/screen_recorder.h |
diff --git a/remoting/host/screen_recorder.h b/remoting/host/screen_recorder.h |
index 64e079f8c64a2d22801afb9cb4cf2394170b9f2a..26671e432ad8bf73b0b757605d1c346f8050a4eb 100644 |
--- a/remoting/host/screen_recorder.h |
+++ b/remoting/host/screen_recorder.h |
@@ -27,9 +27,11 @@ namespace remoting { |
namespace protocol { |
class ConnectionToClient; |
+class CursorShapeInfo; |
} // namespace protocol |
class CaptureData; |
+class CursorShapeData; |
// A class for controlling and coordinate Capturer, Encoder |
// and NetworkChannel in a record session. |
@@ -123,6 +125,7 @@ class ScreenRecorder : public base::RefCountedThreadSafe<ScreenRecorder> { |
void DoCapture(); |
void CaptureDoneCallback(scoped_refptr<CaptureData> capture_data); |
+ void CursorShapeChangedCallback(scoped_refptr<CursorShapeData> cursor_data); |
void DoFinishOneRecording(); |
void DoInvalidateFullScreen(); |
@@ -140,9 +143,13 @@ 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); |
+ void DoEncodeCursorShape(scoped_refptr<CursorShapeData> cursor); |
// Perform stop operations on encode thread. |
void DoStopOnEncodeThread(const base::Closure& done_task); |