commit | 0f2008e60b07839f865112cbce3887bc70ce8ac8 | [log] [tgz] |
---|---|---|
author | K. Moon <kmoon@chromium.org> | Fri Dec 03 01:44:42 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 03 01:44:42 2021 |
tree | d4569f1523166945e1721851b7f0b895777cba2f | |
parent | fb790f6e2d1bfe0d5a405ef885f74ee600d2701e [diff] |
[unseasoned-pdf] Encapsulate content and sizer elements in Viewport Forces all interactions with the content and sizer elements to go through Viewport, by eliminating all other references. The elements are now passed through the PDFViewerBaseElement.init() method, instead of defining getContent() and getSizer() methods that could be used incorrectly. The new Viewport.setContent() method eventually will be used to signal when the viewport is changing between local and remote scrolling modes. Bug: 1271262 Change-Id: If8f99d626f42d5c0cb9c45b7574ab14dbb04cf43 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3313532 Reviewed-by: Daniel Hosseinian <dhoss@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> Cr-Commit-Position: refs/heads/main@{#947805}
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.