summaryrefslogtreecommitdiffstats
path: root/views/window/non_client_view.cc
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-11 23:50:55 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-11 23:50:55 +0000
commit0d52b23006174f37ba0337c170506b9580ccaf29 (patch)
tree889e57066b28a69e288132c72d0dc560cf5e2051 /views/window/non_client_view.cc
parent1bdf29eb27c00bd1be0a6f3eb65d33ecddde274f (diff)
downloadchromium_src-0d52b23006174f37ba0337c170506b9580ccaf29.zip
chromium_src-0d52b23006174f37ba0337c170506b9580ccaf29.tar.gz
chromium_src-0d52b23006174f37ba0337c170506b9580ccaf29.tar.bz2
Removing floating views, they are not used anymore.
BUG=None TEST=Run unit_tests, ui_tests, interactive ui_tests. Make sure focus traversal still works. Review URL: http://codereview.chromium.org/113215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15817 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/non_client_view.cc')
-rw-r--r--views/window/non_client_view.cc7
1 files changed, 1 insertions, 6 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);
}
////////////////////////////////////////////////////////////////////////////////