diff options
Diffstat (limited to 'ui/gfx/screen_aura.cc')
-rw-r--r-- | ui/gfx/screen_aura.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ui/gfx/screen_aura.cc b/ui/gfx/screen_aura.cc index 0093af6..ea4216f 100644 --- a/ui/gfx/screen_aura.cc +++ b/ui/gfx/screen_aura.cc @@ -48,6 +48,21 @@ gfx::Rect Screen::GetMonitorAreaNearestPoint(const gfx::Point& point) { } // static +gfx::Rect Screen::GetPrimaryMonitorWorkArea() { + return instance_->GetMonitorWorkAreaNearestPoint(gfx::Point()); +} + +// static +gfx::Rect Screen::GetPrimaryMonitorBounds() { + return instance_->GetMonitorAreaNearestPoint(gfx::Point()); +} + +// static +gfx::Rect Screen::GetMonitorWorkAreaMatching(const gfx::Rect& match_rect) { + return instance_->GetMonitorWorkAreaNearestPoint(gfx::Point()); +} + +// static gfx::NativeWindow Screen::GetWindowAtCursorScreenPoint() { return instance_->GetWindowAtCursorScreenPointImpl(); } |