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

Unified Diff: chrome/browser/autocomplete/autocomplete_edit_view.h

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.h
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view.h b/chrome/browser/autocomplete/autocomplete_edit_view.h
index 1925983efcbe87b5360e4230320b8856482df4bf..99951f864f64d4d477597e7a5bb4fca04295a014 100644
--- a/chrome/browser/autocomplete/autocomplete_edit_view.h
+++ b/chrome/browser/autocomplete/autocomplete_edit_view.h
@@ -159,8 +159,10 @@ class AutocompleteEditView {
// Returns the command updater for this view.
virtual CommandUpdater* GetCommandUpdater() = 0;
- // Shows the instant suggestion text.
- virtual void SetInstantSuggestion(const string16& input) = 0;
+ // Shows the instant suggestion text. If |animate_to_complete| is true the
+ // view should start an animation that when done commits the text.
+ virtual void SetInstantSuggestion(const string16& input,
+ bool animate_to_complete) = 0;
// Returns the current instant suggestion text.
virtual string16 GetInstantSuggestion() const = 0;

Powered by Google App Engine
This is Rietveld 408576698