summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/draggable_button.mm
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace change to trigger bots.viettrungluu@chromium.org2010-06-051-2/+2
| | | | | | | | TBR=viettrungluu@chromium.org Review URL: http://codereview.chromium.org/2689005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49002 0039d316-1c4b-4281-b951-d872f2087c98
* Fix stuck highlight state when dragging other bookmarks folder, or when ↵feldstein@chromium.org2010-04-161-39/+86
| | | | | | | | | | | | | | | 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
* Fix "drag cancel" semantics.jrg@chromium.org2010-03-111-9/+7
| | | | | | | | | | | | | | BUG=37967 TEST=\ 1) make sure bookmark buttons still work (click to open) 2) make sure basic DnD of bookmark buttons still works 3) In Debug build, drag a bookmark button. ESC to cancel. Then mouse up. Make sure no crash. Review URL: http://codereview.chromium.org/871002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41340 0039d316-1c4b-4281-b951-d872f2087c98
* Make download items drag sources on OS X.thakis@chromium.org2010-01-301-0/+105
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