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

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

Issue 14043009: Fall back to local page if online NTP fails to load. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 7 years, 8 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/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 3f6eb8922cb871f626795117ea09ec229c007122..e74f3bb74a2e8571f7e0d923b587aec60c186f7b 100644
--- a/chrome/browser/ui/search/search_tab_helper.h
+++ b/chrome/browser/ui/search/search_tab_helper.h
@@ -33,6 +33,11 @@ class SearchTabHelper : public content::NotificationObserver,
// affect the search mode.
void OmniboxEditModelChanged(bool user_input_in_progress, bool cancelling);
+ // Invoked when the tab is being redirected from the online page to the
+ // local fallback page. At this time we reset our state to prepare for the
+ // new loading events.
+ void RedirectingToLocal();
+
// Invoked when the active navigation entry is updated in some way that might
// affect the search mode. This is used by Instant when it "fixes up" the
// virtual URL of the active entry. Regular navigations are captured through

Powered by Google App Engine
This is Rietveld 408576698