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

Unified Diff: content/renderer/render_frame_impl.h

Issue 1023783004: [DevTools] Move DevToolsAgent to RenderFrameImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 5 years, 9 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 cbe833d947714282085cf70b93a6cbfa66ad0837..f2fa83d7c4b6c2c7c28c8372e9e685e0b345a301 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -74,6 +74,7 @@ namespace content {
class ChildFrameCompositingHelper;
class CompositorDependencies;
+class DevToolsAgent;
class ExternalPopupMenu;
class GeolocationDispatcher;
class ManifestManager;
@@ -739,6 +740,10 @@ class CONTENT_EXPORT RenderFrameImpl
// case of the main frame, but not subframes).
blink::WebLocalFrame* frame_;
+ // Whether this frame is a root of a subtree, where all frames live
+ // in the same process.
nasko 2015/03/25 22:26:04 This comment is not quite correct. It is a local f
dgozman 2015/03/26 13:25:49 Updated comment. I also renamed this to |is_main_o
+ bool is_local_root_;
+
base::WeakPtr<RenderViewImpl> render_view_;
int routing_id_;
bool is_swapped_out_;
@@ -846,6 +851,9 @@ class CONTENT_EXPORT RenderFrameImpl
bool contains_media_player_;
#endif
+ // The devtools agent for this frame; only created for local frame roots.
nasko 2015/03/25 22:26:04 nit: the frame is a local root, not that the local
dgozman 2015/03/26 13:25:49 Done.
+ DevToolsAgent* devtools_agent_;
+
// The geolocation dispatcher attached to this frame, lazily initialized.
GeolocationDispatcher* geolocation_dispatcher_;

Powered by Google App Engine
This is Rietveld 408576698