2011-04-04 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman. Web Inspector: InspectorRuntimeAgent should not depend on Page https://bugs.webkit.org/show_bug.cgi?id=57759 Descendants of InspectorRuntimeAgent should implement a method providing access to the default inspected state used for console evaluations. * inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::InspectorAgent): runtime agent is created and deleted along with other agents. (WebCore::InspectorAgent::setFrontend): * inspector/InspectorAgent.h: * inspector/InspectorRuntimeAgent.cpp: (WebCore::InspectorRuntimeAgent::create): (WebCore::InspectorRuntimeAgent::InspectorRuntimeAgent): (WebCore::InspectorRuntimeAgent::evaluate): * inspector/InspectorRuntimeAgent.h: (WebCore::InspectorRuntimeAgent::InspectedStateProvider::~InspectedStateProvider): git-svn-id: svn://svn.chromium.org/blink/trunk@82845 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment