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

Unified Diff: content/renderer/render_frame_impl.h

Issue 616133002: Make RenderFrame(Host) own a RenderWidget(Host). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed Created 6 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 7dd28607bc8e79bfcf586d05375299affca118a7..02364df3ad23aa353857eac942619d988126a2ab 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -505,6 +505,7 @@ class CONTENT_EXPORT RenderFrameImpl
// content/common/*_messages.h for the message that the function is handling.
void OnBeforeUnload();
void OnSwapOut(int proxy_routing_id);
+ void OnNewWidgetForFrame(int routing_id_for_widget, bool hidden);
void OnStop();
void OnShowContextMenu(const gfx::Point& location);
void OnContextMenuClosed(const CustomContextMenuContext& custom_context);
@@ -645,6 +646,10 @@ class CONTENT_EXPORT RenderFrameImpl
RenderFrameProxy* render_frame_proxy_;
bool is_detaching_;
+ // Used when the RenderFrame is a root of a connected subtree of local
Charlie Reis 2014/10/02 00:06:57 This still doesn't match my understanding. It sou
kenrb 2014/10/02 20:20:48 Okay, to be graph theoretically precise I think I
+ // frames.
+ scoped_refptr<RenderWidget> render_widget_;
+
#if defined(ENABLE_PLUGINS)
// Current text input composition text. Empty if no composition is in
// progress.

Powered by Google App Engine
This is Rietveld 408576698