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

Issue 164459: Implement drag and drop of downloads for the Mac downloads page (Closed)

Created:
11 years, 4 months ago by Paul Godavari
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, John Grabowski, Paul Godavari, Ben Goodger (Google)
Visibility:
Public.

Description

Implement drag and drop of downloads for the Mac downloads page. BUG=15776 (http://crbug.com/15776) TEST=Download an item, open the download page, drag the icon of the download to the desktop. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23548

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 8

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 1

Patch Set 10 : '' #

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -14 lines) Patch
A chrome/browser/cocoa/download_util_mac.h View 7 1 chunk +15 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/download_util_mac.mm View 1 2 3 4 5 6 7 8 1 chunk +58 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/download_util_mac_unittest.mm View 7 8 9 1 chunk +48 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/downloads_dom_handler.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/download/download_util.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/download/download_util.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/views/download_item_view.cc View 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/common/temp_scaffolding_stubs.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/common/temp_scaffolding_stubs.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Paul Godavari
11 years, 4 months ago (2009-08-13 16:09:35 UTC) #1
pink (ping after 24hrs)
LGTM with some nits, would be even better with a unit test, per below. http://codereview.chromium.org/164459/diff/53/55 ...
11 years, 4 months ago (2009-08-14 14:43:50 UTC) #2
Paul Godavari
Updated as per your comments. What do you think the best approach is for getting ...
11 years, 4 months ago (2009-08-14 17:20:26 UTC) #3
pink (ping after 24hrs)
11 years, 4 months ago (2009-08-17 15:48:53 UTC) #4
LGTM with one fix to unit test.

http://codereview.chromium.org/164459/diff/1071/82
File chrome/browser/cocoa/download_util_mac_unittest.mm (right):

http://codereview.chromium.org/164459/diff/1071/82#newcode24
Line 24: NSPasteboard* pasteboard = [NSPasteboard
pasteboardWithName:NSDragPboard];
i wouldn't use this, there's a method to create a guaranteed unique pasteboard.
This might get disturbed by someone using their machine while the tests were
running.

Powered by Google App Engine
This is Rietveld 408576698