From 493ba6474eb990b53cb34f57370d4660b2b6aa55 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Tue, 18 Aug 2009 21:24:34 +0000 Subject: 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 --- views/view.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'views/view.cc') 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* 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; } -- cgit v1.1