Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Unified Diff: ui/views/controls/label.cc

Issue 10827198: Change View::HitTest to View::HitTestRect (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Revised patch with tests added Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/controls/label.cc
diff --git a/ui/views/controls/label.cc b/ui/views/controls/label.cc
index 9412a6ab792a2827454cdbd828ea5ca720eb9828..77d75658e63fb33de07ddb30f4849b9b925d18ad 100644
--- a/ui/views/controls/label.cc
+++ b/ui/views/controls/label.cc
@@ -226,7 +226,7 @@ std::string Label::GetClassName() const {
return kViewClassName;
}
-bool Label::HitTest(const gfx::Point& l) const {
+bool Label::HitTestRect(const gfx::Rect& rect) const {
return false;
}
« no previous file with comments | « ui/views/controls/label.h ('k') | ui/views/controls/link.h » ('j') | ui/views/view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698