summaryrefslogtreecommitdiffstats
path: root/views/events
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-09 18:51:44 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-09 18:51:44 +0000
commitff559f2806eb11792c30fc54b544dcdb5ff8ae73 (patch)
treec160afadb093a8d5bd2926cb7ee08e06a7439ae2 /views/events
parentb833b109f13e0d0c280f29501b2041adf419c0a9 (diff)
downloadchromium_src-ff559f2806eb11792c30fc54b544dcdb5ff8ae73.zip
chromium_src-ff559f2806eb11792c30fc54b544dcdb5ff8ae73.tar.gz
chromium_src-ff559f2806eb11792c30fc54b544dcdb5ff8ae73.tar.bz2
Add simple drag and drop to NativeTextfieldViews.
Supports DRAG_COPY to other views/windows. Supports DRAG_MOVE within the same view. Fix DropHelper coordinate translation (not used elsewhere). Fix NativeTextfieldViewsTest.DoubleAndTripleClickTest. This patch set depends on my changes at: http://codereview.chromium.org/6893096/ BUG=72040 TEST=--enable-textfield-views drag and drop interaction. Review URL: http://codereview.chromium.org/6902145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84652 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/events')
-rw-r--r--views/events/event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/events/event.h b/views/events/event.h
index fbe3556..88b4693 100644
--- a/views/events/event.h
+++ b/views/events/event.h
@@ -382,6 +382,7 @@ class DropTargetEvent : public LocatedEvent {
: LocatedEvent(ui::ET_DROP_TARGET_EVENT, gfx::Point(x, y), 0),
data_(data),
source_operations_(source_operations) {
+ // TODO(msw): Hook up key state flags for CTRL + drag and drop, etc.
}
const OSExchangeData& data() const { return data_; }