summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webdevtoolsclient_impl.h
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-27 09:53:27 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-27 09:53:27 +0000
commitb004209b94e258e9ca5a2356e4bd108f8443e142 (patch)
tree5f0170dfafbaa7b3a7e0fc48e502396e6e09004e /webkit/glue/webdevtoolsclient_impl.h
parentbc296f37929b762850ce2c3b317f8542bdace2a1 (diff)
downloadchromium_src-b004209b94e258e9ca5a2356e4bd108f8443e142.zip
chromium_src-b004209b94e258e9ca5a2356e4bd108f8443e142.tar.gz
chromium_src-b004209b94e258e9ca5a2356e4bd108f8443e142.tar.bz2
DevTools: Migrate to InspectorController for network and console events.
- introduced bound object on the agent side; - established remote dispatch of WebInspector calls - using fake InspectorFrontend for serializing events and sending them over the ipc - removed net agents from both sides - moved GetResource stuff to tools agent Assumes following is landed: https://bugs.webkit.org/show_bug.cgi?id=26010 Review URL: http://codereview.chromium.org/113836 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16980 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webdevtoolsclient_impl.h')
-rw-r--r--webkit/glue/webdevtoolsclient_impl.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/webkit/glue/webdevtoolsclient_impl.h b/webkit/glue/webdevtoolsclient_impl.h
index 6a9e1ce..a7ae71f5 100644
--- a/webkit/glue/webdevtoolsclient_impl.h
+++ b/webkit/glue/webdevtoolsclient_impl.h
@@ -20,6 +20,7 @@ class Page;
class String;
}
+class BoundObject;
class JsDebuggerAgentBoundObj;
class JsDomAgentBoundObj;
class JsNetAgentBoundObj;
@@ -47,20 +48,15 @@ class WebDevToolsClientImpl : public WebDevToolsClient,
static v8::Handle<v8::Value> JsLoaded(const v8::Arguments& args);
static v8::Handle<v8::Value> JsActivateWindow(const v8::Arguments& args);
- void InitBoundObject();
- void InitProtoFunction(const char* name, v8::InvocationCallback callback);
-
WebViewImpl* web_view_impl_;
WebDevToolsClientDelegate* delegate_;
OwnPtr<CppBoundClass> debugger_command_executor_obj_;
OwnPtr<JsDebuggerAgentBoundObj> debugger_agent_obj_;
OwnPtr<JsDomAgentBoundObj> dom_agent_obj_;
- OwnPtr<JsNetAgentBoundObj> net_agent_obj_;
OwnPtr<JsToolsAgentBoundObj> tools_agent_obj_;
bool loaded_;
Vector<std::string> pending_incoming_messages_;
- v8::Persistent<v8::FunctionTemplate> host_template_;
- v8::Persistent<v8::External> v8_this_;
+ OwnPtr<BoundObject> dev_tools_host_;
DISALLOW_COPY_AND_ASSIGN(WebDevToolsClientImpl);
};