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

Unified Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 23129015: Initialize RenderWidget(Host)(View)s with correct visibility state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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
Index: content/browser/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index 20caaf5ea73376ab1123eac26d41f84eb9b3c78b..c07e01e3d03938a7e991bdf0cb88c0fc725833a1 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -110,7 +110,8 @@ class CONTENT_EXPORT RenderViewHostImpl
// |routing_id| could be a valid route id, or it could be MSG_ROUTING_NONE, in
// which case RenderWidgetHost will create a new one. |swapped_out| indicates
// whether the view should initially be swapped out (e.g., for an opener
- // frame being rendered by another process).
+ // frame being rendered by another process). |hidden| indicates whether the
+ // view is initially hidden or visible.
//
// The |session_storage_namespace| parameter allows multiple render views and
// WebContentses to share the same session storage (part of the WebStorage
@@ -123,7 +124,8 @@ class CONTENT_EXPORT RenderViewHostImpl
RenderWidgetHostDelegate* widget_delegate,
int routing_id,
int main_frame_routing_id,
- bool swapped_out);
+ bool swapped_out,
+ bool hidden);
virtual ~RenderViewHostImpl();
// RenderViewHost implementation.
« no previous file with comments | « content/browser/renderer_host/render_view_host_factory.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698