Files app: Add a toolbar button to show some context menu items

Desktop / Chromium - Tatsuhisa Yamaguchi [chromium.org] - 14 July 2017 05:54 EDT

This change will only add these items:- Cut, Copy- zip selection

"Available offline" is not refreshed in some cases. "Get info" and "Rename" is not added by this change. Those should be fixed by another change.

TEST=manually tested by check-select files and opening the menu

Bug: 740842 Change-Id: Ic074b3b38eddf5c1bd9d8ae162e5c0d24bb17c8e Reviewed-on: https://chromium-review.googlesource.com/566768

f70200f Files app: Add a toolbar button to show some context menu items.
.../file_manager/foreground/css/file_manager.css | 14 ++++++
.../foreground/images/files/ui/2x/menu.png | Bin 0 -> 245 bytes
.../foreground/images/files/ui/menu.png | Bin 0 -> 200 bytes
.../foreground/js/compiled_resources2.gyp | 10 ++++
.../file_manager/foreground/js/file_manager.js | 11 +++++
.../file_manager/foreground/js/main_scripts.js | 1 +
.../foreground/js/selection_menu_controller.js | 52 +++++++++++++++++++++
.../foreground/js/ui/actions_submenu.js | 1 +
.../foreground/js/ui/file_manager_ui.js | 8 ++++
ui/file_manager/file_manager/main.html | 21 ++++++---
10 files changed, 111 insertions(+), 7 deletions(-)

Upstream: git.chromium.org


  • Share