Create a TILE_NAVSUGGEST suggestion.
This change introduces a TILE_NAVSUGGEST suggestion type for the most-visited suggestions. The TILE_NAVSUGGEST is built in a similar way to NAVSUGGEST and TILE_SUGGEST elements, where a list of tiles is held as a vector of elements arranged in the order these are scored. The TILE_NAVSUGGEST is currently meant specifically for zero-prefix most-visited URL suggestions and should be positioned below the QueryTiles. These elements are currently not meant to be cached as these URLs are used specifically when user is visiting a website (ie. not a ZPS on a NTP). The change does not create any logic wiring up TILE_NAVSUGGEST items; instead, it simply creates a new suggestion type and adds corresponding data to that object on both Native and Java sides. Change-Id: Ia4c5141143d6a49f963bcf66fecae9b84d3d4b5e Doc: http://doc/1IFsDKYhy_ARMOdT8jd1pMtk497xe03lb3hVnsaY-dOM Slides: http://slides/1c1SzJLzEsTjLmqIVLTomC8l9EgslBgYaBN6I7t8mbDI#slide=id.g8b3736bab3_0_0 Figma: https://www.figma.com/file/h8qjD0s9tezRzHdCMxIhYJ/On-Focus-Suggestions?node-id=290%3A309 Bug: 1106109 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2422808 Commit-Queue: Tomasz Wiszkowski <ender@google.com> Reviewed-by:Justin Donnelly <jdonnelly@chromium.org> Reviewed-by:
Ted Choc <tedchoc@chromium.org> Reviewed-by:
Filip Gorski <fgorski@chromium.org> Reviewed-by:
Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/master@{#810285}
Showing
Please register or sign in to comment