DescriptionFiles.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. #
Messages
Total messages: 10 (2 generated)
|