Index: remoting/host/screen_recorder.h |
diff --git a/remoting/host/screen_recorder.h b/remoting/host/screen_recorder.h |
index 64e079f8c64a2d22801afb9cb4cf2394170b9f2a..b791089ece88ca04af28db8a850db8d1b28cfc13 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,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_ptr<protocol::CursorShapeInfo> cursor); |
// Perform stop operations on encode thread. |
void DoStopOnEncodeThread(const base::Closure& done_task); |