Files.app: Make delete button on the toolbar standard button instead of CommandButton.
commit2b5fc4b664d47828d4e999a0fb17b22038318864
authorfukino <fukino@chromium.org>
Mon, 23 Feb 2015 11:56:41 +0000 (23 03:56 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 23 Feb 2015 11:57:04 +0000 (23 11:57 +0000)
tree09e24d5c662e32eba1650db5de2683450b2f1c39
parent4046475977c58ae3d5d965efba8a132c12fb3a88
Files.app: Make delete button on the toolbar standard button instead of CommandButton.

The period "Delete button should be shown" is not exactly same as "Delete command can be executed."
For example: While a confirm dialog overlays Files.app, the dialog consumes all input event so the delete command cannot be executed, but still the delete button should be shown under the overlaying dialog.

BUG=459402,457113
TEST=manually checked the repro steps on each issue.

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

Cr-Commit-Position: refs/heads/master@{#317569}
ui/file_manager/file_manager/foreground/css/file_manager.css
ui/file_manager/file_manager/foreground/js/file_manager.js
ui/file_manager/file_manager/foreground/js/toolbar_controller.js
ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js
ui/file_manager/file_manager/main.html