Index: remoting/host/capturer_win.cc |
diff --git a/remoting/host/capturer_win.cc b/remoting/host/capturer_win.cc |
index e9b65264b0becc874c0b5ddf30ef0fe1ff2f14f4..b2936f634c47705b1ff938fe5b32d049f3372f13 100644 |
--- a/remoting/host/capturer_win.cc |
+++ b/remoting/host/capturer_win.cc |
@@ -39,7 +39,7 @@ class CapturerGdi : public Capturer { |
virtual ~CapturerGdi(); |
// Capturer interface. |
- virtual void Start() OVERRIDE; |
+ virtual void Start(const CursorShapeChangedCallback& callback) OVERRIDE; |
virtual void Stop() OVERRIDE; |
virtual void ScreenConfigurationChanged() OVERRIDE; |
virtual media::VideoFrame::Format pixel_format() const OVERRIDE; |
@@ -214,7 +214,10 @@ void CapturerGdi::ReleaseBuffers() { |
} |
} |
-void CapturerGdi::Start() { |
+void CapturerGdi::Start( |
+ const CursorShapeChangedCallback& callback) { |
+ cursor_shape_changed_callback_ = callback; |
+ |
// Load dwmapi.dll dynamically since it is not available on XP. |
if (dwmapi_library_ == NULL) { |
std::string error; |
@@ -243,6 +246,12 @@ void CapturerGdi::Stop() { |
} |
} |
+void CapturerGdi::SetCursorShapeChangedCallback( |
+ const CursorShapeChangedCallback& callback) { |
+ // TODO(garykac) Implement this. Although as with the screen config changes, |
+ // we'll need to poll to look for cursor shape changes. (crbug.com/116299) |
+} |
+ |
void CapturerGdi::ScreenConfigurationChanged() { |
// We poll for screen configuration changes, so ignore notifications. |
} |