summaryrefslogtreecommitdiffstats
path: root/views/widget/native_widget_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/native_widget_win.cc')
-rw-r--r--views/widget/native_widget_win.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/widget/native_widget_win.cc b/views/widget/native_widget_win.cc
index 23ef015..b75a4a9 100644
--- a/views/widget/native_widget_win.cc
+++ b/views/widget/native_widget_win.cc
@@ -1092,6 +1092,10 @@ bool NativeWidgetWin::ConvertPointFromAncestor(
return false;
}
+gfx::Rect NativeWidgetWin::GetWorkAreaBoundsInScreen() const {
+ return gfx::Screen::GetMonitorWorkAreaNearestWindow(GetNativeView());
+}
+
////////////////////////////////////////////////////////////////////////////////
// NativeWidgetWin, MessageLoop::Observer implementation: