Index: Source/WebCore/inspector/PageRuntimeAgent.h |
=================================================================== |
--- Source/WebCore/inspector/PageRuntimeAgent.h (revision 122761) |
+++ Source/WebCore/inspector/PageRuntimeAgent.h (working copy) |
@@ -40,15 +40,16 @@ |
namespace WebCore { |
+class InspectorAgent; |
class InspectorPageAgent; |
class Page; |
class SecurityOrigin; |
class PageRuntimeAgent : public InspectorRuntimeAgent { |
public: |
- static PassOwnPtr<PageRuntimeAgent> create(InstrumentingAgents* instrumentingAgents, InspectorState* state, InjectedScriptManager* injectedScriptManager, Page* page, InspectorPageAgent* pageAgent) |
+ static PassOwnPtr<PageRuntimeAgent> create(InstrumentingAgents* instrumentingAgents, InspectorState* state, InjectedScriptManager* injectedScriptManager, Page* page, InspectorPageAgent* pageAgent, InspectorAgent* inspectorAgent) |
{ |
- return adoptPtr(new PageRuntimeAgent(instrumentingAgents, state, injectedScriptManager, page, pageAgent)); |
+ return adoptPtr(new PageRuntimeAgent(instrumentingAgents, state, injectedScriptManager, page, pageAgent, inspectorAgent)); |
} |
virtual ~PageRuntimeAgent(); |
virtual void setFrontend(InspectorFrontend*); |
@@ -60,7 +61,7 @@ |
void didCreateIsolatedContext(Frame*, ScriptState*, SecurityOrigin*); |
private: |
- PageRuntimeAgent(InstrumentingAgents*, InspectorState*, InjectedScriptManager*, Page*, InspectorPageAgent*); |
+ PageRuntimeAgent(InstrumentingAgents*, InspectorState*, InjectedScriptManager*, Page*, InspectorPageAgent*, InspectorAgent*); |
virtual InjectedScript injectedScriptForEval(ErrorString*, const int* executionContextId); |
virtual void muteConsole(); |
@@ -69,6 +70,7 @@ |
Page* m_inspectedPage; |
InspectorPageAgent* m_pageAgent; |
+ InspectorAgent* m_inspectorAgent; |
InspectorFrontend::Runtime* m_frontend; |
}; |