Index: content/browser/web_contents/render_view_host_manager.h |
diff --git a/content/browser/web_contents/render_view_host_manager.h b/content/browser/web_contents/render_view_host_manager.h |
index 8c5071d9d654d001c88c5ee35317d8f7c12c4916..3aa4ee5809cccd8904e54ea9561e5244676b4184 100644 |
--- a/content/browser/web_contents/render_view_host_manager.h |
+++ b/content/browser/web_contents/render_view_host_manager.h |
@@ -97,6 +97,10 @@ class CONTENT_EXPORT RenderViewHostManager |
// Creates a view and sets the size for the specified RVH. |
virtual void CreateViewAndSetSizeForRVH(RenderViewHost* rvh) = 0; |
+ // Returns true if views created for this delegate should be initially |
Charlie Reis
2013/08/20 02:09:58
nit: should currently be created in a hidden state
|
+ // hidden. |
+ virtual bool IsHidden() = 0; |
+ |
protected: |
virtual ~Delegate() {} |
}; |
@@ -181,7 +185,8 @@ class CONTENT_EXPORT RenderViewHostManager |
// will be used for a pending cross-site navigation. |
int CreateRenderView(SiteInstance* instance, |
int opener_route_id, |
- bool swapped_out); |
+ bool swapped_out, |
+ bool hidden); |
// Called when a provisional load on the given renderer is aborted. |
void RendererAbortedProvisionalLoad(RenderViewHost* render_view_host); |