| 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/browser/devtools/render_frame_devtools_agent_host.h" | 5 #include "content/browser/devtools/render_frame_devtools_agent_host.h" |
| 6 | 6 |
| 7 #include <tuple> | 7 #include <tuple> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
| 11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 13 #include "content/browser/child_process_security_policy_impl.h" | |
| 14 #include "content/browser/devtools/devtools_frame_trace_recorder.h" | 13 #include "content/browser/devtools/devtools_frame_trace_recorder.h" |
| 15 #include "content/browser/devtools/devtools_protocol_handler.h" | 14 #include "content/browser/devtools/devtools_protocol_handler.h" |
| 16 #include "content/browser/devtools/protocol/browser_handler.h" | 15 #include "content/browser/devtools/protocol/browser_handler.h" |
| 17 #include "content/browser/devtools/protocol/dom_handler.h" | 16 #include "content/browser/devtools/protocol/dom_handler.h" |
| 18 #include "content/browser/devtools/protocol/emulation_handler.h" | 17 #include "content/browser/devtools/protocol/emulation_handler.h" |
| 19 #include "content/browser/devtools/protocol/input_handler.h" | 18 #include "content/browser/devtools/protocol/input_handler.h" |
| 20 #include "content/browser/devtools/protocol/inspector_handler.h" | 19 #include "content/browser/devtools/protocol/inspector_handler.h" |
| 21 #include "content/browser/devtools/protocol/io_handler.h" | 20 #include "content/browser/devtools/protocol/io_handler.h" |
| 22 #include "content/browser/devtools/protocol/network_handler.h" | 21 #include "content/browser/devtools/protocol/network_handler.h" |
| 23 #include "content/browser/devtools/protocol/page_handler.h" | 22 #include "content/browser/devtools/protocol/page_handler.h" |
| 24 #include "content/browser/devtools/protocol/security_handler.h" | 23 #include "content/browser/devtools/protocol/security_handler.h" |
| 25 #include "content/browser/devtools/protocol/service_worker_handler.h" | 24 #include "content/browser/devtools/protocol/service_worker_handler.h" |
| 26 #include "content/browser/devtools/protocol/storage_handler.h" | 25 #include "content/browser/devtools/protocol/storage_handler.h" |
| 27 #include "content/browser/devtools/protocol/tracing_handler.h" | 26 #include "content/browser/devtools/protocol/tracing_handler.h" |
| 28 #include "content/browser/frame_host/navigation_handle_impl.h" | 27 #include "content/browser/frame_host/navigation_handle_impl.h" |
| 29 #include "content/browser/frame_host/render_frame_host_impl.h" | 28 #include "content/browser/frame_host/render_frame_host_impl.h" |
| 30 #include "content/browser/renderer_host/input/input_router_impl.h" | 29 #include "content/browser/renderer_host/input/input_router_impl.h" |
| 31 #include "content/browser/renderer_host/render_process_host_impl.h" | 30 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 32 #include "content/browser/renderer_host/render_view_host_impl.h" | 31 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 32 #include "content/browser/shared/child_process_security_policy_helper.h" |
| 33 #include "content/browser/site_instance_impl.h" | 33 #include "content/browser/site_instance_impl.h" |
| 34 #include "content/browser/web_contents/web_contents_impl.h" | 34 #include "content/browser/web_contents/web_contents_impl.h" |
| 35 #include "content/common/view_messages.h" | 35 #include "content/common/view_messages.h" |
| 36 #include "content/public/browser/browser_context.h" | 36 #include "content/public/browser/browser_context.h" |
| 37 #include "content/public/browser/content_browser_client.h" | 37 #include "content/public/browser/content_browser_client.h" |
| 38 #include "content/public/browser/render_widget_host_iterator.h" | 38 #include "content/public/browser/render_widget_host_iterator.h" |
| 39 #include "content/public/browser/web_contents_delegate.h" | 39 #include "content/public/browser/web_contents_delegate.h" |
| 40 #include "content/public/common/browser_side_navigation_policy.h" | 40 #include "content/public/common/browser_side_navigation_policy.h" |
| 41 | 41 |
| 42 #if defined(OS_ANDROID) | 42 #if defined(OS_ANDROID) |
| (...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 922 RenderFrameHost* host) { | 922 RenderFrameHost* host) { |
| 923 return (current_ && current_->host() == host) || | 923 return (current_ && current_->host() == host) || |
| 924 (pending_ && pending_->host() == host); | 924 (pending_ && pending_->host() == host); |
| 925 } | 925 } |
| 926 | 926 |
| 927 bool RenderFrameDevToolsAgentHost::IsChildFrame() { | 927 bool RenderFrameDevToolsAgentHost::IsChildFrame() { |
| 928 return current_ && current_->host()->GetParent(); | 928 return current_ && current_->host()->GetParent(); |
| 929 } | 929 } |
| 930 | 930 |
| 931 } // namespace content | 931 } // namespace content |
| OLD | NEW |