Index: chrome/browser/extensions/extension_host.h |
diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h |
index fe97ef2ad5460dc7bef423996d0f3b4b575c9aff..5e1864753d773a6e825ea6d45e1a479782062588 100644 |
--- a/chrome/browser/extensions/extension_host.h |
+++ b/chrome/browser/extensions/extension_host.h |
@@ -127,9 +127,20 @@ class ExtensionHost : public content::WebContentsDelegate, |
// Prepares to initializes our RenderViewHost by creating its RenderView and |
// navigating to this host's url. Uses host_view for the RenderViewHost's view |
- // (can be NULL). This happens delayed to avoid locking the UI. |
+ // (can be NULL). This happens in a rate limited fashion to avoid locking the |
+ // UI. |
void CreateRenderViewSoon(); |
+ // Does the same thing as CreateRenderViewSoon, but only adds the creation to |
+ // a queue. Creation of these deferred views then happens when |
+ // CreateDeferredRenderViews is called. |
+ void CreateRenderViewDeferred(); |
+ |
+ // Creates any render views that have been deferred because |
+ // CreateRenderViewDeferred was called. This happens in a rate limited |
+ // fashion to avoid locking the UI. |
+ static void CreateDeferredRenderViews(); |
+ |
// Insert a default style sheet for Extension Infobars. |
void InsertInfobarCSS(); |