diff options
Diffstat (limited to 'views/widget/native_widget_win.cc')
-rw-r--r-- | views/widget/native_widget_win.cc | 4 |
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: |