• eric@webkit.org's avatar
    2010-04-27 Daniel Cheng <dcheng@chromium.org> · 8a8b11d5
    eric@webkit.org authored
            Reviewed by Jian Li.
            [Chromium] Filter out URLs with a file scheme from text/uri-list when dragging.
            Unfortunately, the simple fix of not populating the drag data with file URLs doesn't work
            since the default drop handling uses the drag data URL to navigate to dropped files/URLs.
            For now, we hack around the problem in the Chromium platform, but the proper long term
            solution is to change DragController::performDrag to check dragData::asFilenames().
            No new tests.
            * platform/chromium/ClipboardChromium.cpp:
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58378 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ClipboardChromium.cpp 17.7 KB