#include "ui/ozone/platform/headless/headless_window.h"
#include <string>
#include "base/notreached.h"
#include "build/build_config.h"
#include "ui/base/cursor/platform_cursor.h"
#include "ui/display/types/display_constants.h"
#include "ui/events/platform/platform_event_source.h"
#include "ui/ozone/platform/headless/headless_window_manager.h"
namespace ui {
HeadlessWindow::HeadlessWindow(PlatformWindowDelegate* delegate,
HeadlessWindowManager* manager,
const gfx::Rect& bounds)
: … { … }
HeadlessWindow::~HeadlessWindow() { … }
void HeadlessWindow::Show(bool inactive) { … }
void HeadlessWindow::Hide() { … }
void HeadlessWindow::Close() { … }
bool HeadlessWindow::IsVisible() const { … }
void HeadlessWindow::PrepareForShutdown() { … }
void HeadlessWindow::SetBoundsInPixels(const gfx::Rect& bounds) { … }
gfx::Rect HeadlessWindow::GetBoundsInPixels() const { … }
void HeadlessWindow::SetBoundsInDIP(const gfx::Rect& bounds) { … }
gfx::Rect HeadlessWindow::GetBoundsInDIP() const { … }
void HeadlessWindow::SetTitle(const std::u16string& title) { … }
void HeadlessWindow::SetCapture() { … }
void HeadlessWindow::ReleaseCapture() { … }
bool HeadlessWindow::HasCapture() const { … }
void HeadlessWindow::SetFullscreen(bool fullscreen, int64_t target_display_id) { … }
void HeadlessWindow::Maximize() { … }
void HeadlessWindow::Minimize() { … }
void HeadlessWindow::Restore() { … }
PlatformWindowState HeadlessWindow::GetPlatformWindowState() const { … }
void HeadlessWindow::Activate() { … }
void HeadlessWindow::Deactivate() { … }
void HeadlessWindow::SetUseNativeFrame(bool use_native_frame) { … }
bool HeadlessWindow::ShouldUseNativeFrame() const { … }
void HeadlessWindow::SetCursor(scoped_refptr<PlatformCursor> cursor) { … }
void HeadlessWindow::MoveCursorTo(const gfx::Point& location) { … }
void HeadlessWindow::ConfineCursorToBounds(const gfx::Rect& bounds) { … }
void HeadlessWindow::SetRestoredBoundsInDIP(const gfx::Rect& bounds) { … }
gfx::Rect HeadlessWindow::GetRestoredBoundsInDIP() const { … }
void HeadlessWindow::SetWindowIcons(const gfx::ImageSkia& window_icon,
const gfx::ImageSkia& app_icon) { … }
void HeadlessWindow::SizeConstraintsChanged() { … }
void HeadlessWindow::ZoomWindowBounds() { … }
void HeadlessWindow::RestoreWindowBounds() { … }
void HeadlessWindow::UpdateBounds(const gfx::Rect& bounds) { … }
void HeadlessWindow::UpdateWindowState(PlatformWindowState new_window_state) { … }
}