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

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

Issue 11833043: Instant Extended: Fallback to local preview if the remote instant page is not ready on user input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor
Patch Set: Removing LOG messages. Created 7 years, 11 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/instant/instant_controller.h
diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h
index 8e5ea7c1dd06eaaa26d9dbf7ef2fde7387f569e2..6c6dfa6ea185f7f5a30e582c9f153f85cd7cfa1d 100644
--- a/chrome/browser/instant/instant_controller.h
+++ b/chrome/browser/instant/instant_controller.h
@@ -197,6 +197,11 @@ class InstantController {
// deleted and recreated. Else the refresh is skipped.
void OnStaleLoader();
+ // If the |loader_| being used is in fallback mode, it will be switched back
+ // to the remote loader if the loader is not showing and the omnibox does not
+ // have focus.
+ void MaybeSwitchToRemoteLoader();
+
// If the active tab is an Instant search results page, sets |instant_tab_| to
// point to it. Else, deletes any existing |instant_tab_|.
void ResetInstantTab();

Powered by Google App Engine
This is Rietveld 408576698