diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-15 14:51:55 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-15 14:51:55 +0000 |
commit | 33b8b8e68843131c6f81c47a0d0c0c616a01b355 (patch) | |
tree | 37a3722b10fa9cfdaa5cb24eaa124f1943446fbf /chrome/browser/autocomplete/autocomplete_edit_view_win.cc | |
parent | 5976255eccb8c585c4e5ed0fefe4144d62bd1f74 (diff) | |
download | chromium_src-33b8b8e68843131c6f81c47a0d0c0c616a01b355.zip chromium_src-33b8b8e68843131c6f81c47a0d0c0c616a01b355.tar.gz chromium_src-33b8b8e68843131c6f81c47a0d0c0c616a01b355.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit_view_win.cc')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit_view_win.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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 { |