Skip to content
  • kinuko@chromium.org's avatar
    Refactor InputType::receiveDroppedFiles to take DragData · c9b46971
    kinuko@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=88860
    
    Reviewed by Kent Tamura.
    
    So that we can centralize the file paths related code into FileInputType
    and makes it easier to extract more data from DragData for
    <input type=file> (like bug 88293 for directory drag-and-drop).
    
    No new tests as this has no behavioral changes.
    
    * html/FileInputType.cpp:
    (WebCore::FileInputType::receiveDroppedFiles):
    * html/FileInputType.h:
    * html/HTMLInputElement.cpp:
    (WebCore::HTMLInputElement::receiveDroppedFiles):
    * html/HTMLInputElement.h:
    * html/InputType.cpp:
    (WebCore::InputType::receiveDroppedFiles):
    * html/InputType.h:
    * page/DragController.cpp:
    (WebCore::DragController::concludeEditDrag):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c9b46971