DescriptionGenerating autocomplete results with and without word breaks in the Omnibox.
The goal is to support mid-word autocomplete in the Omnibox. Currently, if the user types "funtimes", inserts the cursor between the "n" and the "t" and begins typing the word "good" the Ominbox will search for URL results that match "fungood times" only. We want to also search for "fungoodtimes".
BUG=591979
TEST=0. Clear browser history.
1. Visit the following link: https://twitter.com/fungoodtimes
2. Open a new browser tab.
3.Type into the Omnibox "funtimes". Note the lack of the suggestion for the above URL.
4. Insert the cursor between the "n" and "t" in "funtime" and type "good".
5. The above URL should show in the autocomplete list.
Committed: https://crrev.com/e3235816f23e9eb733d11bdecdfd5f8ca67cec9f
Cr-Commit-Position: refs/heads/master@{#418054}
patch from issue 2187343002 at patchset 240001 (http://crrev.com/2187343002#ps240001)
Reverting to previous working version of components/omnibox/browser/url_index_private_data.cc before resubmitting patch.
refactored URLIndexPrivateData::HistoryItemsForTerms
Patch Set 1 #Patch Set 2 : Resubmitting patch for closed code review with iss number 2363463002. #Messages
Total messages: 7 (2 generated)
|