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

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

Issue 8788003: Update includes to new header locations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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/renderer/devtools_agent_filter.cc ('k') | content/renderer/external_popup_menu.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_client.h" 5 #include "content/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/message_loop.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "content/common/devtools_messages.h" 10 #include "content/common/devtools_messages.h"
11 #include "content/public/common/content_switches.h" 11 #include "content/public/common/content_switches.h"
12 #include "content/renderer/render_thread_impl.h" 12 #include "content/renderer/render_thread_impl.h"
13 #include "content/renderer/render_view_impl.h" 13 #include "content/renderer/render_view_impl.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsFrontend.h " 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsFrontend.h "
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFloatPoint.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFloatPoin t.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
17 #include "ui/base/ui_base_switches.h" 17 #include "ui/base/ui_base_switches.h"
18 18
19 using WebKit::WebDevToolsFrontend; 19 using WebKit::WebDevToolsFrontend;
20 using WebKit::WebString; 20 using WebKit::WebString;
21 21
22 DevToolsClient::DevToolsClient(RenderViewImpl* render_view) 22 DevToolsClient::DevToolsClient(RenderViewImpl* render_view)
23 : content::RenderViewObserver(render_view) { 23 : content::RenderViewObserver(render_view) {
24 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); 24 const CommandLine& command_line = *CommandLine::ForCurrentProcess();
25 web_tools_frontend_.reset( 25 web_tools_frontend_.reset(
26 WebDevToolsFrontend::create( 26 WebDevToolsFrontend::create(
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 const WebKit::WebString& content) { 74 const WebKit::WebString& content) {
75 Send(new DevToolsHostMsg_SaveAs(routing_id(), 75 Send(new DevToolsHostMsg_SaveAs(routing_id(),
76 file_name.utf8(), 76 file_name.utf8(),
77 content.utf8())); 77 content.utf8()));
78 } 78 }
79 79
80 void DevToolsClient::OnDispatchOnInspectorFrontend(const std::string& message) { 80 void DevToolsClient::OnDispatchOnInspectorFrontend(const std::string& message) {
81 web_tools_frontend_->dispatchOnInspectorFrontend( 81 web_tools_frontend_->dispatchOnInspectorFrontend(
82 WebString::fromUTF8(message)); 82 WebString::fromUTF8(message));
83 } 83 }
OLDNEW
« no previous file with comments | « content/renderer/devtools_agent_filter.cc ('k') | content/renderer/external_popup_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698