Temporarily re-enabling SizeAfterPrefChange test with traces (this time for Linux...
[chromium-blink-merge.git] / chrome / browser / ui / bookmarks / bookmark_drag_drop.h
blob1f604b20be6b6fb77e13d3d488ce606ebff5352f
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_
8 #include <vector>
10 #include "ui/base/dragdrop/drag_drop_types.h"
11 #include "ui/gfx/native_widget_types.h"
13 class BookmarkNode;
14 struct BookmarkNodeData;
15 class Profile;
17 namespace chrome {
19 // Starts the process of dragging a folder of bookmarks.
20 void DragBookmarks(Profile* profile,
21 const std::vector<const BookmarkNode*>& nodes,
22 gfx::NativeView view,
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,
30 int index);
32 } // namespace chrome
34 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_DRAG_DROP_H_