diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-13 14:20:15 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-13 14:20:15 +0000 |
commit | 8c785c6f0110c9109af284db78156b0b0998a5b5 (patch) | |
tree | e4aeae8234a51c30d5309e9af5d738b9d6bc957b /webkit/glue/devtools/debugger_agent_manager.cc | |
parent | 3061ccf369ee2642d4d18ac396b6758acebc3509 (diff) | |
download | chromium_src-8c785c6f0110c9109af284db78156b0b0998a5b5.zip chromium_src-8c785c6f0110c9109af284db78156b0b0998a5b5.tar.gz chromium_src-8c785c6f0110c9109af284db78156b0b0998a5b5.tar.bz2 |
DevTools: allow reload while on a breakpoint: detach agent on navigation attempt.
BUG=16606
Review URL: http://codereview.chromium.org/149529
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20480 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/devtools/debugger_agent_manager.cc')
-rw-r--r-- | webkit/glue/devtools/debugger_agent_manager.cc | 7 |
1 files changed, 7 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) |