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

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

Issue 19620002: Use a direct include of the message_loop header in content/, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/devtools_client.h" 5 #include "content/renderer/devtools/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/message_loop.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/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/public/common/url_constants.h" 12 #include "content/public/common/url_constants.h"
13 #include "content/renderer/render_thread_impl.h" 13 #include "content/renderer/render_thread_impl.h"
14 #include "content/renderer/render_view_impl.h" 14 #include "content/renderer/render_view_impl.h"
15 #include "third_party/WebKit/public/web/WebDevToolsFrontend.h"
16 #include "third_party/WebKit/public/platform/WebFloatPoint.h" 15 #include "third_party/WebKit/public/platform/WebFloatPoint.h"
17 #include "third_party/WebKit/public/platform/WebString.h" 16 #include "third_party/WebKit/public/platform/WebString.h"
17 #include "third_party/WebKit/public/web/WebDevToolsFrontend.h"
18 #include "ui/base/ui_base_switches.h" 18 #include "ui/base/ui_base_switches.h"
19 #include "webkit/common/appcache/appcache_interfaces.h" 19 #include "webkit/common/appcache/appcache_interfaces.h"
20 20
21 using WebKit::WebDevToolsFrontend; 21 using WebKit::WebDevToolsFrontend;
22 using WebKit::WebString; 22 using WebKit::WebString;
23 23
24 namespace content { 24 namespace content {
25 25
26 DevToolsClient::DevToolsClient(RenderViewImpl* render_view) 26 DevToolsClient::DevToolsClient(RenderViewImpl* render_view)
27 : RenderViewObserver(render_view) { 27 : RenderViewObserver(render_view) {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 bool DevToolsClient::isUnderTest() { 112 bool DevToolsClient::isUnderTest() {
113 return RenderThreadImpl::current()->layout_test_mode(); 113 return RenderThreadImpl::current()->layout_test_mode();
114 } 114 }
115 115
116 void DevToolsClient::OnDispatchOnInspectorFrontend(const std::string& message) { 116 void DevToolsClient::OnDispatchOnInspectorFrontend(const std::string& message) {
117 web_tools_frontend_->dispatchOnInspectorFrontend( 117 web_tools_frontend_->dispatchOnInspectorFrontend(
118 WebString::fromUTF8(message)); 118 WebString::fromUTF8(message));
119 } 119 }
120 120
121 } // namespace content 121 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/devtools/devtools_agent_filter.cc ('k') | content/renderer/gpu/input_event_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698