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

Issue 242643004: Support drag and drop of files with filesystem: URL (Closed)

Created:
6 years, 8 months ago by hashimoto
Modified:
6 years, 8 months ago
Reviewers:
kinuko, jam
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, dcheng, creis+watch_chromium.org, tzik
Visibility:
Public.

Description

Support drag and drop of files with filesystem: URL Filter filesystem files in RenderViewHostImpl::OnStartDragging. Create isolated filesystem for each filesystem file in RenderViewHostImpl::DragTargetDragEnter. Add file_system_files to content::DropData. Wire information from blink::WebDragData to ui::OSExchangeData. blink::WebDragData -[drop_data_builder.cc]-> content::DropData -[web_contents_view_aura.cc]-> ui::OSExchangeData Wire information from ui::OSExchangeData to blink::WebDragData. ui::OSExchangeData -[web_contents_view_aura.cc]-> content::DropData -[render_view_impl.cc]-> blink::WebDragData BUG=126766 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265616

Patch Set 1 : #

Patch Set 2 : Fix SEGV during tests #

Total comments: 3

Patch Set 3 : Add comment #

Total comments: 2

Patch Set 4 : rebase #

Patch Set 5 : Inline ctor & dtor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -2 lines) Patch
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 3 chunks +36 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 3 chunks +58 lines, -0 lines 0 comments Download
M content/common/drag_traits.h View 2 chunks +6 lines, -0 lines 0 comments Download
M content/public/common/drop_data.h View 1 2 3 4 2 chunks +11 lines, -0 lines 0 comments Download
M content/renderer/drop_data_builder.cc View 1 chunk +7 lines, -2 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
hashimoto
6 years, 8 months ago (2014-04-18 09:30:38 UTC) #1
kinuko
(Also +cc tzik@ to share contexts with slightly wider ppl) https://codereview.chromium.org/242643004/diff/30001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/242643004/diff/30001/content/browser/renderer_host/render_view_host_impl.cc#newcode1400 ...
6 years, 8 months ago (2014-04-21 03:31:38 UTC) #2
kinuko
On 2014/04/21 03:31:38, kinuko wrote: > (Also +cc tzik@ to share contexts with slightly wider ...
6 years, 8 months ago (2014-04-21 05:05:36 UTC) #3
kinuko
On 2014/04/21 05:05:36, kinuko wrote: > On 2014/04/21 03:31:38, kinuko wrote: > > (Also +cc ...
6 years, 8 months ago (2014-04-21 06:00:48 UTC) #4
kinuko
Ok, from filesystem pov I think this lgtm. Thanks! https://codereview.chromium.org/242643004/diff/30001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/242643004/diff/30001/content/browser/renderer_host/render_view_host_impl.cc#newcode792 content/browser/renderer_host/render_view_host_impl.cc:792: ...
6 years, 8 months ago (2014-04-21 06:08:27 UTC) #5
hashimoto
https://codereview.chromium.org/242643004/diff/30001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/242643004/diff/30001/content/browser/renderer_host/render_view_host_impl.cc#newcode792 content/browser/renderer_host/render_view_host_impl.cc:792: fileapi::FileSystemURL file_system_url = On 2014/04/21 06:08:27, kinuko wrote: > ...
6 years, 8 months ago (2014-04-21 08:12:45 UTC) #6
hashimoto
jam@, could you take a look at this change?
6 years, 8 months ago (2014-04-21 08:38:33 UTC) #7
jam
lgtm https://codereview.chromium.org/242643004/diff/60001/content/public/common/drop_data.cc File content/public/common/drop_data.cc (right): https://codereview.chromium.org/242643004/diff/60001/content/public/common/drop_data.cc#newcode9 content/public/common/drop_data.cc:9: DropData::FileSystemFileInfo::FileSystemFileInfo() : size(0) {} nit: i think you ...
6 years, 8 months ago (2014-04-22 17:11:27 UTC) #8
hashimoto
https://codereview.chromium.org/242643004/diff/60001/content/public/common/drop_data.cc File content/public/common/drop_data.cc (right): https://codereview.chromium.org/242643004/diff/60001/content/public/common/drop_data.cc#newcode9 content/public/common/drop_data.cc:9: DropData::FileSystemFileInfo::FileSystemFileInfo() : size(0) {} On 2014/04/22 17:11:28, jam wrote: ...
6 years, 8 months ago (2014-04-23 03:42:37 UTC) #9
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 8 months ago (2014-04-23 03:42:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/242643004/100001
6 years, 8 months ago (2014-04-23 03:43:00 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-23 09:38:17 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-23 09:38:17 UTC) #13
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 8 months ago (2014-04-23 09:48:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/242643004/100001
6 years, 8 months ago (2014-04-23 09:49:11 UTC) #15
commit-bot: I haz the power
6 years, 8 months ago (2014-04-23 12:19:51 UTC) #16
Message was sent while issue was closed.
Change committed as 265616

Powered by Google App Engine
This is Rietveld 408576698