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 /chrome/renderer/devtools_agent.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 'chrome/renderer/devtools_agent.cc')
-rw-r--r-- | chrome/renderer/devtools_agent.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/renderer/devtools_agent.cc b/chrome/renderer/devtools_agent.cc index 00bb750..aef7125 100644 --- a/chrome/renderer/devtools_agent.cc +++ b/chrome/renderer/devtools_agent.cc @@ -22,6 +22,13 @@ DevToolsAgent::~DevToolsAgent() { agent_for_routing_id_.erase(routing_id_); } +void DevToolsAgent::OnNavigate() { + WebDevToolsAgent* web_agent = GetWebAgent(); + if (web_agent) { + web_agent->OnNavigate(); + } +} + // Called on the Renderer thread. bool DevToolsAgent::OnMessageReceived(const IPC::Message& message) { bool handled = true; |