commit | 6e7c25038d3117e8710dd5ffcc70c2a9968e0061 | [log] [tgz] |
---|---|---|
author | Ahmed Fakhry <afakhry@chromium.org> | Tue Feb 12 23:52:38 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 12 23:52:38 2019 |
tree | c8fde3b1afc5b4ca9e7be56b76a3e28e12a18cab | |
parent | 2792c71bcb46e9c16ff7ea26d405be4e8f6b3e18 [diff] |
Correct calculation of the `DoBrowserControlsShrinkRendererSize` bit Update it such that it matches the bounds changes we make to the BrowserView and in turn the BrowserView::contents_web_view_, so that it's true only when top-chrome is fully shown. Make sure it gets updated only: - Once right before the layout that happens at OnBeginSliding(). - Right before the layout that happens at OnSlidingEnds(). BUG=927985 TEST=Adjusted tests. Change-Id: I00bbc49c5ad7e1cebf607b824011b97708570bd8 Reviewed-on: https://chromium-review.googlesource.com/c/1460422 Commit-Queue: Ahmed Fakhry <afakhry@chromium.org> Reviewed-by: David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#631440}
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 .