#include "modules/desktop_capture/cropping_window_capturer.h"
#include <stddef.h>
#include <utility>
#include "modules/desktop_capture/cropped_desktop_frame.h"
#include "rtc_base/logging.h"
namespace webrtc {
CroppingWindowCapturer::CroppingWindowCapturer(
const DesktopCaptureOptions& options)
: … { … }
CroppingWindowCapturer::~CroppingWindowCapturer() { … }
void CroppingWindowCapturer::Start(DesktopCapturer::Callback* callback) { … }
void CroppingWindowCapturer::SetSharedMemoryFactory(
std::unique_ptr<SharedMemoryFactory> shared_memory_factory) { … }
void CroppingWindowCapturer::CaptureFrame() { … }
void CroppingWindowCapturer::SetExcludedWindow(WindowId window) { … }
bool CroppingWindowCapturer::GetSourceList(SourceList* sources) { … }
bool CroppingWindowCapturer::SelectSource(SourceId id) { … }
bool CroppingWindowCapturer::FocusOnSelectedSource() { … }
void CroppingWindowCapturer::OnCaptureResult(
DesktopCapturer::Result result,
std::unique_ptr<DesktopFrame> screen_frame) { … }
bool CroppingWindowCapturer::IsOccluded(const DesktopVector& pos) { … }
#if !defined(WEBRTC_WIN)
std::unique_ptr<DesktopCapturer> CroppingWindowCapturer::CreateCapturer(
const DesktopCaptureOptions& options) { … }
#endif
}