diff options
Diffstat (limited to 'views/window')
-rw-r--r-- | views/window/non_client_view.cc | 7 | ||||
-rw-r--r-- | views/window/non_client_view.h | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/views/window/non_client_view.cc b/views/window/non_client_view.cc index 7028733..923f85e 100644 --- a/views/window/non_client_view.cc +++ b/views/window/non_client_view.cc @@ -176,11 +176,6 @@ void NonClientView::ViewHierarchyChanged(bool is_add, View* parent, } views::View* NonClientView::GetViewForPoint(const gfx::Point& point) { - return GetViewForPoint(point, false); -} - -views::View* NonClientView::GetViewForPoint(const gfx::Point& point, - bool can_create_floating) { // Because of the z-ordering of our child views (the client view is positioned // over the non-client frame view, if the client view ever overlaps the frame // view visually (as it does for the browser window), then it will eat mouse @@ -193,7 +188,7 @@ views::View* NonClientView::GetViewForPoint(const gfx::Point& point, if (frame_view_->HitTest(point_in_child_coords)) return frame_view_->GetViewForPoint(point); - return View::GetViewForPoint(point, can_create_floating); + return View::GetViewForPoint(point); } //////////////////////////////////////////////////////////////////////////////// diff --git a/views/window/non_client_view.h b/views/window/non_client_view.h index d93f423..847f604 100644 --- a/views/window/non_client_view.h +++ b/views/window/non_client_view.h @@ -199,8 +199,6 @@ class NonClientView : public View { // NonClientView, View overrides: virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child); virtual views::View* GetViewForPoint(const gfx::Point& point); - virtual views::View* GetViewForPoint(const gfx::Point& point, - bool can_create_floating); private: // The frame that hosts this NonClientView. |