diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-24 04:49:34 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-24 04:49:34 +0000 |
commit | 4ab4c7c5fd8008de223d1bb7f2361cd80bac9778 (patch) | |
tree | 54e963ae4e745d8f9370bf759d171feb99c5af97 /chrome/browser/autocomplete/autocomplete_edit.h | |
parent | 4030ced8df93134f9da566dddd5fcb7e1882307f (diff) | |
download | chromium_src-4ab4c7c5fd8008de223d1bb7f2361cd80bac9778.zip chromium_src-4ab4c7c5fd8008de223d1bb7f2361cd80bac9778.tar.gz chromium_src-4ab4c7c5fd8008de223d1bb7f2361cd80bac9778.tar.bz2 |
Makes committing the suggested text only update the default search
provider and nothing else.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/5270001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67218 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit.h')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit.h b/chrome/browser/autocomplete/autocomplete_edit.h index 7123b36..90fc643 100644 --- a/chrome/browser/autocomplete/autocomplete_edit.h +++ b/chrome/browser/autocomplete/autocomplete_edit.h @@ -209,6 +209,9 @@ class AutocompleteEditModel : public NotificationObserver { // Sets the user_text_ to |text|. Only the View should call this. void SetUserText(const std::wstring& text); + // Calls through to SearchProvider::FinalizeInstantQuery. + void FinalizeInstantQuery(const std::wstring& text); + // Reverts the edit model back to its unedited state (permanent text showing, // no user input in progress). void Revert(); |