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

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: plumb through surface ID *and* widget surface ID for window.open Created 5 years, 3 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 7afa3518be22289b718b6ad663acab343244fee8..f06030c2c6bde852f57d069ea83d2e4b871bd7e2 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -66,6 +66,7 @@ class WebSecurityOrigin;
struct WebCompositionUnderline;
struct WebContextMenuData;
struct WebCursorInfo;
+struct WebScreenInfo;
}
namespace gfx {
@@ -130,8 +131,14 @@ class CONTENT_EXPORT RenderFrameImpl
NON_EXPORTED_BASE(public media::WebMediaPlayerDelegate) {
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,
+ int32 surface_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