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

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: 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 23b6f0664487bf210ab22de85370803087a5192a..61deeb9c4ec686d8b693c61715dfe65e7794cf15 100644
--- a/chrome/browser/instant/instant_loader.h
+++ b/chrome/browser/instant/instant_loader.h
@@ -86,6 +86,9 @@ 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 loading InstantLoader::kLocalOmniboxPopupURL.
+ bool IsLoadingLocalOmniboxPopupURL() const;
samarth 2012/12/13 00:58:21 How about something like UsingLocalPreview()? (Is
Shishir 2012/12/13 22:57:58 Done.
+
// 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