commit | 13033d79aa73172078a54302b02465718bc86836 | [log] [tgz] |
---|---|---|
author | Matthew Jones <mdjones@chromium.org> | Sat Jan 12 02:12:12 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Jan 12 02:12:12 2019 |
tree | ef603496f0a500840517f9b377590df15f3938a7 | |
parent | 57d6795942fc4636a53a092b46363aaa7a93a34e [diff] |
Use px values for browser controls height and offset in java This patch converts most of the float values that were previously storing integers into proper integers and updates the related logic. The idea here is to remove all of the unnecessary float comparison and rounding that previously plagued the code; especially since all of the values are tracked in pixels anyway (rather than DP). Bug: 882508 Change-Id: I664fb52e3636aa99ac4937c9e3c1b29a4866eee6 Reviewed-on: https://chromium-review.googlesource.com/c/1404391 Commit-Queue: Matthew Jones <mdjones@chromium.org> Reviewed-by: David Trainor <dtrainor@chromium.org> Cr-Commit-Position: refs/heads/master@{#622266}
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 .