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

Issue 2803473003: Fix an issue that drag and drop image always has default file name. (Closed)

Created:
3 years, 8 months ago by xingliu
Modified:
3 years, 8 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, hush (inactive)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix an issue that drag and drop image always has default file name. The reason is content::DropData is passed between renderer and browser through IPC message, but we didn't declare several fields as IPC_STRUCT_TRAITS. Also noticed content::DropData.file_mime_types and did_originate_from_renderer are also not declared. This CL didn't add those in case it breaks something else. BUG=702173 Review-Url: https://codereview.chromium.org/2803473003 Cr-Commit-Position: refs/heads/master@{#461942} Committed: https://chromium.googlesource.com/chromium/src/+/0b5c13253a5c567373cf037d336a998601105082

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M content/common/drag_traits.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
xingliu
Hi, PTAL, thanks, this CL fixed a drag and drop issue.
3 years, 8 months ago (2017-04-05 00:01:50 UTC) #2
alexmos
LGTM. Please follow up on adding the other missing fields to the traits or at ...
3 years, 8 months ago (2017-04-05 00:43:12 UTC) #4
xingliu
On 2017/04/05 00:43:12, alexmos wrote: > LGTM. Please follow up on adding the other missing ...
3 years, 8 months ago (2017-04-05 00:56:11 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2803473003/1
3 years, 8 months ago (2017-04-05 00:57:36 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/0b5c13253a5c567373cf037d336a998601105082
3 years, 8 months ago (2017-04-05 02:24:07 UTC) #10
dcheng
3 years, 8 months ago (2017-04-05 02:35:00 UTC) #11
Message was sent while issue was closed.
On 2017/04/05 02:24:07, commit-bot: I haz the power wrote:
> Committed patchset #1 (id:1) as
>
https://chromium.googlesource.com/chromium/src/+/0b5c13253a5c567373cf037d336a...

Doh, thanks for catching this. I tested a couple different combinations, but
missed that this wasn't plumbed through.

LGTM

Powered by Google App Engine
This is Rietveld 408576698