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

Unified Diff: ui/views/controls/textfield/textfield.h

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/textfield/textfield.h
diff --git a/ui/views/controls/textfield/textfield.h b/ui/views/controls/textfield/textfield.h
index 809539cc03411fb03625a9d7ae985fb301b0be9f..c5afb28ecff1473a8ca63621c4fa2d1fbf029df1 100644
--- a/ui/views/controls/textfield/textfield.h
+++ b/ui/views/controls/textfield/textfield.h
@@ -223,13 +223,13 @@ class VIEWS_EXPORT Textfield : public View,
// DragController overrides:
virtual void WriteDragDataForView(View* sender,
- const gfx::Point& press_pt,
+ const gfx::PointF& press_pt,
ui::OSExchangeData* data) OVERRIDE;
virtual int GetDragOperationsForView(View* sender,
- const gfx::Point& p) OVERRIDE;
+ const gfx::PointF& p) OVERRIDE;
virtual bool CanStartDragForView(View* sender,
- const gfx::Point& press_pt,
- const gfx::Point& p) OVERRIDE;
+ const gfx::PointF& press_pt,
+ const gfx::PointF& p) OVERRIDE;
// ui::TouchEditable overrides:
virtual void SelectRect(const gfx::Point& start,

Powered by Google App Engine
This is Rietveld 408576698