blob: 67dfa47da208284cbfde7c19ac2ab8b5934e0cfb [file] [log] [blame]
// 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 <vector>
#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<const BookmarkNode*>& 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_