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

Issue 351029: Support dragging a virtual file out of the browser. (Closed)

Created:
11 years, 1 month ago by jianli
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, Paul Godavari, jam, ben+cc_chromium.org
Visibility:
Public.

Description

Support dragging a virtual file out of the browser. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=36378

Patch Set 1 #

Total comments: 38

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Total comments: 12

Patch Set 5 : '' #

Total comments: 27

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 68

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 16

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1398 lines, -205 lines) Patch
M app/clipboard/clipboard_util_win.cc View 1 2 3 4 5 6 7 8 10 1 chunk +1 line, -1 line 0 comments Download
M app/os_exchange_data.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +48 lines, -0 lines 0 comments Download
M app/os_exchange_data.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M app/os_exchange_data_provider_win.h View 1 2 3 4 5 6 7 8 9 10 8 chunks +59 lines, -8 lines 0 comments Download
M app/os_exchange_data_provider_win.cc View 1 2 3 4 5 6 7 8 9 10 9 chunks +214 lines, -39 lines 0 comments Download
M app/os_exchange_data_win_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/base_drag_source.h View 3 chunks +3 lines, -3 lines 0 comments Download
M base/base_drag_source.cc View 2 chunks +5 lines, -7 lines 0 comments Download
M base/base_drop_target.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -4 lines 0 comments Download
M base/base_drop_target.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +7 lines, -4 lines 0 comments Download
M base/file_util.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -0 lines 0 comments Download
M base/file_util_win.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -0 lines 0 comments Download
M base/message_loop_unittest.cc View 5 6 7 8 9 10 3 chunks +42 lines, -1 line 0 comments Download
M base/message_pump_win.h View 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M base/message_pump_win.cc View 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/download_item_mac.h View 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/dom_ui/downloads_dom_handler.h View 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/download/download_exe.cc View 4 5 6 7 8 9 10 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/download/download_file.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/download/download_file.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/download/download_manager.h View 1 2 3 4 5 6 7 8 9 10 11 chunks +48 lines, -11 lines 0 comments Download
M chrome/browser/download/download_manager.cc View 1 2 3 4 5 6 7 8 9 10 17 chunks +107 lines, -24 lines 0 comments Download
M chrome/browser/download/download_manager_unittest.cc View 4 5 6 7 8 9 10 4 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/download/download_util.h View 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
A chrome/browser/download/drag_download_file_win.h View 8 9 10 1 chunk +84 lines, -0 lines 0 comments Download
A chrome/browser/download/drag_download_file_win.cc View 8 1 chunk +217 lines, -0 lines 0 comments Download
M chrome/browser/download/save_package.h View 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/save_package.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/download/save_package_unittest.cc View 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gtk/download_item_gtk.h View 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/history/download_types.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/download_resource_handler.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/download_resource_handler.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/download_throttling_resource_handler.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/resource_dispatcher_host.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_dispatcher_host.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/web_drag_source_win.cc View 4 5 6 7 8 9 10 6 chunks +31 lines, -1 line 0 comments Download
M chrome/browser/views/download_item_view.h View 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/views/tab_contents/tab_contents_drag_win.h View 7 1 chunk +93 lines, -0 lines 0 comments Download
A chrome/browser/views/tab_contents/tab_contents_drag_win.cc View 7 8 9 10 1 chunk +328 lines, -0 lines 0 comments Download
M chrome/browser/views/tab_contents/tab_contents_view_win.h View 2 3 4 5 6 7 8 9 10 4 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/views/tab_contents/tab_contents_view_win.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +10 lines, -74 lines 0 comments Download
M chrome/chrome_browser.gypi View 4 5 6 7 8 9 10 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/ui_test_utils.cc View 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/webdropdata.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/webdropdata.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
jianli
11 years, 1 month ago (2009-11-03 23:22:26 UTC) #1
darin (slow to review)
http://codereview.chromium.org/351029/diff/1/5 File app/os_exchange_data_provider_win.cc (right): http://codereview.chromium.org/351029/diff/1/5#newcode246 Line 246: return static_cast<const OSExchangeDataProviderWin&>(data.provider()). nit: please static_cast using pointers ...
11 years, 1 month ago (2009-11-04 17:07:39 UTC) #2
jianli
http://codereview.chromium.org/351029/diff/1/5 File app/os_exchange_data_provider_win.cc (right): http://codereview.chromium.org/351029/diff/1/5#newcode246 Line 246: return static_cast<const OSExchangeDataProviderWin&>(data.provider()). On 2009/11/04 17:07:40, darin wrote: ...
11 years, 1 month ago (2009-11-06 02:47:06 UTC) #3
jianli
Changed to use background thread to do drag-and-drop as we discussed. Move all drag-related codes ...
11 years ago (2009-12-11 00:10:57 UTC) #4
darin (slow to review)
Here's some review comments for changes in base/. I'm sorry for the delay in getting ...
11 years ago (2009-12-15 01:00:33 UTC) #5
jianli
http://codereview.chromium.org/351029/diff/7001/7014 File base/message_loop.h (right): http://codereview.chromium.org/351029/diff/7001/7014#newcode520 base/message_loop.h:520: class InnerMessageLoopHelper { On 2009/12/15 01:00:33, darin wrote: > ...
11 years ago (2009-12-15 19:37:48 UTC) #6
darin (slow to review)
I made it down to chrome/browser/drag_download_file.h. I'll pick up from there next. http://codereview.chromium.org/351029/diff/16001/17006 File app/os_exchange_data.h ...
11 years ago (2009-12-15 21:29:21 UTC) #7
jianli
http://codereview.chromium.org/351029/diff/16001/17006 File app/os_exchange_data.h (right): http://codereview.chromium.org/351029/diff/16001/17006#newcode65 app/os_exchange_data.h:65: struct DownloadFileInfo; On 2009/12/15 21:29:22, darin wrote: > nit: ...
11 years ago (2009-12-15 22:50:21 UTC) #8
jianli
Forgot to include 2 new files tab_contents_drag_win.* in my last patch. Updated the patch.
11 years ago (2009-12-16 02:10:20 UTC) #9
darin (slow to review)
OK, I reviewed up until chrome/browser/tab_contents/web_drag_source_win.cc. http://codereview.chromium.org/351029/diff/18022/20091 File base/file_util_win.cc (right): http://codereview.chromium.org/351029/diff/18022/20091#newcode107 base/file_util_win.cc:107: MOVEFILE_REPLACE_EXISTING) == TRUE; ...
11 years ago (2009-12-17 01:03:44 UTC) #10
darin (slow to review)
OK, done reviewing all files now. http://codereview.chromium.org/351029/diff/18022/20129 File chrome/browser/views/tab_contents/tab_contents_drag_win.cc (right): http://codereview.chromium.org/351029/diff/18022/20129#newcode29 chrome/browser/views/tab_contents/tab_contents_drag_win.cc:29: namespace { nit: ...
11 years ago (2009-12-17 21:43:21 UTC) #11
jianli
http://codereview.chromium.org/351029/diff/18022/20091 File base/file_util_win.cc (right): http://codereview.chromium.org/351029/diff/18022/20091#newcode107 base/file_util_win.cc:107: MOVEFILE_REPLACE_EXISTING) == TRUE; On 2009/12/17 01:03:44, darin wrote: > ...
11 years ago (2009-12-17 23:27:40 UTC) #12
darin (slow to review)
On Thu, Dec 17, 2009 at 3:27 PM, <jianli@chromium.org> wrote: ... > http://codereview.chromium.org/351029/diff/18022/20102#newcode101 > chrome/browser/drag_download_file.cc:101: ...
11 years ago (2009-12-18 18:38:15 UTC) #13
jianli
Thanks a lot. On Fri, Dec 18, 2009 at 10:37 AM, Darin Fisher <darin@chromium.org> wrote: ...
11 years ago (2009-12-18 22:21:01 UTC) #14
darin (slow to review)
On Fri, Dec 18, 2009 at 2:20 PM, Jian Li <jianli@chromium.org> wrote: > Thanks a ...
11 years ago (2009-12-21 04:59:55 UTC) #15
jianli
Changed to always download the file first. Removes all new files and changed related to ...
11 years ago (2009-12-21 20:21:15 UTC) #16
darin (slow to review)
I like the overall simplification. http://codereview.chromium.org/351029/diff/23024/23028 File app/os_exchange_data.h (right): http://codereview.chromium.org/351029/diff/23024/23028#newcode71 app/os_exchange_data.h:71: const std::vector<DownloadFileInfo*>& downloads) = ...
10 years, 11 months ago (2010-01-04 19:35:11 UTC) #17
jianli
All fixed. Thanks. http://codereview.chromium.org/351029/diff/23024/23028 File app/os_exchange_data.h (right): http://codereview.chromium.org/351029/diff/23024/23028#newcode71 app/os_exchange_data.h:71: const std::vector<DownloadFileInfo*>& downloads) = 0; On ...
10 years, 11 months ago (2010-01-05 01:50:04 UTC) #18
darin (slow to review)
10 years, 11 months ago (2010-01-13 07:06:31 UTC) #19
OK, LGTM

Powered by Google App Engine
This is Rietveld 408576698