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

Unified Diff: chrome/browser/instant/instant_controller.h

Issue 10809063: Adding Javascript support for the Extended Searchbox API. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removing clear method. 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
« no previous file with comments | « no previous file | chrome/browser/instant/instant_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_controller.h
diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h
index 4d551ff18214be0a46ae4b7d19b6a5b828594020..2018862cf838069cb9ba0e6d5967c8786f183cf3 100644
--- a/chrome/browser/instant/instant_controller.h
+++ b/chrome/browser/instant/instant_controller.h
@@ -128,9 +128,9 @@ class InstantController : public InstantLoaderDelegate {
}
// InstantLoaderDelegate:
- virtual void SetSuggestions(InstantLoader* loader,
- const std::vector<string16>& suggestions,
- InstantCompleteBehavior behavior) OVERRIDE;
+ virtual void SetSuggestions(
+ InstantLoader* loader,
+ const std::vector<InstantSuggestion>& suggestions) OVERRIDE;
virtual void CommitInstantLoader(InstantLoader* loader) OVERRIDE;
virtual void InstantLoaderPreviewLoaded(InstantLoader* loader) OVERRIDE;
virtual void InstantSupportDetermined(InstantLoader* loader,
@@ -196,10 +196,7 @@ class InstantController : public InstantLoaderDelegate {
// The most recent suggestion received from the page, minus any prefix that
// the user has typed.
- string16 last_suggestion_;
-
- // The most recent autocomplete behavior for |last_suggestion_|.
- InstantCompleteBehavior last_complete_behavior_;
+ InstantSuggestion last_suggestion_;
// See comments on the getter above.
content::PageTransition last_transition_type_;
« no previous file with comments | « no previous file | chrome/browser/instant/instant_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698