diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-22 11:33:05 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-22 11:33:05 +0000 |
commit | b4b967edacf8e291f78df2c8238e3446922a179f (patch) | |
tree | 621b8c0eedf48e7cb346f31277ce3b34a30cb99a /webkit/glue/webdevtoolsagent_impl.cc | |
parent | 57b4ef12d0f726a79a3fa023cd6bb32b51925be8 (diff) | |
download | chromium_src-b4b967edacf8e291f78df2c8238e3446922a179f.zip chromium_src-b4b967edacf8e291f78df2c8238e3446922a179f.tar.gz chromium_src-b4b967edacf8e291f78df2c8238e3446922a179f.tar.bz2 |
DevTools: Run nested message loop instead of whitelisting the messages.
Review URL: http://codereview.chromium.org/90007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14183 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webdevtoolsagent_impl.cc')
-rw-r--r-- | webkit/glue/webdevtoolsagent_impl.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/webkit/glue/webdevtoolsagent_impl.cc b/webkit/glue/webdevtoolsagent_impl.cc index 11c64764..769a477 100644 --- a/webkit/glue/webdevtoolsagent_impl.cc +++ b/webkit/glue/webdevtoolsagent_impl.cc @@ -154,6 +154,10 @@ void WebDevToolsAgentImpl::AddMessageToConsole( } } +void WebDevToolsAgentImpl::ForceRepaint() { + delegate_->ForceRepaint(); +} + void WebDevToolsAgentImpl::HighlightDOMNode(int node_id) { if (!attached_) { return; @@ -252,6 +256,7 @@ void WebDevToolsAgent::ExecuteDebuggerCommand( } // static -void WebDevToolsAgent::ScheduleMessageDispatch(Message* message) { - DebuggerAgentManager::ScheduleMessageDispatch(message); +void WebDevToolsAgent::SetMessageLoopDispatchHandler( + MessageLoopDispatchHandler handler) { + DebuggerAgentManager::SetMessageLoopDispatchHandler(handler); } |