From a52ca4671f27eb2eae418eecea0e5db58ff7bf08 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Fri, 5 Jun 2009 05:41:09 +0000 Subject: Implement some basic functionality in RootView and View. Review URL: http://codereview.chromium.org/119231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17714 0039d316-1c4b-4281-b951-d872f2087c98 --- views/view_gtk.cc | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'views/view_gtk.cc') diff --git a/views/view_gtk.cc b/views/view_gtk.cc index 61ca6ca..4edb9e3 100644 --- a/views/view_gtk.cc +++ b/views/view_gtk.cc @@ -22,21 +22,6 @@ ViewAccessibilityWrapper* View::GetViewAccessibilityWrapper() { return NULL; } -bool View::HitTest(const gfx::Point& l) const { - if (l.x() >= 0 && l.x() < static_cast(width()) && - l.y() >= 0 && l.y() < static_cast(height())) { - if (HasHitTestMask()) { - // TODO(port): port the windows hit test code here. Once that's factored - // out, we can probably move View::HitTest back into views.cc. - NOTIMPLEMENTED(); - } - // No mask, but inside our bounds. - return true; - } - // Outside our bounds. - return false; -} - void View::Focus() { NOTIMPLEMENTED(); } -- cgit v1.1