DescriptionOmnibox: Bug Fixes for Reverse Title
Do the swapping at UI time, not AutocompleteResult assembly time.
This means the result that gets stored in the shortcuts database
is correct.
Incidentally, this removes support for this experimental feature
from mac (and I suppose Android) because I only wrote the views code.
Require a match in the description (title), thus preventing the
swapping from triggering on the bug example input of "7".
(Does not match in the title.)
BUG=338066
Committed: https://crrev.com/e18665267d4a3f1c1fc3fa9851a562f6c28a70f7
Cr-Commit-Position: refs/heads/master@{#335873}
Patch Set 1 #Patch Set 2 : peter's alternate approach #
Total comments: 2
Patch Set 3 : HasMatch -> HasMatchStyle #
Messages
Total messages: 11 (3 generated)
|