commit | e9e40edb957ebc015b04a175b27e6836d461a4aa | [log] [tgz] |
---|---|---|
author | Tim Zheng <timzheng@google.com> | Tue Jan 15 03:25:17 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jan 15 03:25:17 2019 |
tree | 2ac1628d2a3a407cbd836b7eb96f146bb7f2b596 | |
parent | 364558ac95b388e2e51be4fa56ab91cfe556ab0e [diff] |
Add autotest API for getting scale factor. To get the primary display's scale factor. This is helpful in determine if the Crostini wayland_demo app window size actually scale up when in low display density mode. BUG=chromium:839242; chromium:920701 TEST=unit test included in this CL Change-Id: Iea55dc0d6e3cb47aacbac7fe21ceed9a81b9188e Reviewed-on: https://chromium-review.googlesource.com/c/1407959 Commit-Queue: Tim Zheng <timzheng@chromium.org> Reviewed-by: Ben Wells <benwells@chromium.org> Cr-Commit-Position: refs/heads/master@{#622709}
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 .