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

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

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: 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.cc
diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc
index 58bc80e98a6f4cfda58d9f76973dff7fcafe960b..ac2a8811de7d42979437e2f4bd47deacd48df1ff 100644
--- a/chrome/browser/instant/instant_loader.cc
+++ b/chrome/browser/instant/instant_loader.cc
@@ -228,6 +228,10 @@ void InstantLoader::DidNavigate(
last_navigation_ = add_page_args;
}
+bool InstantLoader::IsLoadingLocalOmniboxPopupURL() const {
+ return instant_url_ == InstantController::kLocalOmniboxPopupURL;
+}
+
void InstantLoader::Update(const string16& text,
size_t selection_start,
size_t selection_end,

Powered by Google App Engine
This is Rietveld 408576698