Index: ui/views/window/non_client_view.h |
diff --git a/ui/views/window/non_client_view.h b/ui/views/window/non_client_view.h |
index e5be44ef2814a4f7d34536d19bf16b1204a2b8ed..6fe57be276f86c918d5be550e5c836b12b596ade 100644 |
--- a/ui/views/window/non_client_view.h |
+++ b/ui/views/window/non_client_view.h |
@@ -48,7 +48,7 @@ class VIEWS_EXPORT NonClientFrameView : public View { |
int resize_border_thickness, |
int top_resize_corner_height, |
int resize_corner_width, |
- bool can_resize); |
+ bool can_resize) const; |
// Returns the bounds (in this View's parent's coordinates) that the client |
// view should be laid out within. |
@@ -61,7 +61,7 @@ class VIEWS_EXPORT NonClientFrameView : public View { |
// the parent NonClientView because that makes it more difficult to calculate |
// hittests for regions that are partially obscured by the ClientView, e.g. |
// HTSYSMENU. |
- virtual int NonClientHitTest(const gfx::Point& point) = 0; |
+ virtual int NonClientHitTest(const gfx::Point& point) const = 0; |
virtual void GetWindowMask(const gfx::Size& size, |
gfx::Path* window_mask) = 0; |
virtual void ResetWindowControls() = 0; |
@@ -173,7 +173,7 @@ class VIEWS_EXPORT NonClientView : public View { |
// Determines the windows HT* code when the mouse cursor is at the |
// specified point, in window coordinates. |
- int NonClientHitTest(const gfx::Point& point); |
+ int NonClientHitTest(const gfx::Point& point) const; |
// Returns a mask to be used to clip the top level window for the given |
// size. This is used to create the non-rectangular window shape. |