summaryrefslogtreecommitdiffstats
path: root/views/view.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-18 21:24:34 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-18 21:24:34 +0000
commit493ba6474eb990b53cb34f57370d4660b2b6aa55 (patch)
treec53f8ea803354c4d4006024dda3e39abe6fc9cc0 /views/view.cc
parentbbe8521434be58c20cb2a41167bb947e95fc6b4e (diff)
downloadchromium_src-493ba6474eb990b53cb34f57370d4660b2b6aa55.zip
chromium_src-493ba6474eb990b53cb34f57370d4660b2b6aa55.tar.gz
chromium_src-493ba6474eb990b53cb34f57370d4660b2b6aa55.tar.bz2
Adds drop support for views on gtk. As X lazily provides drop data I
needed to tweak the views API a bit. BUG=none TEST=none Review URL: http://codereview.chromium.org/165407 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23653 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/view.cc')
-rw-r--r--views/view.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/views/view.cc b/views/view.cc
index 4adef5b..30a6e74 100644
--- a/views/view.cc
+++ b/views/view.cc
@@ -1238,7 +1238,18 @@ DragController* View::GetDragController() {
return drag_controller_;
}
+bool View::GetDropFormats(
+ int* formats,
+ std::set<OSExchangeData::CustomFormat>* custom_formats) {
+ return false;
+}
+
+bool View::AreDropTypesRequired() {
+ return false;
+}
+
bool View::CanDrop(const OSExchangeData& data) {
+ // TODO(sky): when I finish up migration, this should default to true.
return false;
}