diff options
author | michaelpg@chromium.org <michaelpg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-03 00:52:40 +0000 |
---|---|---|
committer | michaelpg@chromium.org <michaelpg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-03 00:52:40 +0000 |
commit | 883da84ac81528bce94c0ec5a1ecb3047bb06e69 (patch) | |
tree | b5bb2d0abd57c979ce20d9355bf8e2c543bb1ff3 /extensions | |
parent | 396b3f093cee5da4867dc6e93924ed8ab062f940 (diff) | |
download | chromium_src-883da84ac81528bce94c0ec5a1ecb3047bb06e69.zip chromium_src-883da84ac81528bce94c0ec5a1ecb3047bb06e69.tar.gz chromium_src-883da84ac81528bce94c0ec5a1ecb3047bb06e69.tar.bz2 |
Fix dragging supported files to tab strip.
Use the inferred MIME type of download items, rather than the server value,
when deciding if the tab strip can allow a drop. Get the MIME type
asynchronously so we don't crash (IO must be allowed in the call to
GetMimeTypeFromFile).
Also check the profile's plugins when determining whether a MIME type is
supported.
Regardless of whether a file is supported, the dragging operation should
still be allowed so that spring-loaded tabs work with file drags.
BUG=274288
R=asanka@chromium.org, sky@chromium.org
Review URL: https://codereview.chromium.org/68133020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238253 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions')
0 files changed, 0 insertions, 0 deletions