Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Files app: Enable keyboard control of file list sort direction
Adds a tab stop for the sort icon in the file list. This allows a user to press 'Enter' to change the sort direction. Note, the file list header is regenerated each time the sort is changed (existing behaviour). If 'focus-outline-visible' is set on the root document it indicates the keyboard is being used for navigation, we use this and current focus position to decide if the sort button should be focused after a sort of the file list. Bug: b/255519075 Tests: browser_tests --gtest_filter="File*fileListSortWithKeyboard" Change-Id: I110d8869613e12dc4c70b6d35f2f1f78b8270692 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4109950 Reviewed-by: Wenbo Jie <wenbojie@chromium.org> Commit-Queue: Alex Danilo <adanilo@chromium.org> Cr-Commit-Position: refs/heads/main@{#1084838}
- Loading branch information
Showing
7 changed files
with
86 additions
and
2 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
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