| Index: content/browser/debugger/render_view_devtools_agent_host.cc
|
| diff --git a/content/browser/debugger/render_view_devtools_agent_host.cc b/content/browser/debugger/render_view_devtools_agent_host.cc
|
| index 7aad562d8a051701bfafd713b1240a810777074a..208fc6f2398c25b5c88f7ab4c9040d6afe8ac8e6 100644
|
| --- a/content/browser/debugger/render_view_devtools_agent_host.cc
|
| +++ b/content/browser/debugger/render_view_devtools_agent_host.cc
|
| @@ -77,6 +77,15 @@ RenderViewDevToolsAgentHost::RenderViewDevToolsAgentHost(RenderViewHost* rvh)
|
| : content::RenderViewHostObserver(rvh),
|
| render_view_host_(rvh) {
|
| g_instances.Get()[rvh] = this;
|
| +
|
| + // Notify that the view is being opened. This allows any views being debugged
|
| + // to do anything special they need to do to support debugging.
|
| + content::NotificationService::current()->Notify(
|
| + content::NOTIFICATION_DEVTOOLS_WINDOW_OPENING,
|
| + content::Source<content::BrowserContext>(
|
| + render_view_host_->site_instance()->GetProcess()->
|
| + GetBrowserContext()),
|
| + content::Details<RenderViewHost>(render_view_host_));
|
| }
|
|
|
| void RenderViewDevToolsAgentHost::SendMessageToAgent(IPC::Message* msg) {
|
|
|