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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_folder_target.h

Issue 1854223002: mac: Fix bookmark drag and drop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp37_dnd
Patch Set: Fix memory leak. Created 4 years, 8 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/cocoa/bookmarks/bookmark_folder_target.h
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_folder_target.h b/chrome/browser/ui/cocoa/bookmarks/bookmark_folder_target.h
index 8c366594de3842c19cc4bf966b81f1727029a3ec..edcf55a9736492957afee9c467f6790d764de729 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_folder_target.h
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_folder_target.h
@@ -30,11 +30,8 @@ class Profile;
// Main IBAction for a button click.
- (IBAction)openBookmarkFolderFromButton:(id)sender;
-// Fill the given pasteboard with appropriate data when the given button is
-// dragged. Since the delegate has no way of providing pasteboard data later,
-// all data must actually be put into the pasteboard and not merely promised.
-- (void)fillPasteboard:(NSPasteboard*)pboard
- forDragOfButton:(BookmarkButton*)button;
+// Returns a pasteboard item that has all bookmark information.
+- (NSPasteboardItem*)pasteboardItemForDragOfButton:(BookmarkButton*)button;
@end

Powered by Google App Engine
This is Rietveld 408576698