diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-05 05:41:09 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-05 05:41:09 +0000 |
commit | a52ca4671f27eb2eae418eecea0e5db58ff7bf08 (patch) | |
tree | c1a1c922e2eba3ee67750b6a62837741ac5311b3 /views/view_gtk.cc | |
parent | 848cd2743e2c4135976acf975b15e6f3c18edf8c (diff) | |
download | chromium_src-a52ca4671f27eb2eae418eecea0e5db58ff7bf08.zip chromium_src-a52ca4671f27eb2eae418eecea0e5db58ff7bf08.tar.gz chromium_src-a52ca4671f27eb2eae418eecea0e5db58ff7bf08.tar.bz2 |
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
Diffstat (limited to 'views/view_gtk.cc')
-rw-r--r-- | views/view_gtk.cc | 15 |
1 files changed, 0 insertions, 15 deletions
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<int>(width()) && - l.y() >= 0 && l.y() < static_cast<int>(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(); } |