* Revert "Disable Screen AI accessibility features"
This reverts commit 6d237a5923.
* Revert "Disable screen_ai component download/installation (#26167)"
This reverts commit 27b10ae93a.
Print preview tests from the original commit are not re-added because
they were independently removed by b13af2e384 ("Unify Print Preview
extraction across all desktop platforms") which changed the architecture
to use autoscreenshots for docs.google.com hosts.
UpstreamPDFIntegratoinTest is not re-added because the API it uses
(GetPageContent, features::kPdfOcr, accessibility tree) no longer exists.
New OCR tests are added in the next commit using the current architecture.
chromium_src/pdf/pdfium/pdfium_page.cc is not re-added because
https://chromium-review.googlesource.com/c/chromium/src/+/6854968
handles it upstream.
* Add PDF OCR browsertests for image-only PDFs
Test extraction via PDFDocumentHelper::GetPageText() for:
- Single/multi-page image-only PDFs (upstream test data)
- Image PDFs with blank pages (brave test data)
Also adds PrintPreviewHostReturnsEmpty test to verify that
docs.google.com hosts return empty content (autoscreenshots).