forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FilesTrash] Turn learnMoreLink into extraButton in progress panel
The learnMoreLink that is used for the DriveFS pooled storage is useful as a way to have an additional button in the visual signals. This updates the learnMoreLink to be more generic enabling an arbitrary callback to be supplied. Bug: b:243879041 Test: CL:3879043 Test: browser_tests --gtest_filter=FileManagerJsTest.FilesDisplayPanel Test: tast run filemanager.DrivefsPooledStorage.full_individual Change-Id: I173d3b0d40cc7c0ed5499febb1bc4d11deb2a56b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3876771 Reviewed-by: Luciano Pacheco <lucmult@chromium.org> Commit-Queue: Ben Reich <benreich@chromium.org> Cr-Commit-Position: refs/heads/main@{#1044409}
- Loading branch information
Showing
8 changed files
with
149 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
ui/file_manager/file_manager/foreground/elements/xf_button.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
29 changes: 21 additions & 8 deletions
29
ui/file_manager/file_manager/foreground/elements/xf_panel_item.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters