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

Unified Diff: ash/drag_drop/drag_drop_interactive_uitest.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: ash/drag_drop/drag_drop_interactive_uitest.cc
diff --git a/ash/drag_drop/drag_drop_interactive_uitest.cc b/ash/drag_drop/drag_drop_interactive_uitest.cc
index ef32801052a012897f417ff02839e0be2680f511..bbae034b97b956ee94458e6aba52e3715e5e4591 100644
--- a/ash/drag_drop/drag_drop_interactive_uitest.cc
+++ b/ash/drag_drop/drag_drop_interactive_uitest.cc
@@ -28,11 +28,11 @@ class DraggableView : public views::View {
virtual ~DraggableView() {}
// views::View overrides:
- virtual int GetDragOperations(const gfx::Point& press_pt) OVERRIDE {
+ virtual int GetDragOperations(const gfx::PointF& press_pt) OVERRIDE {
return ui::DragDropTypes::DRAG_MOVE;
}
- virtual void WriteDragData(const gfx::Point& press_pt,
- OSExchangeData* data)OVERRIDE {
+ virtual void WriteDragData(const gfx::PointF& press_pt,
+ OSExchangeData* data) OVERRIDE {
data->SetString(base::UTF8ToUTF16("test"));
}

Powered by Google App Engine
This is Rietveld 408576698