Index: remoting/host/capturer_mac.cc |
diff --git a/remoting/host/capturer_mac.cc b/remoting/host/capturer_mac.cc |
index 6c016225c34b390b80c407d25095a96c9f2de6c9..1232baabfec9dcb2504c5cef142a787b61b3de1d 100644 |
--- a/remoting/host/capturer_mac.cc |
+++ b/remoting/host/capturer_mac.cc |
@@ -158,7 +158,7 @@ class CapturerMac : public Capturer { |
bool Init(); |
// 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; |
@@ -306,7 +306,10 @@ void CapturerMac::ReleaseBuffers() { |
} |
} |
-void CapturerMac::Start() { |
+void CapturerMac::Start( |
+ const CursorShapeChangedCallback& callback) { |
+ cursor_shape_changed_callback_ = callback; |
+ |
// Create power management assertions to wake the display and prevent it from |
// going to sleep on user idle. |
IOPMAssertionCreate(kIOPMAssertionTypeNoDisplaySleep, |
@@ -328,6 +331,11 @@ void CapturerMac::Stop() { |
} |
} |
+void CapturerMac::SetCursorShapeChangedCallback( |
+ const CursorShapeChangedCallback& callback) { |
+ // TODO(garykac) Implement cursor shape for Mac. (crbug.com/116299) |
+} |
+ |
void CapturerMac::ScreenConfigurationChanged() { |
ReleaseBuffers(); |
helper_.ClearInvalidRegion(); |