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

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

Issue 1118963002: Revert of DevTools: remove dependency of most agents on InspectorPageAgent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/core/inspector/PageConsoleAgent.cpp ('k') | Source/core/inspector/PageDebuggerAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/PageDebuggerAgent.h
diff --git a/Source/core/inspector/PageDebuggerAgent.h b/Source/core/inspector/PageDebuggerAgent.h
index acdea9c4f3119e3f7b06e887d757d9fd778d9545..97db6f95e116958870901aab01f02059f4661d8d 100644
--- a/Source/core/inspector/PageDebuggerAgent.h
+++ b/Source/core/inspector/PageDebuggerAgent.h
@@ -37,7 +37,8 @@
namespace blink {
-class LocalFrame;
+class DocumentLoader;
+class InspectorPageAgent;
class PageScriptDebugServer;
class PageDebuggerAgent final
@@ -47,7 +48,7 @@
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(PageDebuggerAgent);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PageDebuggerAgent);
public:
- static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(LocalFrame* inspectedFrame, PageScriptDebugServer*, InjectedScriptManager*, InspectorOverlay*, int debuggerId);
+ static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(PageScriptDebugServer*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*, int debuggerId);
~PageDebuggerAgent() override;
DECLARE_VIRTUAL_TRACE();
@@ -72,9 +73,9 @@
InjectedScript injectedScriptForEval(ErrorString*, const int* executionContextId) override;
- PageDebuggerAgent(LocalFrame* inspectedFrame, PageScriptDebugServer*, InjectedScriptManager*, InspectorOverlay*, int debuggerId);
- RawPtrWillBeMember<LocalFrame> m_inspectedFrame;
+ PageDebuggerAgent(PageScriptDebugServer*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*, int debuggerId);
RawPtrWillBeMember<PageScriptDebugServer> m_pageScriptDebugServer;
+ RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
RawPtrWillBeMember<InspectorOverlay> m_overlay;
int m_debuggerId;
};
« no previous file with comments | « Source/core/inspector/PageConsoleAgent.cpp ('k') | Source/core/inspector/PageDebuggerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698