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

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

Issue 1092123004: DevTools: remove dependency of most agents on InspectorPageAgent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: further cuts on InspectorPageAgent inter-agents API Created 5 years, 8 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/PageDebuggerAgent.h
diff --git a/Source/core/inspector/PageDebuggerAgent.h b/Source/core/inspector/PageDebuggerAgent.h
index 97db6f95e116958870901aab01f02059f4661d8d..f6929fde0b32e34fe182738c7a0fbb3e0940881e 100644
--- a/Source/core/inspector/PageDebuggerAgent.h
+++ b/Source/core/inspector/PageDebuggerAgent.h
@@ -38,7 +38,6 @@
namespace blink {
class DocumentLoader;
-class InspectorPageAgent;
class PageScriptDebugServer;
yurys 2015/04/24 08:54:41 class LocalFrame;
class PageDebuggerAgent final
@@ -48,7 +47,7 @@ class PageDebuggerAgent final
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(PageDebuggerAgent);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PageDebuggerAgent);
public:
- static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(PageScriptDebugServer*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*, int debuggerId);
+ static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(LocalFrame* inspectedFrame, PageScriptDebugServer*, InjectedScriptManager*, InspectorOverlay*, int debuggerId);
~PageDebuggerAgent() override;
DECLARE_VIRTUAL_TRACE();
@@ -73,9 +72,9 @@ private:
InjectedScript injectedScriptForEval(ErrorString*, const int* executionContextId) override;
- PageDebuggerAgent(PageScriptDebugServer*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*, int debuggerId);
+ PageDebuggerAgent(LocalFrame* inspectedFrame, PageScriptDebugServer*, InjectedScriptManager*, InspectorOverlay*, int debuggerId);
+ RawPtrWillBeMember<LocalFrame> m_inspectedFrame;
RawPtrWillBeMember<PageScriptDebugServer> m_pageScriptDebugServer;
- RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
RawPtrWillBeMember<InspectorOverlay> m_overlay;
int m_debuggerId;
};

Powered by Google App Engine
This is Rietveld 408576698