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.
Add viewport scroll information to PDFAccessibilityTree
This CL adds following information to PDFAccessibilityTree - ax::mojom::IntAttribute::kScrollXMin - ax::mojom::IntAttribute::kScrollXMax - ax::mojom::IntAttribute::kScrollX - ax::mojom::IntAttribute::kScrollYMin - ax::mojom::IntAttribute::kScrollYMax - ax::mojom::IntAttribute::kScrollY It enables partial implementation of IScrollProvider, following methods will work with this change - IScrollProvider::get_HorizontallyScrollable - IScrollProvider::get_VerticallyScrollable - IScrollProvider::get_HorizontalScrollPercent - IScrollProvider::get_VerticalScrollPercent This information is required by Screen readers to announce the current scroll position and extent of scroll to the user. Tests: The best way to test this change will be through browser tests. However, it requires the second part of the change, detailed in the associated bug, to be completed. Bug: 1034521 Change-Id: I11067b2af4d5bd73e62d89c8ce86fb00b5f3f7ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1969412 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Kevin Babbitt <kbabbitt@microsoft.com> Commit-Queue: Virender Singh <virens@microsoft.com> Cr-Commit-Position: refs/heads/master@{#727858}
- Loading branch information
Showing
10 changed files
with
54 additions
and
7 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
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