webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
webrtc::CroppingWindowCapturer Class Referenceabstract

#include <cropping_window_capturer.h>

Inheritance diagram for webrtc::CroppingWindowCapturer:
webrtc::DesktopCapturer webrtc::DesktopCapturer::Callback webrtc::DesktopCapturer webrtc::DesktopCapturer::Callback

Public Member Functions

 ~CroppingWindowCapturer () override
 
void Start (DesktopCapturer::Callback *callback) override
 
void SetSharedMemoryFactory (std::unique_ptr< SharedMemoryFactory > shared_memory_factory) override
 
void CaptureFrame () override
 
void SetExcludedWindow (WindowId window) override
 
bool GetSourceList (SourceList *sources) override
 
bool SelectSource (SourceId id) override
 
bool FocusOnSelectedSource () override
 
void OnCaptureResult (DesktopCapturer::Result result, std::unique_ptr< DesktopFrame > frame) override
 
 ~CroppingWindowCapturer () override
 
void Start (DesktopCapturer::Callback *callback) override
 
void SetSharedMemoryFactory (std::unique_ptr< SharedMemoryFactory > shared_memory_factory) override
 
void CaptureFrame () override
 
void SetExcludedWindow (WindowId window) override
 
bool GetSourceList (SourceList *sources) override
 
bool SelectSource (SourceId id) override
 
bool FocusOnSelectedSource () override
 
void OnCaptureResult (DesktopCapturer::Result result, std::unique_ptr< DesktopFrame > frame) override
 
- Public Member Functions inherited from webrtc::DesktopCapturer
virtual ~DesktopCapturer ()
 
virtual bool SelectSource (SourceId id)
 
virtual ~DesktopCapturer ()
 
virtual bool SelectSource (SourceId id)
 

Static Public Member Functions

static std::unique_ptr< DesktopCapturerCreateCapturer (const DesktopCaptureOptions &options)
 
static std::unique_ptr< DesktopCapturerCreateCapturer (const DesktopCaptureOptions &options)
 
- Static Public Member Functions inherited from webrtc::DesktopCapturer
static std::unique_ptr< DesktopCapturerCreateWindowCapturer (const DesktopCaptureOptions &options)
 
static std::unique_ptr< DesktopCapturerCreateScreenCapturer (const DesktopCaptureOptions &options)
 
static std::unique_ptr< DesktopCapturerCreateWindowCapturer (const DesktopCaptureOptions &options)
 
static std::unique_ptr< DesktopCapturerCreateScreenCapturer (const DesktopCaptureOptions &options)
 

Protected Member Functions

 CroppingWindowCapturer (const DesktopCaptureOptions &options)
 
virtual bool ShouldUseScreenCapturer ()=0
 
virtual DesktopRect GetWindowRectInVirtualScreen ()=0
 
WindowId selected_window () const
 
WindowId excluded_window () const
 
 CroppingWindowCapturer (const DesktopCaptureOptions &options)
 
virtual bool ShouldUseScreenCapturer ()=0
 
virtual DesktopRect GetWindowRectInVirtualScreen ()=0
 
WindowId selected_window () const
 
WindowId excluded_window () const
 
- Protected Member Functions inherited from webrtc::DesktopCapturer::Callback
virtual ~Callback ()
 
virtual ~Callback ()
 

Additional Inherited Members

- Public Types inherited from webrtc::DesktopCapturer
enum  Result {
  Result::SUCCESS, Result::ERROR_TEMPORARY, Result::ERROR_PERMANENT, Result::MAX_VALUE = ERROR_PERMANENT,
  Result::SUCCESS, Result::ERROR_TEMPORARY, Result::ERROR_PERMANENT, Result::MAX_VALUE = ERROR_PERMANENT
}
 
enum  Result {
  Result::SUCCESS, Result::ERROR_TEMPORARY, Result::ERROR_PERMANENT, Result::MAX_VALUE = ERROR_PERMANENT,
  Result::SUCCESS, Result::ERROR_TEMPORARY, Result::ERROR_PERMANENT, Result::MAX_VALUE = ERROR_PERMANENT
}
 
typedef intptr_t SourceId
 
typedef std::vector< SourceSourceList
 
typedef intptr_t SourceId
 
typedef std::vector< SourceSourceList
 
- Static Protected Member Functions inherited from webrtc::DesktopCapturer
static std::unique_ptr< DesktopCapturerCreateRawWindowCapturer (const DesktopCaptureOptions &options)
 
static std::unique_ptr< DesktopCapturerCreateRawScreenCapturer (const DesktopCaptureOptions &options)
 
static std::unique_ptr< DesktopCapturerCreateRawWindowCapturer (const DesktopCaptureOptions &options)
 
static std::unique_ptr< DesktopCapturerCreateRawScreenCapturer (const DesktopCaptureOptions &options)
 

Constructor & Destructor Documentation

◆ ~CroppingWindowCapturer() [1/2]

webrtc::CroppingWindowCapturer::~CroppingWindowCapturer ( )
override

◆ CroppingWindowCapturer() [1/2]

webrtc::CroppingWindowCapturer::CroppingWindowCapturer ( const DesktopCaptureOptions options)
explicitprotected

