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

Unified Diff: ui/base/dragdrop/drop_target_event.cc

Issue 23503086: Move DropTargetEvent back to ui/base for the time being as it depends on OSExchangeData which I don… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows bustage Created 7 years, 3 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
« no previous file with comments | « ui/base/dragdrop/drop_target_event.h ('k') | ui/events/event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dragdrop/drop_target_event.cc
diff --git a/ui/base/dragdrop/drop_target_event.cc b/ui/base/dragdrop/drop_target_event.cc
new file mode 100644
index 0000000000000000000000000000000000000000..bbbf84a87cf5fbe86227184fac45f8800fea6cde
--- /dev/null
+++ b/ui/base/dragdrop/drop_target_event.cc
@@ -0,0 +1,28 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/base/dragdrop/drop_target_event.h"
+
+#include "ui/events/event_utils.h"
+
+namespace ui {
+
+////////////////////////////////////////////////////////////////////////////////
+// DropTargetEvent
+
+DropTargetEvent::DropTargetEvent(const OSExchangeData& data,
+ const gfx::Point& location,
+ const gfx::Point& root_location,
+ int source_operations)
+ : LocatedEvent(ET_DROP_TARGET_EVENT,
+ location,
+ root_location,
+ EventTimeForNow(),
+ 0),
+ data_(data),
+ source_operations_(source_operations) {
+}
+
+} // namespace ui
+
« no previous file with comments | « ui/base/dragdrop/drop_target_event.h ('k') | ui/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698