[Instant] Fix in adjusting the Instant suggestion
commit0a633ba969e27e565b30e0ad5d8abad9680267d9
authormathp@chromium.org <mathp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 26 Mar 2013 09:13:47 +0000 (26 09:13 +0000)
committermathp@chromium.org <mathp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 26 Mar 2013 09:13:47 +0000 (26 09:13 +0000)
tree1a6d5a614c45b6b690bbf917d6aa76fa9ccef3ff
parent4c0a0dc860340c4f798f1e5a9573540ca2f5a6b0
[Instant] Fix in adjusting the Instant suggestion

Fixing the case where a keystroke would make the default suggestion change from type URL (with inline text) to type SEARCH.

Now using |last_user_text_| to fix the suggestion.

BUG=196694

Review URL: https://chromiumcodereview.appspot.com/12937002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190615 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/autocomplete/search_provider.cc
chrome/browser/autocomplete/search_provider.h
chrome/browser/ui/omnibox/omnibox_edit_model.cc
chrome/browser/ui/search/instant_controller.cc
chrome/browser/ui/search/instant_controller.h
chrome/browser/ui/search/instant_extended_browsertest.cc