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

Side by Side Diff: ui/base/dragdrop/drop_target_event.cc

Issue 1372253002: gfx: Make conversions from gfx::Point to PointF explicit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pointfconvert-gfx: . Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/base/dragdrop/drop_target_event.h" 5 #include "ui/base/dragdrop/drop_target_event.h"
6 6
7 #include "ui/events/event_utils.h" 7 #include "ui/events/event_utils.h"
8 8
9 namespace ui { 9 namespace ui {
10 10
11 //////////////////////////////////////////////////////////////////////////////// 11 ////////////////////////////////////////////////////////////////////////////////
12 // DropTargetEvent 12 // DropTargetEvent
13 13
14 DropTargetEvent::DropTargetEvent(const OSExchangeData& data, 14 DropTargetEvent::DropTargetEvent(const OSExchangeData& data,
15 const gfx::Point& location, 15 const gfx::PointF& location,
16 const gfx::Point& root_location, 16 const gfx::PointF& root_location,
17 int source_operations) 17 int source_operations)
18 : LocatedEvent(ET_DROP_TARGET_EVENT, 18 : LocatedEvent(ET_DROP_TARGET_EVENT,
19 location, 19 location,
20 root_location, 20 root_location,
21 EventTimeForNow(), 21 EventTimeForNow(),
22 0), 22 0),
23 data_(data), 23 data_(data),
24 source_operations_(source_operations) { 24 source_operations_(source_operations) {}
25 }
26 25
27 } // namespace ui 26 } // namespace ui
28 27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698