#include "remoting/host/desktop_and_cursor_conditional_composer.h"
#include "base/functional/bind.h"
#include "build/build_config.h"
#if BUILDFLAG(IS_LINUX)
#include "remoting/host/linux/wayland_utils.h"
#endif
namespace remoting {
DesktopAndCursorConditionalComposer::DesktopAndCursorConditionalComposer(
std::unique_ptr<DesktopCapturer> desktop_capturer) { … }
DesktopAndCursorConditionalComposer::~DesktopAndCursorConditionalComposer() =
default;
void DesktopAndCursorConditionalComposer::SetComposeEnabled(bool enabled) { … }
void DesktopAndCursorConditionalComposer::SetMouseCursor(
std::unique_ptr<webrtc::MouseCursor> mouse_cursor) { … }
void DesktopAndCursorConditionalComposer::SetMouseCursorPosition(
const webrtc::DesktopVector& position) { … }
void DesktopAndCursorConditionalComposer::Start(
webrtc::DesktopCapturer::Callback* callback) { … }
void DesktopAndCursorConditionalComposer::SetSharedMemoryFactory(
std::unique_ptr<webrtc::SharedMemoryFactory> shared_memory_factory) { … }
void DesktopAndCursorConditionalComposer::CaptureFrame() { … }
void DesktopAndCursorConditionalComposer::SetExcludedWindow(
webrtc::WindowId window) { … }
bool DesktopAndCursorConditionalComposer::GetSourceList(SourceList* sources) { … }
bool DesktopAndCursorConditionalComposer::SelectSource(SourceId id) { … }
bool DesktopAndCursorConditionalComposer::FocusOnSelectedSource() { … }
bool DesktopAndCursorConditionalComposer::IsOccluded(
const webrtc::DesktopVector& pos) { … }
bool DesktopAndCursorConditionalComposer::SupportsFrameCallbacks() { … }
void DesktopAndCursorConditionalComposer::SetMaxFrameRate(
uint32_t max_frame_rate) { … }
#if defined(WEBRTC_USE_GIO)
void DesktopAndCursorConditionalComposer::GetMetadataAsync(
base::OnceCallback<void(webrtc::DesktopCaptureMetadata)> callback) { … }
#endif
}