| Index: webrtc/modules/desktop_capture/cropping_window_capturer.h
|
| diff --git a/webrtc/modules/desktop_capture/cropping_window_capturer.h b/webrtc/modules/desktop_capture/cropping_window_capturer.h
|
| index 768e1ee2e6811cab23de1ff0f82f8d6bf8cd36f3..a2c6c2ff1a3d06f577c21c70d06c7f2e85896729 100644
|
| --- a/webrtc/modules/desktop_capture/cropping_window_capturer.h
|
| +++ b/webrtc/modules/desktop_capture/cropping_window_capturer.h
|
| @@ -34,11 +34,9 @@ class CroppingWindowCapturer : public WindowCapturer,
|
| std::unique_ptr<SharedMemoryFactory> shared_memory_factory) override;
|
| void CaptureFrame() override;
|
| void SetExcludedWindow(WindowId window) override;
|
| -
|
| - // WindowCapturer implementation.
|
| - bool GetWindowList(WindowList* windows) override;
|
| - bool SelectWindow(WindowId id) override;
|
| - bool BringSelectedWindowToFront() override;
|
| + bool GetSourceList(SourceList* sources) override;
|
| + bool SelectSource(SourceId id) override;
|
| + bool FocusOnSelectedSource() override;
|
|
|
| // DesktopCapturer::Callback implementation, passed to |screen_capturer_| to
|
| // intercept the capture result.
|
| @@ -67,7 +65,7 @@ class CroppingWindowCapturer : public WindowCapturer,
|
| DesktopCapturer::Callback* callback_;
|
| std::unique_ptr<WindowCapturer> window_capturer_;
|
| std::unique_ptr<ScreenCapturer> screen_capturer_;
|
| - WindowId selected_window_;
|
| + SourceId selected_window_;
|
| WindowId excluded_window_;
|
| };
|
|
|
|
|