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

Unified Diff: Source/core/inspector/InspectorPageAgent.h

Issue 898593002: DevTools: use per-LocalFrame instrumenting agents instead of per-Page ones. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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: Source/core/inspector/InspectorPageAgent.h
diff --git a/Source/core/inspector/InspectorPageAgent.h b/Source/core/inspector/InspectorPageAgent.h
index 7170cc4a1435a579d2503176a490588c495559e9..d6f231a9e9adcbd3312bc43c98f1e77cc938f90a 100644
--- a/Source/core/inspector/InspectorPageAgent.h
+++ b/Source/core/inspector/InspectorPageAgent.h
@@ -43,7 +43,7 @@ namespace blink {
class Resource;
class Document;
class DocumentLoader;
-class LocalFrame;
+class FrameHost;
class GraphicsContext;
class GraphicsLayer;
class InjectedScriptManager;
@@ -52,6 +52,7 @@ class InspectorOverlay;
class InspectorResourceContentLoader;
class KURL;
class LayoutRect;
+class LocalFrame;
class Page;
class RenderObject;
class SharedBuffer;
@@ -157,7 +158,7 @@ public:
void discardAgent() override;
// Cross-agents API
- Page* page() { return m_page; }
+ FrameHost* frameHost();
LocalFrame* mainFrame();
String createIdentifier();
LocalFrame* frameForId(const String& frameId);

Powered by Google App Engine
This is Rietveld 408576698