[go: nahoru, domu]

Implement PdfAXActionTarget::SetSelection method

Added a new action PP_PDF_SET_SELECTION to PP_PdfAccessibilityAction and
selection specific data in PP_PdfAccessibilityActionData. Implemented
PdfAXActionTarget::SetSelection method to send selection data to plugin.
PDFiumEngine handles PP_PDF_SET_SELECTION action and set the selection
in plugin. Added the tests to validate if write action data is sent from
Mimehandler to Plugin for selection and also if the action is correctly
executed in Plugin.

Bug: 1023283
Change-Id: I9112698757d7516d38f29e88174f10da71673b1c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1934127
Commit-Queue: Mansi Awasthi <maawas@microsoft.com>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Kevin Babbitt <kbabbitt@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#727044}
12 files changed