[chromium] DragData::asURL should return file URL.
authorjianli@chromium.org <jianli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Sep 2009 18:13:00 +0000 (18:13 +0000)
committerjianli@chromium.org <jianli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Sep 2009 18:13:00 +0000 (18:13 +0000)
commitcb1a758b45a76982980ec251a980f7de54bb9e6c
tree38489c53d1f81618e433d1c5b8d74ec1b8507461
parent52ef433d49d959c30a586a66d276bc80eb6440ca
[chromium] DragData::asURL should return file URL.
https://bugs.webkit.org/show_bug.cgi?id=29109

Reviewed by David Levin.

Tested by LayoutTests/fast/events/drag-to-navigate.html.

* platform/FileSystem.h:
* platform/chromium/ChromiumBridge.h:
* platform/chromium/DragDataChromium.cpp:
(WebCore::DragData::asURL):
* platform/chromium/FileSystemChromium.cpp:
(WebCore::getAbsolutePath):
(WebCore::isDirectory):
(WebCore::filePathToURL):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/FileSystem.h
WebCore/platform/chromium/ChromiumBridge.h
WebCore/platform/chromium/DragDataChromium.cpp
WebCore/platform/chromium/FileSystemChromium.cpp