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

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

Issue 6990015: Preload Instant search when omnibox is focused. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebaseline Created 9 years, 7 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
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | chrome/browser/instant/instant_loader_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_loader_manager.h
diff --git a/chrome/browser/instant/instant_loader_manager.h b/chrome/browser/instant/instant_loader_manager.h
index b648f25158e9272d8c7c1fe010dc2cecf671da82..7f2d995559c9ec9d9cbed8a83bf8f62e766c51ff 100644
--- a/chrome/browser/instant/instant_loader_manager.h
+++ b/chrome/browser/instant/instant_loader_manager.h
@@ -65,6 +65,10 @@ class InstantLoaderManager {
// If |loader| is in |instant_loaders_| it is removed.
void RemoveLoaderFromInstant(InstantLoader* loader);
+ // Returns the loader for loading instant results with the specified id. If
+ // there is no loader for the specified id a new one is created.
+ InstantLoader* GetInstantLoader(TemplateURLID id);
+
// Returns the current loader, may be null.
InstantLoader* current_loader() const { return current_loader_; }
@@ -87,10 +91,6 @@ class InstantLoaderManager {
// Creates a loader and if |id| is non-zero registers it in instant_loaders_.
InstantLoader* CreateLoader(TemplateURLID id);
- // Returns the loader for loading instant results with the specified id. If
- // there is no loader for the specified id a new one is created.
- InstantLoader* GetInstantLoader(TemplateURLID id);
-
InstantLoaderDelegate* loader_delegate_;
// The current loader.
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | chrome/browser/instant/instant_loader_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698