| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/webui/devtools_ui.h" | 5 #include "chrome/browser/ui/webui/devtools_ui.h" |
| 6 | 6 |
| 7 #include "chrome/browser/renderer_host/render_view_host.h" | |
| 8 #include "chrome/common/render_messages.h" | 7 #include "chrome/common/render_messages.h" |
| 8 #include "content/browser/renderer_host/render_view_host.h" |
| 9 | 9 |
| 10 DevToolsUI::DevToolsUI(TabContents* contents) : WebUI(contents) { | 10 DevToolsUI::DevToolsUI(TabContents* contents) : WebUI(contents) { |
| 11 } | 11 } |
| 12 | 12 |
| 13 void DevToolsUI::RenderViewCreated(RenderViewHost* render_view_host) { | 13 void DevToolsUI::RenderViewCreated(RenderViewHost* render_view_host) { |
| 14 render_view_host->Send(new ViewMsg_SetupDevToolsClient( | 14 render_view_host->Send(new ViewMsg_SetupDevToolsClient( |
| 15 render_view_host->routing_id())); | 15 render_view_host->routing_id())); |
| 16 } | 16 } |
| OLD | NEW |