Index: Source/WebCore/inspector/PageRuntimeAgent.h |
=================================================================== |
--- Source/WebCore/inspector/PageRuntimeAgent.h (revision 133600) |
+++ Source/WebCore/inspector/PageRuntimeAgent.h (working copy) |
@@ -40,16 +40,15 @@ |
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, InspectorAgent* inspectorAgent) |
+ static PassOwnPtr<PageRuntimeAgent> create(InstrumentingAgents* instrumentingAgents, InspectorState* state, InjectedScriptManager* injectedScriptManager, Page* page, InspectorPageAgent* pageAgent) |
{ |
- return adoptPtr(new PageRuntimeAgent(instrumentingAgents, state, injectedScriptManager, page, pageAgent, inspectorAgent)); |
+ return adoptPtr(new PageRuntimeAgent(instrumentingAgents, state, injectedScriptManager, page, pageAgent)); |
} |
virtual ~PageRuntimeAgent(); |
virtual void setFrontend(InspectorFrontend*); |
@@ -58,11 +57,11 @@ |
virtual void enable(ErrorString*); |
virtual void disable(ErrorString*); |
- void didClearWindowObject(Frame*); |
+ void didCreateMainWorldContext(Frame*); |
void didCreateIsolatedContext(Frame*, ScriptState*, SecurityOrigin*); |
private: |
- PageRuntimeAgent(InstrumentingAgents*, InspectorState*, InjectedScriptManager*, Page*, InspectorPageAgent*, InspectorAgent*); |
+ PageRuntimeAgent(InstrumentingAgents*, InspectorState*, InjectedScriptManager*, Page*, InspectorPageAgent*); |
virtual InjectedScript injectedScriptForEval(ErrorString*, const int* executionContextId); |
virtual void muteConsole(); |
@@ -72,8 +71,8 @@ |
Page* m_inspectedPage; |
InspectorPageAgent* m_pageAgent; |
- InspectorAgent* m_inspectorAgent; |
InspectorFrontend::Runtime* m_frontend; |
+ bool m_mainWorldContextCreated; |
}; |
} // namespace WebCore |