• Joel Hockey's avatar
    Refactor Plugin VM move dialog · 14e8ee71
    Joel Hockey authored
    Refactor dialog into static function where it can be reused by drag and
    drop.
    
    Event type name 'failed_plugin_vm_directory_not_shared' will also be
    used by CrostiniEventType.
    
    Remove FAILED_PLUGIN_VM_TASK_EXTERNAL_DRIVE error and only use
    FAILED_PLUGIN_VM_DIRECTORY_NOT_SHARED which is slightly renamed.
    FilesApp can detect when entries are in MyFiles volume or not and show
    the correct message of move vs copy.
    
    Bug: 1144138
    Change-Id: I14072bcc3514f598428936dcad04b0468e432de8
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2557819Reviewed-by: default avatarLuciano Pacheco <lucmult@chromium.org>
    Commit-Queue: Joel Hockey <joelhockey@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#830856}
    14e8ee71
file_manager_private.js 37.6 KB