Bug 85673 - [chromium] Add plumbing for file display names for drag and drop
Summary: [chromium] Add plumbing for file display names for drag and drop
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-04 14:58 PDT by Satoru Takabayashi
Modified: 2012-05-04 15:58 PDT (History)
8 users (show)

See Also:


Attachments
Patch (4.88 KB, patch)
2012-05-04 15:09 PDT, Satoru Takabayashi
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Satoru Takabayashi 2012-05-04 14:58:41 PDT
On some filesystems/platforms we want to use a separate display name from the base part of the given platform file path.

E.g. we may want to keep a snapshot file of the selected file in a temporary directory with a cryptic name while it's being processed, but want to use a different human-readable display name for the name that is exposed as File.name or as filename= field in the content disposition.

We've done this before for the file chooser (https://bugs.webkit.org/show_bug.cgi?id=80719) but haven't done this for drag and drop.
Comment 1 Satoru Takabayashi 2012-05-04 15:09:42 PDT
Created attachment 140336 [details]
Patch
Comment 2 WebKit Review Bot 2012-05-04 15:11:05 PDT
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Comment 3 WebKit Review Bot 2012-05-04 15:58:50 PDT
Comment on attachment 140336 [details]
Patch

Clearing flags on attachment: 140336

Committed r116186: <http://trac.webkit.org/changeset/116186>
Comment 4 WebKit Review Bot 2012-05-04 15:58:57 PDT
All reviewed patches have been landed.  Closing bug.