DescriptionInclude a URL what-you-typed option when the default search provider is not available and the input type is unknown.
Previously, when the default search provider was disabled via an enterprise policy, backspacing through the URL in the omnibar would get stuck as soon as the input got short enough to be classified as unknown. Normally, this is when the top autocomplete option would become a search for what you typed. But with search disabled, the top autocomplete option became the full previously visited URL. This change makes a URL what-you-typed autocomplete option to be provided instead under these circumstances.
BUG=363656
R=mpearson@chromium.org
Committed: https://crrev.com/7d6b4f8b303603f2cf27220f0871df3812880a25
Cr-Commit-Position: refs/heads/master@{#301295}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add unit tests, make suggested style and comment changes #
Total comments: 3
Patch Set 3 : Fix style nits, convert virtual to override in unit test #
Messages
Total messages: 13 (3 generated)
|