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/gfx/native_widget_types.h"
13 struct BookmarkNodeData
;
18 // Stars the process of dragging a folder of bookmarks.
19 void DragBookmarks(Profile
* profile
,
20 const std::vector
<const BookmarkNode
*>& nodes
,
21 gfx::NativeView view
);
23 // Drops the bookmark nodes that are in |data| onto |parent_node| at |index|.
24 // Returns the drop type used.
25 int DropBookmarks(Profile
* profile
,
26 const BookmarkNodeData
& data
,
27 const BookmarkNode
* parent_node
,
32 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_DRAG_DROP_H_