summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bookmarks/bookmark_drag_data.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-28 02:27:48 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-28 02:27:48 +0000
commit84eb368957b9ae951894bc97673384d317addcfc (patch)
tree6371a1a075a3f90d0727b2b13e44ac143b5a281e /chrome/browser/bookmarks/bookmark_drag_data.h
parentac120ff0d2d174c9a3497f0d84b8311bf354cd0e (diff)
downloadchromium_src-84eb368957b9ae951894bc97673384d317addcfc.zip
chromium_src-84eb368957b9ae951894bc97673384d317addcfc.tar.gz
chromium_src-84eb368957b9ae951894bc97673384d317addcfc.tar.bz2
GTK: make tabbed bookmark manager compatible with more types of drops.
BUG=42466 TEST=see bug. Also, drags from firefox bookmark bar to tabbed bookmark manager should work. Review URL: http://codereview.chromium.org/1691018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45778 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_drag_data.h')
-rw-r--r--chrome/browser/bookmarks/bookmark_drag_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/bookmarks/bookmark_drag_data.h b/chrome/browser/bookmarks/bookmark_drag_data.h
index 7f007a2..b4b65da 100644
--- a/chrome/browser/bookmarks/bookmark_drag_data.h
+++ b/chrome/browser/bookmarks/bookmark_drag_data.h
@@ -89,6 +89,9 @@ struct BookmarkDragData {
// Reads bookmarks from the given vector.
bool ReadFromVector(const std::vector<const BookmarkNode*>& nodes);
+ // Creates a single-bookmark DragData from url/title pair.
+ bool ReadFromTuple(const GURL& url, const string16& title);
+
// Writes elements to the clipboard.
void WriteToClipboard(Profile* profile) const;