commit | a316ad7a2e6baefb32be587e2cd701930a092dad | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Dec 03 01:17:28 2013 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Dec 03 01:17:28 2013 |
tree | 12fbdcc8b7330b5560c9794c9c4af1674ec77a3a | |
parent | 41761472c8a4d9111035c73e4c03ed66db31186f [diff] |
Revert 238253 "Fix dragging supported files to tab strip." Probably due to submit order conflict this seems to have broken Linux chromeos build (compile): http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Builder/builds/60931 > 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 > [email protected], [email protected] > > Review URL: https://codereview.chromium.org/68133020 [email protected] Review URL: https://codereview.chromium.org/100773002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238260 0039d316-1c4b-4281-b951-d872f2087c98