OLD | NEW |
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_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.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/platform/WebFloatPoin
t.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFloatPoin
t.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 url.utf8(), | 88 url.utf8(), |
89 content.utf8())); | 89 content.utf8())); |
90 } | 90 } |
91 | 91 |
92 void DevToolsClient::OnDispatchOnInspectorFrontend(const std::string& message) { | 92 void DevToolsClient::OnDispatchOnInspectorFrontend(const std::string& message) { |
93 web_tools_frontend_->dispatchOnInspectorFrontend( | 93 web_tools_frontend_->dispatchOnInspectorFrontend( |
94 WebString::fromUTF8(message)); | 94 WebString::fromUTF8(message)); |
95 } | 95 } |
96 | 96 |
97 } // namespace content | 97 } // namespace content |
OLD | NEW |