Refactor Plugin VM move dialog
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:Luciano Pacheco <lucmult@chromium.org> Commit-Queue: Joel Hockey <joelhockey@chromium.org> Cr-Commit-Position: refs/heads/master@{#830856}
Showing
Please register or sign in to comment