◆ ~CroppingWindowCapturer() [2/2]

webrtc::CroppingWindowCapturer::~CroppingWindowCapturer ( )
override

◆ CroppingWindowCapturer() [2/2]

webrtc::CroppingWindowCapturer::CroppingWindowCapturer ( const DesktopCaptureOptions options)
explicitprotected

Member Function Documentation

◆ CaptureFrame() [1/2]

void webrtc::CroppingWindowCapturer::CaptureFrame ( )
overridevirtual

◆ CaptureFrame() [2/2]

void webrtc::CroppingWindowCapturer::CaptureFrame ( )
overridevirtual

◆ CreateCapturer() [1/2]

std::unique_ptr< DesktopCapturer > webrtc::CroppingWindowCapturer::CreateCapturer ( const DesktopCaptureOptions options)
static

◆ CreateCapturer() [2/2]

static std::unique_ptr<DesktopCapturer> webrtc::CroppingWindowCapturer::CreateCapturer ( const DesktopCaptureOptions options)
static

◆ excluded_window() [1/2]

WindowId webrtc::CroppingWindowCapturer::excluded_window ( ) const
inlineprotected

◆ excluded_window() [2/2]

WindowId webrtc::CroppingWindowCapturer::excluded_window ( ) const
inlineprotected

◆ FocusOnSelectedSource() [1/2]

bool webrtc::CroppingWindowCapturer::FocusOnSelectedSource ( )
overridevirtual

Reimplemented from webrtc::DesktopCapturer.

◆ FocusOnSelectedSource() [2/2]

bool webrtc::CroppingWindowCapturer::FocusOnSelectedSource ( )
overridevirtual

Reimplemented from webrtc::DesktopCapturer.

◆ GetSourceList() [1/2]

bool webrtc::CroppingWindowCapturer::GetSourceList ( SourceList sources)
overridevirtual

Reimplemented from webrtc::DesktopCapturer.

◆ GetSourceList() [2/2]

bool webrtc::CroppingWindowCapturer::GetSourceList ( SourceList sources)
overridevirtual

Reimplemented from webrtc::DesktopCapturer.

◆ GetWindowRectInVirtualScreen() [1/2]

virtual DesktopRect webrtc::CroppingWindowCapturer::GetWindowRectInVirtualScreen ( )
protectedpure virtual

◆ GetWindowRectInVirtualScreen() [2/2]

virtual DesktopRect webrtc::CroppingWindowCapturer::GetWindowRectInVirtualScreen ( )
protectedpure virtual

◆ OnCaptureResult() [1/2]

void webrtc::CroppingWindowCapturer::OnCaptureResult ( DesktopCapturer::Result  result,
std::unique_ptr< DesktopFrame frame 
)
overridevirtual

◆ OnCaptureResult() [2/2]

void webrtc::CroppingWindowCapturer::OnCaptureResult ( DesktopCapturer::Result  result,
std::unique_ptr< DesktopFrame frame 
)
overridevirtual

◆ selected_window() [1/2]

WindowId webrtc::CroppingWindowCapturer::selected_window ( ) const
inlineprotected

◆ selected_window() [2/2]

WindowId webrtc::CroppingWindowCapturer::selected_window ( ) const
inlineprotected

◆ SelectSource() [1/2]

bool webrtc::CroppingWindowCapturer::SelectSource ( SourceId  id)
override

◆ SelectSource() [2/2]

bool webrtc::CroppingWindowCapturer::SelectSource ( SourceId  id)
override

◆ SetExcludedWindow() [1/2]

void webrtc::CroppingWindowCapturer::SetExcludedWindow ( WindowId  window)
overridevirtual

Reimplemented from webrtc::DesktopCapturer.

◆ SetExcludedWindow() [2/2]

void webrtc::CroppingWindowCapturer::SetExcludedWindow ( WindowId  window)
overridevirtual

Reimplemented from webrtc::DesktopCapturer.

◆ SetSharedMemoryFactory() [1/2]

void webrtc::CroppingWindowCapturer::SetSharedMemoryFactory ( std::unique_ptr< SharedMemoryFactory shared_memory_factory)
overridevirtual

Reimplemented from webrtc::DesktopCapturer.

◆ SetSharedMemoryFactory() [2/2]

void webrtc::CroppingWindowCapturer::SetSharedMemoryFactory ( std::unique_ptr< SharedMemoryFactory shared_memory_factory)
overridevirtual

Reimplemented from webrtc::DesktopCapturer.

◆ ShouldUseScreenCapturer() [1/2]

virtual bool webrtc::CroppingWindowCapturer::ShouldUseScreenCapturer ( )
protectedpure virtual

◆ ShouldUseScreenCapturer() [2/2]

virtual bool webrtc::CroppingWindowCapturer::ShouldUseScreenCapturer ( )
protectedpure virtual

◆ Start() [1/2]

void webrtc::CroppingWindowCapturer::Start ( DesktopCapturer::Callback callback)
overridevirtual

◆ Start() [2/2]

void webrtc::CroppingWindowCapturer::Start ( DesktopCapturer::Callback callback)
overridevirtual

The documentation for this class was generated from the following files: