
This reverts commit 8d44e4899d
.
Reason for revert: The agreed upon format needed by Lens changed, so we do need this to retrieve the singular page instead of all the text at once. Reverting and going to reland with the new approach so it is easier to cherrypick.
Original change's description:
> Add PDF engine method to get all text in the document
>
> This will be used by the Lens Overlay to pass a fraction of the document
> to be used for suggest signals while the full PDF is being processed.
> Retrieving the text in the Lens overlay controller will come in a
> followup CL.
>
> Bug: 379344946
> Change-Id: Ie52df82022916a3bb367150207d1b70e03fbce8a
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6032353
> Reviewed-by: Lei Zhang <thestig@chromium.org>
> Commit-Queue: Duncan Mercer <mercerd@google.com>
> Cr-Commit-Position: refs/heads/main@{#1385831}
Bug: 379344946
Change-Id: I87138767e09d82f9b6b93d7a10f177828a0f1291
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6042413
Reviewed-by: Lei Zhang <thestig@chromium.org>
Auto-Submit: Duncan Mercer <mercerd@google.com>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1386340}
Chromium
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead,
follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.