| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_DRAG_DROP_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_DRAG_DROP_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_DRAG_DROP_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_DRAG_DROP_VIEWS_H_ |
| 7 | 7 |
| 8 class BookmarkNode; | 8 class BookmarkNode; |
| 9 struct BookmarkNodeData; | 9 struct BookmarkNodeData; |
| 10 class Profile; | 10 class Profile; |
| 11 | 11 |
| 12 namespace content { | 12 namespace content { |
| 13 class BrowserContext; | 13 class BrowserContext; |
| 14 } | 14 } |
| 15 | 15 |
| 16 namespace ui { | 16 namespace ui { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 42 // a drop from the same profile is only allowed if none of the nodes in | 42 // a drop from the same profile is only allowed if none of the nodes in |
| 43 // |data| are an ancestor of |drop_parent| and one of the nodes isn't already | 43 // |data| are an ancestor of |drop_parent| and one of the nodes isn't already |
| 44 // a child of |drop_parent| at |index|. | 44 // a child of |drop_parent| at |index|. |
| 45 bool IsValidBookmarkDropLocation(Profile* profile, | 45 bool IsValidBookmarkDropLocation(Profile* profile, |
| 46 const BookmarkNodeData& data, | 46 const BookmarkNodeData& data, |
| 47 const BookmarkNode* drop_parent, | 47 const BookmarkNode* drop_parent, |
| 48 int index); | 48 int index); |
| 49 | 49 |
| 50 } // namespace chrome | 50 } // namespace chrome |
| 51 | 51 |
| 52 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_DRAG_DROP_H_ | 52 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_DRAG_DROP_VIEWS_H_ |
| OLD | NEW |