Home | History | Annotate | Download | only in instant

Lines Matching full:loader

18 // InstantController. InstantLoaderManager keeps track of one loader for loading
19 // non-instant urls, and a loader per TemplateURLID for loading instant urls. A
20 // loader per TemplateURLID is necessitated due to not knowing in advance if a
25 // and pending loaders. The current loader is the loader that if ready is shown
26 // by InstantController. The pending loader is used if the current loader is
28 // loader is left as current (and it's preview contents stopped) and the newly
29 // created loader is set to pending. Once the pending loader is ready
30 // MakePendingCurrent should be invoked to make the pending the current loader.
33 // ownership of the current loader by invoking ReleaseCurrentLoader.
39 // Updates the current loader. If the current loader is replaced and should be
41 // notify delegates before the old loader is destroyed. This returns the
47 // active loader.
50 // Makes the pending loader the current loader. If ownership of the old
51 // loader is to pass to the caller |old_loader| is set appropriately.
54 // Returns the current loader and clears internal references to it. This
56 // of InstantLoaderManager wants to take ownership of the loader.
59 // Destroys the specified loader.
60 void DestroyLoader(InstantLoader* loader);
62 // Removes references to loader.
63 InstantLoader* ReleaseLoader(InstantLoader* loader);
65 // If |loader| is in |instant_loaders_| it is removed.
66 void RemoveLoaderFromInstant(InstantLoader* loader);
68 // Returns the current loader, may be null.
71 // Returns the pending loader, may be null.
74 // The active loader is the loader that should be used for new loads. It is
75 // either the pending loader or the current loader.
87 // Creates a loader and if |id| is non-zero registers it in instant_loaders_.
90 // Returns the loader for loading instant results with the specified id. If
91 // there is no loader for the specified id a new one is created.
96 // The current loader.
99 // Loader we want to use as soon as ready. This is only non-null if
104 // Maps for template url id to loader used for that template url id.