Add APIs to ClipboardNonBacked to get/write ClipboardData. This is being done to provide ash::ClipboardHistory the ability to access and restore ClipboardData directly from ClipboardNonBacked without having to otherwise read/write the clipboard buffer. Manually reading/writing the buffer would likely be prone to missing some aspects of ClipboardData if changes were to get out of sync. Bug: 1104352 Change-Id: I80c800f1ebde26ad3bb8196bc0f438394bed2067 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2316802 Commit-Queue: David Black <dmblack@google.com> Reviewed-by: Darwin Huang <huangdarwin@chromium.org> Reviewed-by: Alex Newcomer <newcomer@chromium.org> Cr-Commit-Position: refs/heads/master@{#792895}
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.
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.