OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/bookmarks/bookmark_drag_drop.h" | 5 #include "chrome/browser/ui/bookmarks/bookmark_drag_drop.h" |
6 | 6 |
7 #include "chrome/browser/ui/gtk/custom_drag.h" | 7 #include "chrome/browser/ui/gtk/bookmarks/bookmark_drag.h" |
8 | 8 |
9 namespace chrome { | 9 namespace chrome { |
10 | 10 |
11 void DragBookmarks(Profile* profile, | 11 void DragBookmarks(Profile* profile, |
12 const std::vector<const BookmarkNode*>& nodes, | 12 const std::vector<const BookmarkNode*>& nodes, |
13 gfx::NativeView view) { | 13 gfx::NativeView view) { |
14 DCHECK(!nodes.empty()); | 14 DCHECK(!nodes.empty()); |
15 | 15 |
16 BookmarkDrag::BeginDrag(profile, nodes); | 16 BookmarkDrag::BeginDrag(profile, nodes); |
17 } | 17 } |
18 | 18 |
19 } // namespace chrome | 19 } // namespace chrome |
OLD | NEW |