Skip to content
  • mjs's avatar
    - fixed 3099487 - REGRESSION: dragging an image always puts it in · f07e9c04
    mjs authored
    	the download directory
    
            * WebView.subproj/WebControllerPrivate.h:
            * WebView.subproj/WebControllerPrivate.m:
            (-[WebController _downloadURL:]): Call _downloadURL:toPath: with nil path.
    	(-[WebController _downloadURL:toPath:]): New method that
    	predetermines the path to download to (needed for DnD).
            * WebView.subproj/WebHTMLView.m:
    	(-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]): Use
    	_downloadURL:toPath:
            * WebView.subproj/WebImageView.m:
    	(-[WebImageView namesOfPromisedFilesDroppedAtDestination:]): Use
    	_downloadURL:toPath:
            * WebView.subproj/WebMainResourceClient.m:
    	(-[WebMainResourceClient handle:didReceiveResponse:]): Don't ask
    	delegate for download path if we already have one.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    f07e9c04