diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-25 00:17:01 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-25 00:17:01 +0000 |
commit | d99bf7472cb7c9e2adaeda17d497a2b1d7abb5a9 (patch) | |
tree | 613d7cedcb20473a7f8f238ae79630e3b3b8230d /chrome/browser/gtk/bookmark_utils_gtk.h | |
parent | e953d76afc04c4bb5357866836116a25e5296924 (diff) | |
download | chromium_src-d99bf7472cb7c9e2adaeda17d497a2b1d7abb5a9.zip chromium_src-d99bf7472cb7c9e2adaeda17d497a2b1d7abb5a9.tar.gz chromium_src-d99bf7472cb7c9e2adaeda17d497a2b1d7abb5a9.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/gtk/bookmark_utils_gtk.h')
-rw-r--r-- | chrome/browser/gtk/bookmark_utils_gtk.h | 6 |
1 files changed, 6 insertions, 0 deletions
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<BookmarkNode*>& 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<BookmarkNode*> GetNodesFromSelection( |