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 6822b28616b728a231bfea09a20627f74cec72c9..086419895fb3cf4ecce7bfffbab601b97f294725 100644 |
--- a/chrome/browser/ui/search/instant_controller.h |
+++ b/chrome/browser/ui/search/instant_controller.h |
@@ -266,6 +266,7 @@ class InstantController : public InstantPage::Delegate, |
const GURL& url, |
content::PageTransition transition, |
WindowOpenDisposition disposition) OVERRIDE; |
+ virtual void InstantPageLoadFailed(content::WebContents* contents) OVERRIDE; |
// Invoked by the InstantLoader when the Instant page wants to delete a |
// Most Visited item. |
@@ -281,6 +282,10 @@ class InstantController : public InstantPage::Delegate, |
// Most Visited deletions. |
virtual void UndoAllMostVisitedDeletions() OVERRIDE; |
+ // Helper function to navigate the given contents to the local fallback |
+ // Instant URL and trim the history correctly. |
+ void RedirectToLocalNTP(content::WebContents* contents); |
+ |
// Helper for OmniboxFocusChanged. Commit or discard the overlay. |
void OmniboxLostFocus(gfx::NativeView view_gaining_focus); |