commit | 705d5f8d77cd36dcadc74fe729b44c0c1ccbee88 | [log] [tgz] |
---|---|---|
author | Joseph Kim <josephkimsh@google.com> | Tue Jan 04 07:40:22 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 04 07:40:22 2022 |
tree | 437f051b67625ba08693a8c629fcf053dd96d922 | |
parent | a8fa8078f257495497f0bb76148590296c9ff02b [diff] |
Media App: Put PDF in readonly mode when `PdfAnnotationsEnabled` is off This prevents users from being able to save{,as,copy}, add freehand or text annotations while a PDF is loaded in the media app and PDF annotations are disallowed by enterprise policy. Requires passing down the WebUI to get Prefs similar to how Help App does it https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ash/web_applications/help_app/help_app_untrusted_ui_config.cc;l=94?q=help%20app%20populateLoadTime&ss=chromium%2Fchromium%2Fsrc Bug: b:207552979 Change-Id: I52b32e319b5a2f3616e6af470f8069626a26e58a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3365876 Reviewed-by: Zain Afzal <zafzal@google.com> Commit-Queue: Joseph Kim <josephkimsh@google.com> Cr-Commit-Position: refs/heads/main@{#955065}
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.