Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(543)

Unified Diff: chrome/browser/autocomplete/autocomplete_edit_view_win.cc

Issue 6685002: Wires up ability for page to specify instant auto complete (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test and stray char Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: 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 d4085e9776b60c0f2eece096b931cd103d67aee8..b0c7b705e7c94d1788990d8fd96ce5834a813505 100644
--- a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc
+++ b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc
@@ -928,9 +928,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 {

Powered by Google App Engine
This is Rietveld 408576698