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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop.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
Index: chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop.h
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop.h b/chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop.h
new file mode 100644
index 0000000000000000000000000000000000000000..ed2ac086617072afbcac7c766c78f0b7a82f86ce
--- /dev/null
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop.h
@@ -0,0 +1,23 @@
+// Copyright 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_DRAG_DROP_H_
+#define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_DRAG_DROP_H_
+
+#include "base/string16.h"
+
+#if defined(__OBJC__)
+@class NSImage;
+#else // __OBJC__
+class NSImage;
+#endif // __OBJC__
+
+namespace chrome {
+
+// Returns a drag image for a bookmark.
+NSImage* DragImageForBookmark(NSImage* favicon, const string16& title);
+
+} // namespace chrome
+
+#endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_DRAG_DROP_H_
« no previous file with comments | « chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.mm ('k') | chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698