#include "extensions/browser/mock_screen.h"
namespace extensions {
MockScreen::MockScreen() { … }
MockScreen::~MockScreen() = default;
gfx::Point MockScreen::GetCursorScreenPoint() { … }
bool MockScreen::IsWindowUnderCursor(gfx::NativeWindow window) { … }
gfx::NativeWindow MockScreen::GetWindowAtScreenPoint(const gfx::Point& point) { … }
gfx::NativeWindow MockScreen::GetLocalProcessWindowAtPoint(
const gfx::Point& point,
const std::set<gfx::NativeWindow>& ignore) { … }
int MockScreen::GetNumDisplays() const { … }
const std::vector<display::Display>& MockScreen::GetAllDisplays() const { … }
display::Display MockScreen::GetDisplayNearestWindow(
gfx::NativeWindow window) const { … }
display::Display MockScreen::GetDisplayNearestPoint(
const gfx::Point& point) const { … }
display::Display MockScreen::GetDisplayMatching(
const gfx::Rect& match_rect) const { … }
display::Display MockScreen::GetPrimaryDisplay() const { … }
}