Add a minor text member to ui::MenuModel.
[chromium-blink-merge.git] / chrome / browser / ui / bookmarks / bookmark_drag_drop.h
blob67dfa47da208284cbfde7c19ac2ab8b5934e0cfb
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/gfx/native_widget_types.h"
12 class BookmarkNode;
13 struct BookmarkNodeData;
14 class Profile;
16 namespace chrome {
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,
28 int index);
30 } // namespace chrome
32 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_DRAG_DROP_H_