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

Unified Diff: content/renderer/render_frame_impl.h

Issue 1303773002: Give the main frame a RenderWidget. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix all the tests. Probably. Created 5 years, 2 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/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 6d13cdaf0e889ede57abe02c4c0c37cab00a6d75..9d3a8ed0f8d43053b5ae4f4c24a17940b0751904 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -68,6 +68,7 @@ class WebSecurityOrigin;
struct WebCompositionUnderline;
struct WebContextMenuData;
struct WebCursorInfo;
+struct WebScreenInfo;
}
namespace gfx {
@@ -137,8 +138,13 @@ class CONTENT_EXPORT RenderFrameImpl
NON_EXPORTED_BASE(public blink::WebPageSerializerClient) {
public:
// Creates a new RenderFrame as the main frame of |render_view|.
- static RenderFrameImpl* CreateMainFrame(RenderViewImpl* render_view,
- int32 routing_id);
+ static RenderFrameImpl* CreateMainFrame(
+ RenderViewImpl* render_view,
+ int32 routing_id,
+ int32 widget_routing_id,
+ bool hidden,
+ const blink::WebScreenInfo& screen_info,
+ CompositorDependencies* compositor_deps);
// Creates a new RenderFrame with |routing_id|. If |proxy_routing_id| is
// MSG_ROUTING_NONE, it creates the Blink WebLocalFrame and inserts it into

Powered by Google App Engine
This is Rietveld 408576698