OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/shell/browser/shell_devtools_frontend.h" | 5 #include "content/shell/browser/shell_devtools_frontend.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/command_line.h" | 9 #include "base/command_line.h" |
8 #include "base/json/json_reader.h" | 10 #include "base/json/json_reader.h" |
9 #include "base/json/json_writer.h" | 11 #include "base/json/json_writer.h" |
| 12 #include "base/macros.h" |
10 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
11 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
12 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
13 #include "base/values.h" | 16 #include "base/values.h" |
14 #include "components/devtools_http_handler/devtools_http_handler.h" | 17 #include "components/devtools_http_handler/devtools_http_handler.h" |
15 #include "content/public/browser/browser_thread.h" | 18 #include "content/public/browser/browser_thread.h" |
16 #include "content/public/browser/render_frame_host.h" | 19 #include "content/public/browser/render_frame_host.h" |
17 #include "content/public/browser/render_view_host.h" | 20 #include "content/public/browser/render_view_host.h" |
18 #include "content/public/browser/web_contents.h" | 21 #include "content/public/browser/web_contents.h" |
19 #include "content/public/common/content_client.h" | 22 #include "content/public/common/content_client.h" |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 CallClientFunction("DevToolsAPI.embedderMessageAck", | 334 CallClientFunction("DevToolsAPI.embedderMessageAck", |
332 &id_value, arg, nullptr); | 335 &id_value, arg, nullptr); |
333 } | 336 } |
334 | 337 |
335 void ShellDevToolsFrontend::AgentHostClosed( | 338 void ShellDevToolsFrontend::AgentHostClosed( |
336 DevToolsAgentHost* agent_host, bool replaced) { | 339 DevToolsAgentHost* agent_host, bool replaced) { |
337 frontend_shell_->Close(); | 340 frontend_shell_->Close(); |
338 } | 341 } |
339 | 342 |
340 } // namespace content | 343 } // namespace content |
OLD | NEW |