| Index: ui/views/widget/native_widget_win.cc
|
| diff --git a/ui/views/widget/native_widget_win.cc b/ui/views/widget/native_widget_win.cc
|
| index 5af20c6369f9e9226d57e55d33262d1ad5b95456..50afc745969b549b409f51269cc47ec7e5995240 100644
|
| --- a/ui/views/widget/native_widget_win.cc
|
| +++ b/ui/views/widget/native_widget_win.cc
|
| @@ -801,13 +801,13 @@ void NativeWidgetWin::InitModalType(ui::ModalType modal_type) {
|
| }
|
| }
|
|
|
| -gfx::Rect NativeWidgetWin::GetWindowScreenBounds() const {
|
| +gfx::Rect NativeWidgetWin::GetWindowBoundsInScreen() const {
|
| RECT r;
|
| GetWindowRect(&r);
|
| return gfx::Rect(r);
|
| }
|
|
|
| -gfx::Rect NativeWidgetWin::GetClientAreaScreenBounds() const {
|
| +gfx::Rect NativeWidgetWin::GetClientAreaBoundsInScreen() const {
|
| RECT r;
|
| GetClientRect(&r);
|
| POINT point = { r.left, r.top };
|
| @@ -1169,7 +1169,7 @@ void NativeWidgetWin::FocusNativeView(gfx::NativeView native_view) {
|
| ::SetFocus(native_view);
|
| }
|
|
|
| -gfx::Rect NativeWidgetWin::GetWorkAreaScreenBounds() const {
|
| +gfx::Rect NativeWidgetWin::GetWorkAreaBoundsInScreen() const {
|
| return gfx::Screen::GetDisplayNearestWindow(GetNativeView()).work_area();
|
| }
|
|
|
|
|