| OLD | NEW |
| 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 |
| OLD | NEW |