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

Issue 211383007: Use FilePaths in content::DropData to avoid redundant conversions. (Closed)

Created:
6 years, 9 months ago by dcheng
Modified:
6 years, 9 months ago
Reviewers:
jam, sky, sky1
CC:
chromium-reviews, robertshield, creis+watch_chromium.org, extensions-reviews_chromium.org, nasko+codewatch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Use FilePaths in content::DropData to avoid redundant conversions. BUG=none R=jam@chromium.org, sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260293

Patch Set 1 #

Patch Set 2 : 'Fix' GTK #

Patch Set 3 : Rebase #

Patch Set 4 : Split FileInfo off into its own module #

Patch Set 5 : New files #

Patch Set 6 : Fix Mac #

Patch Set 7 : Blind fixes for CrOS/Win #

Patch Set 8 : clang-format #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -130 lines) Patch
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/drag_download_item_views.cc View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/extensions/install_extension_handler.cc View 1 2 3 1 chunk +6 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 3 chunks +13 lines, -15 lines 0 comments Download
M content/browser/renderer_host/render_view_host_unittest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -23 lines 0 comments Download
M content/browser/web_contents/web_drag_dest_gtk.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/web_contents/web_drag_dest_mac.mm View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M content/common/drag_traits.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/drop_data.h View 1 2 3 2 chunks +2 lines, -12 lines 0 comments Download
M content/public/common/drop_data.cc View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M content/renderer/drop_data_builder.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
A ui/base/dragdrop/file_info.h View 1 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download
A ui/base/dragdrop/file_info.cc View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 2 comments Download
M ui/base/dragdrop/os_exchange_data.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -11 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data.cc View 1 2 3 1 chunk +0 lines, -9 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aura.h View 1 2 3 4 5 6 3 chunks +3 lines, -5 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aura.cc View 1 2 3 4 5 6 3 chunks +4 lines, -3 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aurax11.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -4 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aurax11.cc View 1 2 3 4 5 6 7 5 chunks +10 lines, -9 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aurax11_unittest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_win.h View 1 2 3 4 5 6 2 chunks +2 lines, -4 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_win.cc View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
M ui/base/ui_base.gyp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
dcheng
I noticed a lot of redundant conversions when I was fixing some other bugs in ...
6 years, 9 months ago (2014-03-26 00:19:39 UTC) #1
dcheng
(I haven't converted the Mac/GTK ports yet. Curious to hear your comments on the overall ...
6 years, 9 months ago (2014-03-26 00:20:38 UTC) #2
jam
lgtm
6 years, 9 months ago (2014-03-26 16:54:38 UTC) #3
jam
On 2014/03/26 00:20:38, dcheng wrote: > (I haven't converted the Mac/GTK ports yet. Curious to ...
6 years, 9 months ago (2014-03-26 16:55:42 UTC) #4
dcheng
Updated to fix build on other platforms. I've moved ui::OSExchangeData::FileInfo into its own header, as ...
6 years, 9 months ago (2014-03-27 21:43:27 UTC) #5
sky
LGTM https://codereview.chromium.org/211383007/diff/140001/ui/base/dragdrop/file_info.cc File ui/base/dragdrop/file_info.cc (right): https://codereview.chromium.org/211383007/diff/140001/ui/base/dragdrop/file_info.cc#newcode13 ui/base/dragdrop/file_info.cc:13: : path(path), display_name(display_name) {} nit: since you wrapped, ...
6 years, 9 months ago (2014-03-27 23:22:33 UTC) #6
dcheng
https://codereview.chromium.org/211383007/diff/140001/ui/base/dragdrop/file_info.cc File ui/base/dragdrop/file_info.cc (right): https://codereview.chromium.org/211383007/diff/140001/ui/base/dragdrop/file_info.cc#newcode13 ui/base/dragdrop/file_info.cc:13: : path(path), display_name(display_name) {} On 2014/03/27 23:22:34, sky wrote: ...
6 years, 9 months ago (2014-03-27 23:26:27 UTC) #7
sky1
If that is what clang-format says, go with it. On Thu, Mar 27, 2014 at ...
6 years, 9 months ago (2014-03-27 23:37:53 UTC) #8
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 9 months ago (2014-03-27 23:40:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/211383007/140001
6 years, 9 months ago (2014-03-27 23:42:37 UTC) #10
dcheng
The CQ bit was unchecked by dcheng@chromium.org
6 years, 9 months ago (2014-03-28 20:35:46 UTC) #11
dcheng
6 years, 9 months ago (2014-03-28 21:55:34 UTC) #12
Message was sent while issue was closed.
Committed patchset #8 manually as r260293 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698