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

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: fixed debug build 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 97db6f95e116958870901aab01f02059f4661d8d..acdea9c4f3119e3f7b06e887d757d9fd778d9545 100644
--- a/Source/core/inspector/PageDebuggerAgent.h
+++ b/Source/core/inspector/PageDebuggerAgent.h
@@ -37,8 +37,7 @@
namespace blink {
-class DocumentLoader;
-class InspectorPageAgent;
+class LocalFrame;
class PageScriptDebugServer;
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;
};
« 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