diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-30 06:37:36 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-30 06:37:36 +0000 |
commit | aedec4f0910a973ef0bd13bdb3bcec36b00922c4 (patch) | |
tree | 4bb0aa3f522262ed34c0b5ed64b33a02693be622 /chrome/chrome_tests.gypi | |
parent | 686e89ddab3da88b913292ff4e8bd97ccb8209d9 (diff) | |
download | chromium_src-aedec4f0910a973ef0bd13bdb3bcec36b00922c4.zip chromium_src-aedec4f0910a973ef0bd13bdb3bcec36b00922c4.tar.gz chromium_src-aedec4f0910a973ef0bd13bdb3bcec36b00922c4.tar.bz2 |
Make 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.
Review URL: http://codereview.chromium.org/180036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37621 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_tests.gypi')
-rwxr-xr-x | chrome/chrome_tests.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi index 3611dae3..1e5823b 100755 --- a/chrome/chrome_tests.gypi +++ b/chrome/chrome_tests.gypi @@ -602,9 +602,11 @@ 'browser/cocoa/cookies_window_controller_unittest.mm', 'browser/cocoa/custom_home_pages_model_unittest.mm', 'browser/cocoa/delayedmenu_button_unittest.mm', + 'browser/cocoa/download_item_button_unittest.mm', 'browser/cocoa/download_shelf_mac_unittest.mm', 'browser/cocoa/download_shelf_view_unittest.mm', 'browser/cocoa/download_util_mac_unittest.mm', + 'browser/cocoa/draggable_button_unittest.mm', 'browser/cocoa/edit_search_engine_cocoa_controller_unittest.mm', 'browser/cocoa/extensions/extension_popup_controller_unittest.mm', 'browser/cocoa/event_utils_unittest.mm', |