#include "headless/lib/browser/headless_screen.h"
#include <stdint.h>
#include "ui/base/ime/input_method.h"
#include "ui/gfx/geometry/rect_conversions.h"
#include "ui/gfx/geometry/size_conversions.h"
#include "ui/gfx/native_widget_types.h"
namespace headless {
HeadlessScreen* HeadlessScreen::Create(const gfx::Size& size) { … }
HeadlessScreen::~HeadlessScreen() = default;
gfx::Point HeadlessScreen::GetCursorScreenPoint() { … }
bool HeadlessScreen::IsWindowUnderCursor(gfx::NativeWindow window) { … }
gfx::NativeWindow HeadlessScreen::GetWindowAtScreenPoint(
const gfx::Point& point) { … }
gfx::NativeWindow HeadlessScreen::GetLocalProcessWindowAtPoint(
const gfx::Point& point,
const std::set<gfx::NativeWindow>& ignore) { … }
display::Display HeadlessScreen::GetDisplayNearestWindow(
gfx::NativeWindow window) const { … }
HeadlessScreen::HeadlessScreen(const gfx::Rect& screen_bounds) { … }
}