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

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: Remove extra LOGs 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..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);

Powered by Google App Engine
This is Rietveld 408576698