summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/devtools_ui.cc
blob: 50aa4f3af71ddb26ef16de8d4eef1c10c5352cb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/webui/devtools_ui.h"

#include "chrome/browser/renderer_host/render_view_host.h"
#include "chrome/common/render_messages.h"

DevToolsUI::DevToolsUI(TabContents* contents) : WebUI(contents) {
}

void DevToolsUI::RenderViewCreated(RenderViewHost* render_view_host) {
  render_view_host->Send(new ViewMsg_SetupDevToolsClient(
      render_view_host->routing_id()));
}