Chromium Code Reviews
DescriptionMake download items drag sources on OS X.
Extract button dragging out of BookmarkButton into DraggableButton. Make BookmarkButton a subclass of DraggableButton. Create new class DownloadItemButton and make it a subclass of DraggableButton.
xib change: Make download item a DownloadItemButton instead of an NSButton.
BUG=15776
TEST=Download something, wait for it to complete, then drag it from the download shelf to somewhere. It should now work. Bookmarks should still be draggable in the bookmarks bar.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=37621
Patch Set 1 #Patch Set 2 : forgot to add new files #Patch Set 3 : update comment #Patch Set 4 : 5 months of rebase, refactor dragging stuff #Patch Set 5 : works #Patch Set 6 : only drag if download done #Patch Set 7 : '' #
Total comments: 35
Patch Set 8 : comments #Messages
Total messages: 8 (0 generated)
|