commit | 683665e0c20092f0646a5b2e35740935f0247541 | [log] [tgz] |
---|---|---|
author | Dan Harrington <harringtond@chromium.org> | Wed May 12 21:08:33 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 12 21:08:33 2021 |
tree | 1c2dd05bd634746de4fad6f24d0b6c5cd613f78e | |
parent | cba54c55437298e484bbdf1f023a9c3a6f6fdf1f [diff] |
feed: ntp MV tiles should not see feed navigations Clicking on NTP feed cards should not influence the MV tiles on the NTP. The prior implementation relied on setting a unique referrer. This was brittle, and finally broke when the referrer of the feed was changed. This CL instead remembers the last several Feed articles tapped, and then checks this list to determine if the navigation is from the Feed. This isn't perfect. If the user taps on a Feed card, and then later navigates to that same page from another method, we will ignore the navigation for MV tiles purposes when we shouldn't Bug: 1194788 Change-Id: I024e1829f5236f3b3566b0261e88e0475801b673 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2878557 Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Justin DeWitt <dewittj@chromium.org> Commit-Queue: Dan H <harringtond@chromium.org> Cr-Commit-Position: refs/heads/master@{#882285}
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.