summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bookmarks/bookmark_utils.h
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-20 02:06:16 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-20 02:06:16 +0000
commitced90ae1159e8967837cd13b9155956467a811f9 (patch)
treeb052ff281b583fdcc12f6bea883f83db663ae92f /chrome/browser/bookmarks/bookmark_utils.h
parentddf796cffe2f905a36764bc2e46cc8325a560c51 (diff)
downloadchromium_src-ced90ae1159e8967837cd13b9155956467a811f9.zip
chromium_src-ced90ae1159e8967837cd13b9155956467a811f9.tar.gz
chromium_src-ced90ae1159e8967837cd13b9155956467a811f9.tar.bz2
Bookmark Manager Drag and Drop backend.
This adds the following methods to chrome.experimental.bookmarkManager: startDrag(idList) drop(parentId, opt_index) as well as the following events: onDragEnter(function(BookmarkDragData)) onDragLeave(function(BookmarkDragData)) onDrop(function(BookmarkDragData)) BUG=32194 TEST=None Review URL: http://codereview.chromium.org/596105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39540 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_utils.h')
-rw-r--r--chrome/browser/bookmarks/bookmark_utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/bookmarks/bookmark_utils.h b/chrome/browser/bookmarks/bookmark_utils.h
index 0bea122..b63c848 100644
--- a/chrome/browser/bookmarks/bookmark_utils.h
+++ b/chrome/browser/bookmarks/bookmark_utils.h
@@ -71,6 +71,11 @@ void CloneDragData(BookmarkModel* model,
const BookmarkNode* parent,
int index_to_add_at);
+// Begins dragging a group of bookmarks.
+void DragBookmarks(Profile* profile,
+ const std::vector<const BookmarkNode*>& nodes,
+ gfx::NativeView view);
+
// Recursively opens all bookmarks. |initial_disposition| dictates how the
// first URL is opened, all subsequent URLs are opened as background tabs.
// |navigator| is used to open the URLs. If |navigator| is NULL the last