Persist Reader Mode theme and font family settings on desktop.
This CL expands the existing JavaScript bindings to allow storing the theme and font family selected via the in-page appearance settings dialog to the corresponding synced preferences. The ability to persist the font size/scale will be added in a follow-up CL. Storing that setting requires some additional work to convert the font size in pixels used by the desktop UI to the scale relative to base size expected by the pref. Bug: 1016615 Change-Id: Ia7f8c86b8e9fa136b2b18429ba4b9d89272d1893 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1922788 Commit-Queue: Aran Gilman <gilmanmh@google.com> Reviewed-by:Wei-Yin Chen (陳威尹) <wychen@chromium.org> Reviewed-by:
Emily Stark <estark@chromium.org> Cr-Commit-Position: refs/heads/master@{#753277}
Showing
Please register or sign in to comment