| Index: ui/views/window/non_client_view.cc
|
| diff --git a/ui/views/window/non_client_view.cc b/ui/views/window/non_client_view.cc
|
| index 316d00f3643abcb875982d2fb7e29906755fb54e..6357af29844e15e8d6a8d59e2d68b1c1f68ebf12 100644
|
| --- a/ui/views/window/non_client_view.cc
|
| +++ b/ui/views/window/non_client_view.cc
|
| @@ -92,7 +92,7 @@ gfx::Rect NonClientView::GetWindowBoundsForClientBounds(
|
| return frame_view_->GetWindowBoundsForClientBounds(client_bounds);
|
| }
|
|
|
| -int NonClientView::NonClientHitTest(const gfx::Point& point) {
|
| +int NonClientView::NonClientHitTest(const gfx::Point& point) const {
|
| // The NonClientFrameView is responsible for also asking the ClientView.
|
| return frame_view_->NonClientHitTest(point);
|
| }
|
| @@ -242,7 +242,7 @@ int NonClientFrameView::GetHTComponentForFrame(const gfx::Point& point,
|
| int resize_border_thickness,
|
| int top_resize_corner_height,
|
| int resize_corner_width,
|
| - bool can_resize) {
|
| + bool can_resize) const {
|
| // Tricky: In XP, native behavior is to return HTTOPLEFT and HTTOPRIGHT for
|
| // a |resize_corner_size|-length strip of both the side and top borders, but
|
| // only to return HTBOTTOMLEFT/HTBOTTOMRIGHT along the bottom border + corner
|
|
|