commit | 393c1b144320af4688db5110b67a70f5fbeca5a2 | [log] [tgz] |
---|---|---|
author | Tommy C. Li <tommycli@chromium.org> | Wed May 22 00:28:41 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed May 22 00:28:41 2019 |
tree | df3faaa40e87d2d7d9cdf224bad4371f0f2adcec | |
parent | ae59bbaacd76e934f653d2eaabbdb3e84f3abf0c [diff] |
[omnibox] Move "ZeroSuggestVariant" to be a context sensitive param Currently for ZeroSuggestProvider, "ZeroSuggestVariant" is simply globally configured. This CL moves "ZeroSuggestParam" to operate using the existing GetValueForRuleInContext, which allows it to be parameterized by the page classification. In other words, this CL allows us to configure different On Focus Suggestion modes per page classification. This will likely be used to put the search results page in a custom query refinement On Focus Suggestion mode. Bug: 963173 Change-Id: If7df3c4a7fc4906788f0a466b7a6edeccd614b8b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1617208 Commit-Queue: Tommy Li <tommycli@chromium.org> Reviewed-by: David Trainor <dtrainor@chromium.org> Reviewed-by: Mark Pearson <mpearson@chromium.org> Cr-Commit-Position: refs/heads/master@{#661999}
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 .