summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/bookmark_bar_view.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-19 03:33:44 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-19 03:33:44 +0000
commit134c47b9e74ab7aa6dce7e1beeaf5e406a925b76 (patch)
treef4db8cfc40f3eb8a66421ee415f575cf6a76d638 /chrome/browser/views/bookmark_bar_view.h
parentcf5811e922d5aa215a4094bd88e70c38c6ddc57c (diff)
downloadchromium_src-134c47b9e74ab7aa6dce7e1beeaf5e406a925b76.zip
chromium_src-134c47b9e74ab7aa6dce7e1beeaf5e406a925b76.tar.gz
chromium_src-134c47b9e74ab7aa6dce7e1beeaf5e406a925b76.tar.bz2
Relands drop support:
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/173025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23690 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/bookmark_bar_view.h')
-rw-r--r--chrome/browser/views/bookmark_bar_view.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/views/bookmark_bar_view.h b/chrome/browser/views/bookmark_bar_view.h
index b82b669..caca1aa 100644
--- a/chrome/browser/views/bookmark_bar_view.h
+++ b/chrome/browser/views/bookmark_bar_view.h
@@ -97,6 +97,10 @@ class BookmarkBarView : public views::View,
virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child);
virtual void Paint(gfx::Canvas* canvas);
virtual void PaintChildren(gfx::Canvas* canvas);
+ virtual bool GetDropFormats(
+ int* formats,
+ std::set<OSExchangeData::CustomFormat>* custom_formats);
+ virtual bool AreDropTypesRequired();
virtual bool CanDrop(const OSExchangeData& data);
virtual void OnDragEntered(const views::DropTargetEvent& event);
virtual int OnDragUpdated(const views::DropTargetEvent& event);