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

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

Issue 1315283002: [DevTools] Reverse dependencies between InspectorOverlay and agents. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more compile Created 5 years, 4 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/InspectorResourceAgent.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 476c517e70bbeb5aed545595fa0a5f0328eb1ffc..76b634225e701b1fa290fdebd01c8a10433afe7c 100644
--- a/Source/core/inspector/PageDebuggerAgent.h
+++ b/Source/core/inspector/PageDebuggerAgent.h
@@ -33,7 +33,6 @@
#include "core/CoreExport.h"
#include "core/inspector/InspectorDebuggerAgent.h"
-#include "core/inspector/InspectorOverlay.h"
using blink::TypeBuilder::Debugger::ExceptionDetails;
using blink::TypeBuilder::Debugger::ScriptId;
@@ -46,13 +45,12 @@ class InspectorPageAgent;
class MainThreadDebugger;
class CORE_EXPORT PageDebuggerAgent final
- : public InspectorDebuggerAgent
- , public InspectorOverlay::Listener {
+ : public InspectorDebuggerAgent {
WTF_MAKE_NONCOPYABLE(PageDebuggerAgent);
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(PageDebuggerAgent);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PageDebuggerAgent);
public:
- static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(MainThreadDebugger*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*);
+ static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(MainThreadDebugger*, InspectorPageAgent*, InjectedScriptManager*);
~PageDebuggerAgent() override;
DECLARE_VIRTUAL_TRACE();
@@ -71,16 +69,11 @@ private:
void muteConsole() override;
void unmuteConsole() override;
- // InspectorOverlay::Listener implementation.
- void overlayResumed() override;
- void overlaySteppedOver() override;
-
InjectedScript defaultInjectedScript() override;
bool canExecuteScripts() const;
- PageDebuggerAgent(MainThreadDebugger*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*);
+ PageDebuggerAgent(MainThreadDebugger*, InspectorPageAgent*, InjectedScriptManager*);
RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
- RawPtrWillBeMember<InspectorOverlay> m_overlay;
HashMap<String, String> m_compiledScriptURLs;
};
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/inspector/PageDebuggerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698