diff options
author | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-20 02:06:16 +0000 |
---|---|---|
committer | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-20 02:06:16 +0000 |
commit | ced90ae1159e8967837cd13b9155956467a811f9 (patch) | |
tree | b052ff281b583fdcc12f6bea883f83db663ae92f /chrome/browser/bookmarks/bookmark_utils.h | |
parent | ddf796cffe2f905a36764bc2e46cc8325a560c51 (diff) | |
download | chromium_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.h | 5 |
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 |