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

Unified Diff: ui/events/event.h

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.cc ('k') | ui/events/event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event.h
diff --git a/ui/events/event.h b/ui/events/event.h
index 2a8c0df3931e4ac9b4c4ea15a0331f04fb78e25f..1c652aed44816136ef9f1f058214d5ae82fa4407 100644
--- a/ui/events/event.h
+++ b/ui/events/event.h
@@ -10,7 +10,6 @@
#include "base/event_types.h"
#include "base/logging.h"
#include "base/time/time.h"
-#include "ui/base/dragdrop/os_exchange_data.h"
#include "ui/base/gestures/gesture_types.h"
#include "ui/events/event_constants.h"
#include "ui/events/keycodes/keyboard_codes.h"
@@ -599,26 +598,6 @@ class EVENTS_EXPORT TranslatedKeyEvent : public KeyEvent {
DISALLOW_COPY_AND_ASSIGN(TranslatedKeyEvent);
};
-class EVENTS_EXPORT DropTargetEvent : public LocatedEvent {
- public:
- DropTargetEvent(const OSExchangeData& data,
- const gfx::Point& location,
- const gfx::Point& root_location,
- int source_operations);
-
- const OSExchangeData& data() const { return data_; }
- int source_operations() const { return source_operations_; }
-
- private:
- // Data associated with the drag/drop session.
- const OSExchangeData& data_;
-
- // Bitmask of supported DragDropTypes::DragOperation by the source.
- int source_operations_;
-
- DISALLOW_COPY_AND_ASSIGN(DropTargetEvent);
-};
-
class EVENTS_EXPORT ScrollEvent : public MouseEvent {
public:
explicit ScrollEvent(const base::NativeEvent& native_event);
« no previous file with comments | « ui/base/dragdrop/drop_target_event.cc ('k') | ui/events/event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698