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

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: 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..aee0197b1711ca7341b74c7f2762e063964b7200 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::HitTest(const gfx::Rect& r) const {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698