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

Side by Side Diff: chrome/renderer/devtools_agent.cc

Issue 6864001: Move RenderProcess to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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/renderer/chrome_render_observer.cc ('k') | chrome/renderer/devtools_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/renderer/devtools_agent.h" 5 #include "chrome/renderer/devtools_agent.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/message_loop.h"
10 #include "chrome/common/chrome_switches.h" 11 #include "chrome/common/chrome_switches.h"
11 #include "chrome/common/devtools_messages.h" 12 #include "chrome/common/devtools_messages.h"
12 #include "chrome/renderer/devtools_agent_filter.h" 13 #include "chrome/renderer/devtools_agent_filter.h"
13 #include "chrome/renderer/devtools_client.h" 14 #include "chrome/renderer/devtools_client.h"
14 #include "content/common/view_messages.h" 15 #include "content/common/view_messages.h"
15 #include "content/renderer/render_view.h" 16 #include "content/renderer/render_view.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPoint.h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPoint.h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 void DevToolsAgent::OnSetupDevToolsClient() { 193 void DevToolsAgent::OnSetupDevToolsClient() {
193 new DevToolsClient(render_view()); 194 new DevToolsClient(render_view());
194 } 195 }
195 196
196 WebDevToolsAgent* DevToolsAgent::GetWebAgent() { 197 WebDevToolsAgent* DevToolsAgent::GetWebAgent() {
197 WebView* web_view = render_view()->webview(); 198 WebView* web_view = render_view()->webview();
198 if (!web_view) 199 if (!web_view)
199 return NULL; 200 return NULL;
200 return web_view->devToolsAgent(); 201 return web_view->devToolsAgent();
201 } 202 }
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_render_observer.cc ('k') | chrome/renderer/devtools_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698