Zip Archiver: Improve integration with Files App

Desktop / Chromium - Klemen Kozjek [google.com] - 11 October 2017 06:54 EDT

This CL improves integration between Zip Archiver and Files App:- Removes 'Save as' dialog and it creates zip file in a directory of slected files- Brings Zip selection to drive/- Adds notifications for zip process progress and fail/success status

Bug: 359837

Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: Ia2db2ca86a984844bb06308c0a3439047b6157be Reviewed-on: https://chromium-review.googlesource.com/701955 Commit-Queue: Klemen Kozjek

1d7958b Zip Archiver: Improve integration with Files App
chrome/app/chromeos_strings.grdp | 10 ++
.../extensions/file_manager/private_api_strings.cc | 6 +
chrome/browser/chromeos/file_manager/app_id.h | 3 +
.../chromeos/file_manager/file_browser_handlers.cc | 12 +-
.../extensions/api/file_system/consent_provider.cc | 8 +-
.../resources/chromeos/zip_archiver/BUILD.gn | 3 +-
.../chromeos/zip_archiver/html/compressor.html | 6 -
.../resources/chromeos/zip_archiver/js/app.js | 148 +++++++++++++------
.../zip_archiver/js/compressor-foreground.js | 37 -----
.../chromeos/zip_archiver/js/compressor.js | 159 +++++++++++++++++----
.../zip_archiver/js/file_operation_utils.js | 47 ++++++
.../resources/chromeos/zip_archiver/manifest.json | 10 +-
.../file_manager/common/js/metrics_events.js | 3 +-
.../foreground/js/file_manager_commands.js | 43 +++++-
.../file_manager/foreground/js/file_tasks.js | 23 +++
.../file_manager/foreground/js/task_controller.js | 9 +-
16 files changed, 387 insertions(+), 140 deletions(-)

Upstream: git.chromium.org


  • Share