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

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: Fix uninitialized variable. 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 9f9a85c5f3d2bbacdfdf0669f8662315da96ad2b..f704b55f6218fe31c781e201a35a74b1b40d00e3 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::IsUsingLocalPreview() const {
+ return instant_url_ == InstantController::kLocalOmniboxPopupURL;
+}
+
void InstantLoader::Update(const string16& text,
size_t selection_start,
size_t selection_end,
« no previous file with comments | « chrome/browser/instant/instant_loader.h ('k') | chrome/browser/resources/local_omnibox_popup/local_omnibox_popup.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698