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

Unified Diff: chrome/browser/ui/search/instant_controller.h

Issue 16035020: Move instant support to SearchTabHelper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 7 years, 6 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/search/instant_controller.h
diff --git a/chrome/browser/ui/search/instant_controller.h b/chrome/browser/ui/search/instant_controller.h
index cdb170bc55056603a11d19153bc4153811765d35..f41d1b45dd19d4f75165d7824a4481b7645d20a8 100644
--- a/chrome/browser/ui/search/instant_controller.h
+++ b/chrome/browser/ui/search/instant_controller.h
@@ -243,6 +243,11 @@ class InstantController : public InstantPage::Delegate {
// happen through the InstantController interface.
InstantOverlayModel* model() { return &model_; }
+ // Used by BrowserInstantController to notify InstantController about the
+ // instant support change event for the given |web_contents|.
+ void InstantSupportChanged(const content::WebContents* web_contents,
+ InstantSupportState instant_support);
+
protected:
// Accessors are made protected for testing purposes.
virtual bool extended_enabled() const;

Powered by Google App Engine
This is Rietveld 408576698