Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1005)

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.h

Issue 422673002: Move BookmarkNodeData into bookmarks namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.h
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.h b/chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.h
index 4377103baa32f5001163fcbea17d1c2e4a8d76b7..1dcf68f203407d40578757d1c147ae6527a88ca6 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.h
+++ b/chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.h
@@ -6,9 +6,12 @@
#define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_DRAG_DROP_VIEWS_H_
class BookmarkNode;
-struct BookmarkNodeData;
class Profile;
+namespace bookmarks {
+struct BookmarkNodeData;
+}
+
namespace content {
class BrowserContext;
}
@@ -33,7 +36,7 @@ int GetPreferredBookmarkDropOperation(int source_operations, int operations);
// drop is over.
int GetBookmarkDropOperation(Profile* profile,
const ui::DropTargetEvent& event,
- const BookmarkNodeData& data,
+ const bookmarks::BookmarkNodeData& data,
const BookmarkNode* parent,
int index);
@@ -43,7 +46,7 @@ int GetBookmarkDropOperation(Profile* profile,
// |data| are an ancestor of |drop_parent| and one of the nodes isn't already
// a child of |drop_parent| at |index|.
bool IsValidBookmarkDropLocation(Profile* profile,
- const BookmarkNodeData& data,
+ const bookmarks::BookmarkNodeData& data,
const BookmarkNode* drop_parent,
int index);
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698