Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Issue 951443002: Files.app: Make delete button on the toolbar standard button instead of CommandButton. (Closed)

Created:
5 years, 10 months ago by fukino
Modified:
5 years, 10 months ago
Reviewers:
hirono
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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. Committed: https://crrev.com/2b5fc4b664d47828d4e999a0fb17b22038318864 Cr-Commit-Position: refs/heads/master@{#317569}

Patch Set 1 #

Patch Set 2 : Renamed element -> topbar, because the ToolbarController is not a view class. #

Patch Set 3 : topbar -> toolbar ...orz #

Total comments: 5

Patch Set 4 : Add @const for const members of ToolbarController. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -49 lines) Patch
M ui/file_manager/file_manager/foreground/css/file_manager.css View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_manager.js View 1 chunk +2 lines, -4 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/toolbar_controller.js View 3 chunks +73 lines, -21 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js View 1 chunk +2 lines, -19 lines 0 comments Download
M ui/file_manager/file_manager/main.html View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
fukino
Could you take a look? Thank you!
5 years, 10 months ago (2015-02-23 09:40:52 UTC) #2
hirono
https://codereview.chromium.org/951443002/diff/40001/ui/file_manager/file_manager/foreground/js/toolbar_controller.js File ui/file_manager/file_manager/foreground/js/toolbar_controller.js (right): https://codereview.chromium.org/951443002/diff/40001/ui/file_manager/file_manager/foreground/js/toolbar_controller.js#newcode21 ui/file_manager/file_manager/foreground/js/toolbar_controller.js:21: /** @private {!HTMLElement} */ nit: We would like to ...
5 years, 10 months ago (2015-02-23 09:48:37 UTC) #3
fukino
Thank you! https://codereview.chromium.org/951443002/diff/40001/ui/file_manager/file_manager/foreground/js/toolbar_controller.js File ui/file_manager/file_manager/foreground/js/toolbar_controller.js (right): https://codereview.chromium.org/951443002/diff/40001/ui/file_manager/file_manager/foreground/js/toolbar_controller.js#newcode21 ui/file_manager/file_manager/foreground/js/toolbar_controller.js:21: /** @private {!HTMLElement} */ On 2015/02/23 09:48:37, ...
5 years, 10 months ago (2015-02-23 11:18:50 UTC) #4
hirono
lgtm! https://codereview.chromium.org/951443002/diff/40001/ui/file_manager/file_manager/main.html File ui/file_manager/file_manager/main.html (right): https://codereview.chromium.org/951443002/diff/40001/ui/file_manager/file_manager/main.html#newcode350 ui/file_manager/file_manager/main.html:350: <button id="delete-button" class="icon-button" tabindex="10" On 2015/02/23 11:18:50, fukino ...
5 years, 10 months ago (2015-02-23 11:23:51 UTC) #5
fukino
Thank you!
5 years, 10 months ago (2015-02-23 11:32:58 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/951443002/60001
5 years, 10 months ago (2015-02-23 11:34:06 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-23 11:56:49 UTC) #9
commit-bot: I haz the power
5 years, 10 months ago (2015-02-23 11:57:15 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2b5fc4b664d47828d4e999a0fb17b22038318864
Cr-Commit-Position: refs/heads/master@{#317569}

Powered by Google App Engine
This is Rietveld 408576698