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

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

Issue 11555033: Adding local html page used in Instant Extended mode when instant is disabled or unavailable. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressing samarth's and sky's comments. Created 8 years 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_loader.h
diff --git a/chrome/browser/instant/instant_loader.h b/chrome/browser/instant/instant_loader.h
index 6694cd3ea9b59c355f3eabcd98e308295fd8df32..2c57df66cdadaa6037b062f3f075a3e9a09206d0 100644
--- a/chrome/browser/instant/instant_loader.h
+++ b/chrome/browser/instant/instant_loader.h
@@ -86,6 +86,10 @@ class InstantLoader : public InstantClient::Delegate,
// to the history service had this WebContents not been used for Instant.
void DidNavigate(const history::HistoryAddPageArgs& add_page_args);
+ // Returns true if the loader is using
+ // InstantController::kLocalOmniboxPopupURL as the |instant_url_|.
+ bool IsUsingLocalPreview() const;
+
// Calls through to methods of the same name on InstantClient.
void Update(const string16& text,
size_t selection_start,

Powered by Google App Engine
This is Rietveld 408576698