summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webdevtoolsagent_impl.cc
diff options
context:
space:
mode:
authoryurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-13 08:18:15 +0000
committeryurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-13 08:18:15 +0000
commit21f565c6b0eee70867af3853e6f8105a2d2b2067 (patch)
tree4b9e24114e539f1c3b0ea87e13ccd313837ba770 /webkit/glue/webdevtoolsagent_impl.cc
parent62a6c0428093c7aa045c31ee0d9d85a92631d406 (diff)
downloadchromium_src-21f565c6b0eee70867af3853e6f8105a2d2b2067.zip
chromium_src-21f565c6b0eee70867af3853e6f8105a2d2b2067.tar.gz
chromium_src-21f565c6b0eee70867af3853e6f8105a2d2b2067.tar.bz2
Page global contexts are assigned uniques ids.Script list now contain scripts from the inspected tab only.Also switched DebuggerAgentManager to MessageHandler2 that accepts v8::Debug::Message instead of string.
Review URL: http://codereview.chromium.org/115032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15945 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webdevtoolsagent_impl.cc')
-rw-r--r--webkit/glue/webdevtoolsagent_impl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/webdevtoolsagent_impl.cc b/webkit/glue/webdevtoolsagent_impl.cc
index 36c1dcf..ad73d28 100644
--- a/webkit/glue/webdevtoolsagent_impl.cc
+++ b/webkit/glue/webdevtoolsagent_impl.cc
@@ -163,6 +163,10 @@ void WebDevToolsAgentImpl::AddMessageToConsole(
}
}
+void WebDevToolsAgentImpl::WindowObjectCleared(WebFrameImpl* webframe) {
+ DebuggerAgentManager::SetHostId(webframe, host_id_);
+}
+
void WebDevToolsAgentImpl::ForceRepaint() {
delegate_->ForceRepaint();
}