Index: ui/gfx/screen_aura.cc |
diff --git a/ui/gfx/screen_aura.cc b/ui/gfx/screen_aura.cc |
index 0093af6aceb26a423ad06302f4f8a557abae0741..ea4216fb557846ae6f90271e7155946d80027f78 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(); |
} |