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/web_contents/web_contents_impl.h" | 5 #include "content/browser/web_contents/web_contents_impl.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <cmath> | 9 #include <cmath> |
10 #include <utility> | 10 #include <utility> |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "base/time/time.h" | 27 #include "base/time/time.h" |
28 #include "base/trace_event/trace_event.h" | 28 #include "base/trace_event/trace_event.h" |
29 #include "build/build_config.h" | 29 #include "build/build_config.h" |
30 #include "components/mime_util/mime_util.h" | 30 #include "components/mime_util/mime_util.h" |
31 #include "components/url_formatter/url_formatter.h" | 31 #include "components/url_formatter/url_formatter.h" |
32 #include "content/browser/accessibility/accessibility_mode_helper.h" | 32 #include "content/browser/accessibility/accessibility_mode_helper.h" |
33 #include "content/browser/accessibility/browser_accessibility_state_impl.h" | 33 #include "content/browser/accessibility/browser_accessibility_state_impl.h" |
34 #include "content/browser/bad_message.h" | 34 #include "content/browser/bad_message.h" |
35 #include "content/browser/browser_plugin/browser_plugin_embedder.h" | 35 #include "content/browser/browser_plugin/browser_plugin_embedder.h" |
36 #include "content/browser/browser_plugin/browser_plugin_guest.h" | 36 #include "content/browser/browser_plugin/browser_plugin_guest.h" |
37 #include "content/browser/child_process_security_policy_impl.h" | |
38 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" | 37 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" |
39 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 38 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
40 #include "content/browser/download/download_stats.h" | 39 #include "content/browser/download/download_stats.h" |
41 #include "content/browser/download/mhtml_generation_manager.h" | 40 #include "content/browser/download/mhtml_generation_manager.h" |
42 #include "content/browser/download/save_package.h" | 41 #include "content/browser/download/save_package.h" |
43 #include "content/browser/find_request_manager.h" | 42 #include "content/browser/find_request_manager.h" |
44 #include "content/browser/frame_host/cross_process_frame_connector.h" | 43 #include "content/browser/frame_host/cross_process_frame_connector.h" |
45 #include "content/browser/frame_host/interstitial_page_impl.h" | 44 #include "content/browser/frame_host/interstitial_page_impl.h" |
46 #include "content/browser/frame_host/navigation_entry_impl.h" | 45 #include "content/browser/frame_host/navigation_entry_impl.h" |
47 #include "content/browser/frame_host/navigation_handle_impl.h" | 46 #include "content/browser/frame_host/navigation_handle_impl.h" |
(...skipping 12 matching lines...) Expand all Loading... |
60 #include "content/browser/message_port_message_filter.h" | 59 #include "content/browser/message_port_message_filter.h" |
61 #include "content/browser/plugin_content_origin_whitelist.h" | 60 #include "content/browser/plugin_content_origin_whitelist.h" |
62 #include "content/browser/renderer_host/render_process_host_impl.h" | 61 #include "content/browser/renderer_host/render_process_host_impl.h" |
63 #include "content/browser/renderer_host/render_view_host_delegate_view.h" | 62 #include "content/browser/renderer_host/render_view_host_delegate_view.h" |
64 #include "content/browser/renderer_host/render_view_host_impl.h" | 63 #include "content/browser/renderer_host/render_view_host_impl.h" |
65 #include "content/browser/renderer_host/render_widget_host_impl.h" | 64 #include "content/browser/renderer_host/render_widget_host_impl.h" |
66 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" | 65 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" |
67 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 66 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
68 #include "content/browser/renderer_host/text_input_manager.h" | 67 #include "content/browser/renderer_host/text_input_manager.h" |
69 #include "content/browser/screen_orientation/screen_orientation_dispatcher_host_
impl.h" | 68 #include "content/browser/screen_orientation/screen_orientation_dispatcher_host_
impl.h" |
| 69 #include "content/browser/shared/child_process_security_policy_helper.h" |
70 #include "content/browser/site_instance_impl.h" | 70 #include "content/browser/site_instance_impl.h" |
71 #include "content/browser/wake_lock/wake_lock_service_context.h" | 71 #include "content/browser/wake_lock/wake_lock_service_context.h" |
72 #include "content/browser/web_contents/web_contents_view_child_frame.h" | 72 #include "content/browser/web_contents/web_contents_view_child_frame.h" |
73 #include "content/browser/web_contents/web_contents_view_guest.h" | 73 #include "content/browser/web_contents/web_contents_view_guest.h" |
74 #include "content/browser/webui/generic_handler.h" | 74 #include "content/browser/webui/generic_handler.h" |
75 #include "content/browser/webui/web_ui_controller_factory_registry.h" | 75 #include "content/browser/webui/web_ui_controller_factory_registry.h" |
76 #include "content/browser/webui/web_ui_impl.h" | 76 #include "content/browser/webui/web_ui_impl.h" |
77 #include "content/common/browser_plugin/browser_plugin_constants.h" | 77 #include "content/common/browser_plugin/browser_plugin_constants.h" |
78 #include "content/common/browser_plugin/browser_plugin_messages.h" | 78 #include "content/common/browser_plugin/browser_plugin_messages.h" |
79 #include "content/common/frame_messages.h" | 79 #include "content/common/frame_messages.h" |
(...skipping 5046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5126 for (RenderViewHost* render_view_host : render_view_host_set) | 5126 for (RenderViewHost* render_view_host : render_view_host_set) |
5127 render_view_host->OnWebkitPreferencesChanged(); | 5127 render_view_host->OnWebkitPreferencesChanged(); |
5128 } | 5128 } |
5129 | 5129 |
5130 void WebContentsImpl::SetJavaScriptDialogManagerForTesting( | 5130 void WebContentsImpl::SetJavaScriptDialogManagerForTesting( |
5131 JavaScriptDialogManager* dialog_manager) { | 5131 JavaScriptDialogManager* dialog_manager) { |
5132 dialog_manager_ = dialog_manager; | 5132 dialog_manager_ = dialog_manager; |
5133 } | 5133 } |
5134 | 5134 |
5135 } // namespace content | 5135 } // namespace content |
OLD | NEW |