1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_DRAG_DROP_H_
6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_DRAG_DROP_H_
10 #include "ui/base/dragdrop/drag_drop_types.h"
11 #include "ui/gfx/native_widget_types.h"
14 struct BookmarkNodeData
;
19 // Starts the process of dragging a folder of bookmarks.
20 void DragBookmarks(Profile
* profile
,
21 const std::vector
<const BookmarkNode
*>& nodes
,
23 ui::DragDropTypes::DragEventSource source
);
25 // Drops the bookmark nodes that are in |data| onto |parent_node| at |index|.
26 // Returns the drop type used.
27 int DropBookmarks(Profile
* profile
,
28 const BookmarkNodeData
& data
,
29 const BookmarkNode
* parent_node
,
34 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_DRAG_DROP_H_