// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_DRAG_DROP_H_ #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_DRAG_DROP_H_ #include #include "ui/gfx/native_widget_types.h" class BookmarkNode; struct BookmarkNodeData; class Profile; namespace chrome { // Stars the process of dragging a folder of bookmarks. void DragBookmarks(Profile* profile, const std::vector& nodes, gfx::NativeView view); // Drops the bookmark nodes that are in |data| onto |parent_node| at |index|. // Returns the drop type used. int DropBookmarks(Profile* profile, const BookmarkNodeData& data, const BookmarkNode* parent_node, int index); } // namespace chrome #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_DRAG_DROP_H_