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

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

Issue 892693006: Revert of 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, 10 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
« no previous file with comments | « Source/core/inspector/InspectorLayerTreeAgent.cpp ('k') | Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorPageAgent.h
diff --git a/Source/core/inspector/InspectorPageAgent.h b/Source/core/inspector/InspectorPageAgent.h
index cc850c4eec9b9bf9a2bf6ef794c71fb893d35803..7170cc4a1435a579d2503176a490588c495559e9 100644
--- a/Source/core/inspector/InspectorPageAgent.h
+++ b/Source/core/inspector/InspectorPageAgent.h
@@ -43,7 +43,7 @@
class Resource;
class Document;
class DocumentLoader;
-class FrameHost;
+class LocalFrame;
class GraphicsContext;
class GraphicsLayer;
class InjectedScriptManager;
@@ -52,7 +52,6 @@
class InspectorResourceContentLoader;
class KURL;
class LayoutRect;
-class LocalFrame;
class Page;
class RenderObject;
class SharedBuffer;
@@ -158,8 +157,8 @@
void discardAgent() override;
// Cross-agents API
- FrameHost* frameHost();
- LocalFrame* inspectedFrame();
+ Page* page() { return m_page; }
+ LocalFrame* mainFrame();
String createIdentifier();
LocalFrame* frameForId(const String& frameId);
String frameId(LocalFrame*);
« no previous file with comments | « Source/core/inspector/InspectorLayerTreeAgent.cpp ('k') | Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698