summaryrefslogtreecommitdiffstats
path: root/webkit/glue/devtools
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/devtools')
-rw-r--r--webkit/glue/devtools/debugger_agent_manager.cc7
-rw-r--r--webkit/glue/devtools/debugger_agent_manager.h2
2 files changed, 9 insertions, 0 deletions
diff --git a/webkit/glue/devtools/debugger_agent_manager.cc b/webkit/glue/devtools/debugger_agent_manager.cc
index 791831c..12dd202 100644
--- a/webkit/glue/devtools/debugger_agent_manager.cc
+++ b/webkit/glue/devtools/debugger_agent_manager.cc
@@ -250,6 +250,13 @@ void DebuggerAgentManager::OnWebViewClosed(WebViewImpl* webview) {
}
// static
+void DebuggerAgentManager::OnNavigate() {
+ if (in_host_dispatch_handler_) {
+ DebuggerAgentManager::SendContinueCommandToV8();
+ }
+}
+
+// static
void DebuggerAgentManager::SendCommandToV8(const string16& cmd,
v8::Debug::ClientData* data) {
#if USE(V8)
diff --git a/webkit/glue/devtools/debugger_agent_manager.h b/webkit/glue/devtools/debugger_agent_manager.h
index e0cae0a..eb8b225 100644
--- a/webkit/glue/devtools/debugger_agent_manager.h
+++ b/webkit/glue/devtools/debugger_agent_manager.h
@@ -50,6 +50,8 @@ class DebuggerAgentManager {
static void OnWebViewClosed(WebViewImpl* webview);
+ static void OnNavigate();
+
private:
DebuggerAgentManager();
~DebuggerAgentManager();