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

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

Issue 8277018: Move content_switches to content\public\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | « content/public/common/content_switches.cc ('k') | content/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 "content/renderer/devtools_agent.h" 5 #include "content/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 "base/message_loop.h"
11 #include "base/process.h" 11 #include "base/process.h"
12 #include "base/string_number_conversions.h" 12 #include "base/string_number_conversions.h"
13 #include "content/common/content_switches.h" 13 #include "content/common/devtools_messages.h"
14 #include "content/common/view_messages.h"
15 #include "content/public/common/content_switches.h"
14 #include "content/renderer/devtools_agent_filter.h" 16 #include "content/renderer/devtools_agent_filter.h"
15 #include "content/renderer/devtools_client.h" 17 #include "content/renderer/devtools_client.h"
16 #include "content/common/devtools_messages.h"
17 #include "content/common/view_messages.h"
18 #include "content/renderer/render_view_impl.h" 18 #include "content/renderer/render_view_impl.h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPoint.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPoint.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
23 23
24 using WebKit::WebDevToolsAgent; 24 using WebKit::WebDevToolsAgent;
25 using WebKit::WebDevToolsAgentClient; 25 using WebKit::WebDevToolsAgentClient;
26 using WebKit::WebPoint; 26 using WebKit::WebPoint;
27 using WebKit::WebString; 27 using WebKit::WebString;
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 WebDevToolsAgent* DevToolsAgent::GetWebAgent() { 202 WebDevToolsAgent* DevToolsAgent::GetWebAgent() {
203 WebView* web_view = render_view()->GetWebView(); 203 WebView* web_view = render_view()->GetWebView();
204 if (!web_view) 204 if (!web_view)
205 return NULL; 205 return NULL;
206 return web_view->devToolsAgent(); 206 return web_view->devToolsAgent();
207 } 207 }
208 208
209 bool DevToolsAgent::IsAttached() { 209 bool DevToolsAgent::IsAttached() {
210 return is_attached_; 210 return is_attached_;
211 } 211 }
OLDNEW
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/renderer/devtools_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698