Index: chrome/browser/ui/search/search_tab_helper.h |
diff --git a/chrome/browser/ui/search/search_tab_helper.h b/chrome/browser/ui/search/search_tab_helper.h |
index 7b0ff13c929168030b4268cbd594dca5c77696ae..dfee15e01ffb163d0c3e89f918eb44870c0d5082 100644 |
--- a/chrome/browser/ui/search/search_tab_helper.h |
+++ b/chrome/browser/ui/search/search_tab_helper.h |
@@ -54,15 +54,27 @@ class SearchTabHelper : public content::NotificationObserver, |
// Overridden from contents::WebContentsObserver: |
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
+ virtual void DidFinishLoad( |
+ int64 frame_id, |
+ const GURL& validated_url, |
+ bool is_main_frame, |
+ content::RenderViewHost* render_view_host) OVERRIDE; |
// Sets the mode of the model based on the current URL of web_contents(). |
void UpdateMode(); |
+ // Send an IPC to web_contents() to attempt to discover whether it supports |
+ // instant. |
+ void DetermineIfPageSupportsInstant(); |
+ |
// Handlers for SearchBox API to show and hide top bars (bookmark and info |
// bars). |
void OnSearchBoxShowBars(int page_id); |
void OnSearchBoxHideBars(int page_id); |
+ // Handler for when Instant support has been determined. |
+ void OnInstantSupportDetermined(int page_id, bool supports_instant); |
+ |
const bool is_search_enabled_; |
// Tracks the last value passed to OmniboxEditModelChanged(). |