summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/draggable_button.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix stuck highlight state when dragging other bookmarks folder, or when ↵feldstein@chromium.org2010-04-161-9/+12
| | | | | | | | | | | | | | | dragging something from the download shelf. DraggingButton.mm was setting up non-draggable buttons to be ready for drag. DownloadShelfButtons never called endDrag. BUG=40594 TEST=Try to drag the Other Bookmarks button. It shouldn't stay highlighted. Review URL: http://codereview.chromium.org/1648003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44830 0039d316-1c4b-4281-b951-d872f2087c98
* Make download items drag sources on OS X.thakis@chromium.org2010-01-301-0/+30
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. Review URL: http://codereview.chromium.org/180036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37621 0039d316-1c4b-4281-b951-d872f2087c98