Files.app: Add sort menu to the toolbar.
commite82d248552776b6e0aefcdc7157f707735419586
authorfukino <fukino@chromium.org>
Sat, 9 May 2015 20:11:56 +0000 (9 13:11 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 9 May 2015 20:12:45 +0000 (9 20:12 +0000)
tree1749c227c059fe35754031d1420b2cad3e5a6c1c
parentbd7bc2fa17f6cc3c0d05f0742ecbe173d68f3d14
Files.app: Add sort menu to the toolbar.

This CL adds sort button on the toolbar.
By the sort button, following sorting options will be displayed:
- Sort by Name (always in ascending order)
- Sort by Size (always in descending order)
- Sort by Type (always in ascending order)
- Sort by Date mofidied (always in descending order)
Clicking column headers has the same effect as the options above.

BUG=438915
TEST=run browser_tests --gtest_filter=*FileManager*
TBR=yoshiki@chromium.org

Review URL: https://codereview.chromium.org/1136523005

Cr-Commit-Position: refs/heads/master@{#329052}
17 files changed:
chrome/app/chromeos_strings.grdp
chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc
ui/file_manager/file_manager/foreground/css/file_manager.css
ui/file_manager/file_manager/foreground/images/files/ui/2x/sorting_white.png [new file with mode: 0644]
ui/file_manager/file_manager/foreground/images/files/ui/sorting_white.png [new file with mode: 0644]
ui/file_manager/file_manager/foreground/js/compiled_resources.gyp
ui/file_manager/file_manager/foreground/js/file_manager.js
ui/file_manager/file_manager/foreground/js/file_manager_commands.js
ui/file_manager/file_manager/foreground/js/main_scripts.js
ui/file_manager/file_manager/foreground/js/sort_menu_controller.js [new file with mode: 0644]
ui/file_manager/file_manager/foreground/js/ui/banners.js
ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js
ui/file_manager/file_manager/foreground/js/ui/file_table.js
ui/file_manager/file_manager/main.html
ui/file_manager/integration_tests/file_manager/restore_prefs.js
ui/file_manager/integration_tests/file_manager/sort_columns.js
ui/file_manager/integration_tests/file_manager/tab_index.js