Home | History | Annotate | Download | only in dragdrop
      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
      3 // found in the LICENSE file.
      4 
      5 #include "ui/base/dragdrop/drop_target_event.h"
      6 
      7 #include "ui/events/event_utils.h"
      8 
      9 namespace ui {
     10 
     11 ////////////////////////////////////////////////////////////////////////////////
     12 // DropTargetEvent
     13 
     14 DropTargetEvent::DropTargetEvent(const OSExchangeData& data,
     15                                  const gfx::Point& location,
     16                                  const gfx::Point& root_location,
     17                                  int source_operations)
     18     : LocatedEvent(ET_DROP_TARGET_EVENT,
     19                    location,
     20                    root_location,
     21                    EventTimeForNow(),
     22                    0),
     23       data_(data),
     24       source_operations_(source_operations) {
     25 }
     26 
     27 }  // namespace ui
     28 
     29