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

Unified Diff: ash/drag_drop/drag_drop_controller_unittest.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_controller_unittest.cc
diff --git a/ash/drag_drop/drag_drop_controller_unittest.cc b/ash/drag_drop/drag_drop_controller_unittest.cc
index 9ef0b9b7954eab4caef0aea3ed567fda3cd6c1d1..51a13c9120f8d7004a06d1092e47de39fecb07f8 100644
--- a/ash/drag_drop/drag_drop_controller_unittest.cc
+++ b/ash/drag_drop/drag_drop_controller_unittest.cc
@@ -71,11 +71,11 @@ class DragTestView : public views::View {
private:
// View overrides:
- virtual int GetDragOperations(const gfx::Point& press_pt) OVERRIDE {
+ virtual int GetDragOperations(const gfx::PointF& press_pt) OVERRIDE {
return ui::DragDropTypes::DRAG_COPY;
}
- virtual void WriteDragData(const gfx::Point& p,
+ virtual void WriteDragData(const gfx::PointF& p,
OSExchangeData* data) OVERRIDE {
data->SetString(base::UTF8ToUTF16("I am being dragged"));
gfx::ImageSkiaRep image_rep(gfx::Size(10, 20), 1.0f);

Powered by Google App Engine
This is Rietveld 408576698