cros-preview: Observe preview generation Create the observer FakeGeneratePreviewObserver for to receive preview generation updates instead of a simple boolean callback. `onDocumentReady()` denotes the preview generation is complete but more observer endpoints will be added. Test: browser_test --gtest_filter=*PrintPreviewCros* Bug: b:323421684 Change-Id: Id8f1d64cd28f68dc6f016a9f7a1cddebb5676ac7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5599068 Commit-Queue: Gavin Williams <gavinwill@chromium.org> Reviewed-by: Ashley Prasad <ashleydp@google.com> Cr-Commit-Position: refs/heads/main@{#1312888}
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.