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

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-event: mandol_line Created 5 years, 1 month 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
« no previous file with comments | « ui/base/dragdrop/drop_target_event.h ('k') | ui/base/touch/selection_bound_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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::PointF& location, 15 const gfx::Point& location,
16 const gfx::PointF& root_location, 16 const gfx::Point& 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 gfx::PointF(location),
20 root_location, 20 gfx::PointF(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 25
26 } // namespace ui 26 } // namespace ui
27 27
OLDNEW
« no previous file with comments | « ui/base/dragdrop/drop_target_event.h ('k') | ui/base/touch/selection_bound_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698