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: chrome/renderer/devtools_client.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/devtools_agent.cc ('k') | chrome/renderer/extensions/event_bindings.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_client.h" 5 #include "chrome/renderer/devtools_client.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/message_loop.h"
8 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
9 #include "chrome/common/chrome_switches.h" 10 #include "chrome/common/chrome_switches.h"
10 #include "chrome/common/devtools_messages.h" 11 #include "chrome/common/devtools_messages.h"
11 #include "content/renderer/render_thread.h" 12 #include "content/renderer/render_thread.h"
12 #include "content/renderer/render_view.h" 13 #include "content/renderer/render_view.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsFrontend.h " 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsFrontend.h "
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
15 #include "ui/base/ui_base_switches.h" 16 #include "ui/base/ui_base_switches.h"
16 17
17 using WebKit::WebDevToolsFrontend; 18 using WebKit::WebDevToolsFrontend;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 78
78 void DevToolsClient::OnDispatchOnInspectorFrontend(const std::string& message) { 79 void DevToolsClient::OnDispatchOnInspectorFrontend(const std::string& message) {
79 web_tools_frontend_->dispatchOnInspectorFrontend( 80 web_tools_frontend_->dispatchOnInspectorFrontend(
80 WebString::fromUTF8(message)); 81 WebString::fromUTF8(message));
81 } 82 }
82 83
83 bool DevToolsClient::shouldHideScriptsPanel() { 84 bool DevToolsClient::shouldHideScriptsPanel() {
84 CommandLine* cmd = CommandLine::ForCurrentProcess(); 85 CommandLine* cmd = CommandLine::ForCurrentProcess();
85 return cmd->HasSwitch(switches::kRemoteShellPort); 86 return cmd->HasSwitch(switches::kRemoteShellPort);
86 } 87 }
OLDNEW
« no previous file with comments | « chrome/renderer/devtools_agent.cc ('k') | chrome/renderer/extensions/event_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698