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

Unified Diff: ui/views/controls/image_view.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/image_view.cc
diff --git a/ui/views/controls/image_view.cc b/ui/views/controls/image_view.cc
index c5e2f416a3f03d52b67c260441b89ce604f7c2f9..dc610ebfb725355e8964b57322b156c7472f8d50 100644
--- a/ui/views/controls/image_view.cc
+++ b/ui/views/controls/image_view.cc
@@ -205,7 +205,7 @@ bool ImageView::GetTooltipText(const gfx::Point& p,
return true;
}
-bool ImageView::HitTestRect(const gfx::Rect& rect) const {
+bool ImageView::HitTestRect(const gfx::RectF& rect) const {
return interactive_ ? View::HitTestRect(rect) : false;
}

Powered by Google App Engine
This is Rietveld 408576698