DescriptionOmnibox: Add Field Trial to Make Shortcuts More Aggressive
Change ShortcutsProvider so it can assign high relevance scores.
Simultaneously, make ShortcutsProvider explicitly enforce the rule
that it should not return a result with an inlineable score (>=1200).
Finally, create a field trial that will allow the server to specify
the maximum relevance score ShortcutsProvider can assign. Setting this
to 1199 will maintain current behavior. Also, if the field trial is
not enabled through the variations server, Chrome will maintain the
current behavior.
BUG=252032
TEST=enter omnibox inputs that you've used before to get places (and hence shortcuts will have data about them) into about:omnibox and look at the resulting scores. Try again with --force-fieldtrials=OmniboxShortcutsScoring/MaxRelevance_XXX/ (where XXX is a number) and see how the scores change.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207872
Patch Set 1 #Patch Set 2 : fix edge case with 0 relevance #Patch Set 3 : clean up comments #
Total comments: 2
Patch Set 4 : post-increment #Patch Set 5 : fix test #
Messages
Total messages: 8 (0 generated)
|