From 33b8b8e68843131c6f81c47a0d0c0c616a01b355 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Tue, 15 Mar 2011 14:51:55 +0000 Subject: Wires up ability for page to specify instant auto complete behavior. The choices are: . immediately (current behavior and is the default). . delayed (transitions to autocompleted after a delay). . never (only show the suggestion, but never autocomplete it). I'm doing this so we can collect some data to help understand which is the less error prone of the 3. The data collection is all done on the server side. BUG=none TEST=none Review URL: http://codereview.chromium.org/6685002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78211 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/autocomplete/autocomplete_edit_view_win.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/browser/autocomplete/autocomplete_edit_view_win.cc') diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc index 6adb0be..c9520fc 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc +++ b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc @@ -930,9 +930,9 @@ CommandUpdater* AutocompleteEditViewWin::GetCommandUpdater() { return command_updater_; } -void AutocompleteEditViewWin::SetInstantSuggestion(const string16& suggestion) { - // On Windows, we shows the suggestion in LocationBarView. - NOTREACHED(); +void AutocompleteEditViewWin::SetInstantSuggestion(const string16& suggestion, + bool animate_to_complete) { + parent_view_->SetInstantSuggestion(suggestion, animate_to_complete); } int AutocompleteEditViewWin::TextWidth() const { -- cgit v1.1