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

Unified Diff: chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h

Issue 11428161: bookmarks: Break the dependency in ui/cocoa. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix2 Created 8 years 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
« no previous file with comments | « chrome/browser/bookmarks/DEPS ('k') | chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h
diff --git a/chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h b/chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h
index 98fe3e1e442a07ad7dac07e97df5e99179d46a03..d5d7797be64737b09fbe478e7583a3997d7677b8 100644
--- a/chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h
+++ b/chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h
@@ -7,13 +7,9 @@
#include "base/file_path.h"
#include "chrome/browser/bookmarks/bookmark_node_data.h"
-#include "ui/gfx/native_widget_types.h"
#if defined(__OBJC__)
-@class NSImage;
@class NSString;
-#else // __OBJC__
-class NSImage;
#endif // __OBJC__
// This set of functions lets C++ code interact with the cocoa pasteboard
@@ -40,14 +36,6 @@ bool ReadFromPasteboard(PasteboardType type,
// valid bookmark.
bool PasteboardContainsBookmarks(PasteboardType type);
-// Returns a drag image for a bookmark.
-NSImage* DragImageForBookmark(NSImage* favicon, const string16& title);
-
-// Copies the bookmark nodes to the dragging pasteboard and initiates a
-// drag from the specified view. |view| must be a |TabContentsViewCocoa*|.
-void StartDrag(Profile* profile, const std::vector<const BookmarkNode*>& nodes,
- gfx::NativeView view);
-
} // namespace bookmark_pasteboard_helper_mac
#if defined(__OBJC__)
« no previous file with comments | « chrome/browser/bookmarks/DEPS ('k') | chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698