Revert "[a11y] Add scrolling action to PP_PDF_SET_SELECTION"
This reverts commit 9b07e5e0. Reason for revert: Failing following pdf_unittests on Linux MSan Test builder AccessibilityTest.TestSelectionActionHandling More details: https://ci.chromium.org/ui/p/chromium/builders/ci/Linux%20MSan%20Tests/26576/overview Original change's description: > [a11y] Add scrolling action to PP_PDF_SET_SELECTION > > This CL adds scrolling when PDFiumEngine::HandleAccessibilityAction > is called with PP_PDF_SET_SELECTION and the selection is not > visible since Blink triggers also scrolling with setting selection. > So, this change makes PDF document scroll the page when a selection > is set. > > AX-Relnotes: When SetSelection action is handled on pdf, it also > triggers scrolling if the selection is not in the visible area. > For instance, atk_text_set_caret_offset() on pdf scrolls the page > if the text is not in the view port. > > Bug: 993456 > Change-Id: I8323eff293b3216e2b862f8df3e896380b1c9945 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2573975 > Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org> > Reviewed-by: K. Moon <kmoon@chromium.org> > Reviewed-by: Martin Robinson <mrobinson@igalia.com> > Commit-Queue: Julie Kim <jkim@igalia.com> > Cr-Commit-Position: refs/heads/master@{#835994} TBR=dmazzoni@chromium.org,mrobinson@igalia.com,jkim@igalia.com,kmoon@chromium.org,chromium-scoped@luci-project-accounts.iam.gserviceaccount.com Change-Id: I524b4c3d27265923e8ef4b2508582f08e38b3582 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 993456 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2586413Reviewed-by:Sreeja Kamishetty <sreejakshetty@chromium.org> Commit-Queue: Sreeja Kamishetty <sreejakshetty@chromium.org> Cr-Commit-Position: refs/heads/master@{#836044}
Showing
Please register or sign in to comment