commit | fe045c19103d7d7329c41bf57c5f2aa0d8f48e89 | [log] [tgz] |
---|---|---|
author | Chris Lu <thegreenfrog@chromium.org> | Thu Mar 18 01:32:07 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 18 01:32:07 2021 |
tree | 4addc662c33d9efaa5705c7ae24aa1d89813cce0 | |
parent | a2686cfa640e957a3d63d3b484994927454c7b55 [diff] |
Update saved content offset for the Return to Recent Tab tile The content offset of the NTP is saved when the user navigates away so that the position is preserved if the user navigates back to the NTP. Since the Return to Recent Tab tile of the Start Surface is only shown on the first impression, the height of the tile may need to be subtracted from the offset to mimic the feeling of the same scroll position. This change includes margin updates to better reflect the UX mocks. Bug: 1173160 Change-Id: I76137b72db136c76bc5044277cc855a57905f637 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2762699 Commit-Queue: Chris Lu <thegreenfrog@chromium.org> Reviewed-by: Adam Trudeau-Arcaro <adamta@google.com> Reviewed-by: Sergio Collazos <sczs@chromium.org> Cr-Commit-Position: refs/heads/master@{#864063}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
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.