#include "headless/lib/browser/headless_window_tree_host.h"
#include <memory>
#include "base/containers/flat_set.h"
#include "components/viz/common/surfaces/frame_sink_id.h"
#include "headless/lib/browser/headless_focus_client.h"
#include "headless/lib/browser/headless_window_parenting_client.h"
#include "ui/aura/window.h"
#include "ui/events/keycodes/dom/dom_code.h"
#include "ui/gfx/icc_profile.h"
namespace headless {
HeadlessWindowTreeHost::HeadlessWindowTreeHost(
bool use_external_begin_frame_control) { … }
HeadlessWindowTreeHost::~HeadlessWindowTreeHost() { … }
void HeadlessWindowTreeHost::SetParentWindow(gfx::NativeWindow window) { … }
bool HeadlessWindowTreeHost::CanDispatchEvent(const ui::PlatformEvent& event) { … }
uint32_t HeadlessWindowTreeHost::DispatchEvent(const ui::PlatformEvent& event) { … }
ui::EventSource* HeadlessWindowTreeHost::GetEventSource() { … }
gfx::AcceleratedWidget HeadlessWindowTreeHost::GetAcceleratedWidget() { … }
gfx::Rect HeadlessWindowTreeHost::GetBoundsInPixels() const { … }
void HeadlessWindowTreeHost::SetBoundsInPixels(const gfx::Rect& bounds) { … }
void HeadlessWindowTreeHost::ShowImpl() { … }
void HeadlessWindowTreeHost::HideImpl() { … }
gfx::Point HeadlessWindowTreeHost::GetLocationOnScreenInPixels() const { … }
void HeadlessWindowTreeHost::SetCapture() { … }
void HeadlessWindowTreeHost::ReleaseCapture() { … }
bool HeadlessWindowTreeHost::CaptureSystemKeyEventsImpl(
std::optional<base::flat_set<ui::DomCode>> codes) { … }
void HeadlessWindowTreeHost::ReleaseSystemKeyEventCapture() { … }
bool HeadlessWindowTreeHost::IsKeyLocked(ui::DomCode dom_code) { … }
base::flat_map<std::string, std::string>
HeadlessWindowTreeHost::GetKeyboardLayoutMap() { … }
void HeadlessWindowTreeHost::SetCursorNative(gfx::NativeCursor cursor_type) { … }
void HeadlessWindowTreeHost::MoveCursorToScreenLocationInPixels(
const gfx::Point& location) { … }
void HeadlessWindowTreeHost::OnCursorVisibilityChangedNative(bool show) { … }
#if BUILDFLAG(IS_CHROMEOS_LACROS)
std::string HeadlessWindowTreeHost::GetUniqueId() const {
NOTIMPLEMENTED_LOG_ONCE();
return std::string();
}
#endif
}