Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Side by Side Diff: chrome/browser/dom_ui/dev_tools_ui.cc

Issue 21540: Add developer tools message forwarding to browser (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/dom_ui/dev_tools_ui.h ('k') | chrome/browser/dom_ui/dom_ui.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/dom_ui/dev_tools_ui.h"
6
7 #include "chrome/browser/renderer_host/render_view_host.h"
8 #include "chrome/common/render_messages.h"
9
10 // DevToolsUI is accessible from chrome-ui://devtools.
11 static const char kDevToolsHost[] = "devtools";
12
13 // static
14 GURL DevToolsUI::GetBaseURL() {
15 return GURL(DOMUIContents::GetScheme() + "://" + kDevToolsHost);
16 }
17
18 void DevToolsUI::RenderViewCreated(RenderViewHost* render_view_host) {
19 render_view_host->Send(new ViewMsg_SetupDevToolsClient(
20 render_view_host->routing_id()));
21 }
22
23
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/dev_tools_ui.h ('k') | chrome/browser/dom_ui/dom_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698