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

Unified Diff: chrome/browser/ui/omnibox/omnibox_edit_model.h

Issue 10867061: Pass user_text and full_text explicitly to Instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove out params from Update() Created 8 years, 4 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/ui/omnibox/omnibox_edit_model.h
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.h b/chrome/browser/ui/omnibox/omnibox_edit_model.h
index a2afe323c9bfb209fd7f0ff52b7109a28a128e90..2de91cbc18ca5514ace2e129144460c431c39b71 100644
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.h
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.h
@@ -367,12 +367,8 @@ class OmniboxEditModel : public AutocompleteControllerDelegate {
void NotifySearchTabHelper();
// Tries to start an Instant preview for |match|. Returns true if Instant
- // processed the match. |suggested_text| should initially contain the current
- // inline autocomplete text. Instant will replace it with new suggested text
- // and set |complete_behavior| accordingly.
- bool DoInstant(const AutocompleteMatch& match,
- string16* suggested_text,
- InstantCompleteBehavior* complete_behavior);
+ // processed the match.
+ bool DoInstant(const AutocompleteMatch& match);
// Starts a prerender for the given |match|.
void DoPrerender(const AutocompleteMatch& match);

Powered by Google App Engine
This is Rietveld 408576698