Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / views / bookmarks / bookmark_drag_drop_views.cc
index 557a5a6..3b57e34 100644 (file)
@@ -20,6 +20,8 @@
 #include "ui/views/drag_utils.h"
 #include "ui/views/widget/widget.h"
 
+using bookmarks::BookmarkNodeData;
+
 namespace chrome {
 
 void DragBookmarks(Profile* profile,
@@ -39,7 +41,7 @@ void DragBookmarks(Profile* profile,
 
   int operation = ui::DragDropTypes::DRAG_COPY | ui::DragDropTypes::DRAG_LINK;
   BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile);
-  if (bookmark_utils::CanAllBeEditedByUser(model->client(), nodes))
+  if (bookmarks::CanAllBeEditedByUser(model->client(), nodes))
     operation |= ui::DragDropTypes::DRAG_MOVE;
 
   views::Widget* widget = views::Widget::GetWidgetForNativeView(view);