From d99bf7472cb7c9e2adaeda17d497a2b1d7abb5a9 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Thu, 25 Jun 2009 00:17:01 +0000 Subject: bookmarks dnd: - Correct row index calculation in bookmark manager drag receive. - Support multiple target dnd also see http://crbug.com/15240 BUG=none TEST=multi dragging in bookmark manager/bookmark bar. See cited bug for explanation of how to multi-drag. Review URL: http://codereview.chromium.org/147107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19203 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/gtk/bookmark_utils_gtk.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chrome/browser/gtk/bookmark_utils_gtk.h') diff --git a/chrome/browser/gtk/bookmark_utils_gtk.h b/chrome/browser/gtk/bookmark_utils_gtk.h index 9306f20..819748c 100644 --- a/chrome/browser/gtk/bookmark_utils_gtk.h +++ b/chrome/browser/gtk/bookmark_utils_gtk.h @@ -35,6 +35,12 @@ void WriteBookmarkToSelection(BookmarkNode* node, guint target_type, Profile* profile); +// Pickle a vector of nodes into a GtkSelection. +void WriteBookmarksToSelection(const std::vector& nodes, + GtkSelectionData* selection_data, + guint target_type, + Profile* profile); + // Un-pickle node(s) from a GtkSelection. // The last two arguments are out parameters. std::vector GetNodesFromSelection( -- cgit v1.1