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

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

Issue 265713007: views: Update event-related API to use PointF/RectF instead of Point/Rect. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 717d2e08a445b2af147a964653f10b86a80f5c81..b74c0cf39c29d62c017900cc730ead02fc61a1c8 100644
--- a/ui/views/controls/label.cc
+++ b/ui/views/controls/label.cc
@@ -289,7 +289,7 @@ View* Label::GetTooltipHandlerForPoint(const gfx::Point& point) {
return this;
}
-bool Label::HitTestRect(const gfx::Rect& rect) const {
+bool Label::HitTestRect(const gfx::RectF& rect) const {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698