| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include "content/browser/find_request_manager.h" | 45 #include "content/browser/find_request_manager.h" |
| 46 #include "content/browser/frame_host/cross_process_frame_connector.h" | 46 #include "content/browser/frame_host/cross_process_frame_connector.h" |
| 47 #include "content/browser/frame_host/interstitial_page_impl.h" | 47 #include "content/browser/frame_host/interstitial_page_impl.h" |
| 48 #include "content/browser/frame_host/navigation_entry_impl.h" | 48 #include "content/browser/frame_host/navigation_entry_impl.h" |
| 49 #include "content/browser/frame_host/navigation_handle_impl.h" | 49 #include "content/browser/frame_host/navigation_handle_impl.h" |
| 50 #include "content/browser/frame_host/navigator_impl.h" | 50 #include "content/browser/frame_host/navigator_impl.h" |
| 51 #include "content/browser/frame_host/render_frame_host_impl.h" | 51 #include "content/browser/frame_host/render_frame_host_impl.h" |
| 52 #include "content/browser/frame_host/render_frame_proxy_host.h" | 52 #include "content/browser/frame_host/render_frame_proxy_host.h" |
| 53 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" | 53 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" |
| 54 #include "content/browser/host_zoom_map_impl.h" | 54 #include "content/browser/host_zoom_map_impl.h" |
| 55 #include "content/browser/loader/loader_io_thread_notifier.h" |
| 55 #include "content/browser/loader/resource_dispatcher_host_impl.h" | 56 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
| 56 #include "content/browser/manifest/manifest_manager_host.h" | 57 #include "content/browser/manifest/manifest_manager_host.h" |
| 57 #include "content/browser/media/audio_stream_monitor.h" | 58 #include "content/browser/media/audio_stream_monitor.h" |
| 58 #include "content/browser/media/capture/web_contents_audio_muter.h" | 59 #include "content/browser/media/capture/web_contents_audio_muter.h" |
| 59 #include "content/browser/media/media_web_contents_observer.h" | 60 #include "content/browser/media/media_web_contents_observer.h" |
| 60 #include "content/browser/media/session/media_session.h" | 61 #include "content/browser/media/session/media_session.h" |
| 61 #include "content/browser/message_port_message_filter.h" | 62 #include "content/browser/message_port_message_filter.h" |
| 62 #include "content/browser/plugin_content_origin_whitelist.h" | 63 #include "content/browser/plugin_content_origin_whitelist.h" |
| 63 #include "content/browser/renderer_host/render_process_host_impl.h" | 64 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 64 #include "content/browser/renderer_host/render_view_host_delegate_view.h" | 65 #include "content/browser/renderer_host/render_view_host_delegate_view.h" |
| (...skipping 5149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5214 for (RenderViewHost* render_view_host : render_view_host_set) | 5215 for (RenderViewHost* render_view_host : render_view_host_set) |
| 5215 render_view_host->OnWebkitPreferencesChanged(); | 5216 render_view_host->OnWebkitPreferencesChanged(); |
| 5216 } | 5217 } |
| 5217 | 5218 |
| 5218 void WebContentsImpl::SetJavaScriptDialogManagerForTesting( | 5219 void WebContentsImpl::SetJavaScriptDialogManagerForTesting( |
| 5219 JavaScriptDialogManager* dialog_manager) { | 5220 JavaScriptDialogManager* dialog_manager) { |
| 5220 dialog_manager_ = dialog_manager; | 5221 dialog_manager_ = dialog_manager; |
| 5221 } | 5222 } |
| 5222 | 5223 |
| 5223 } // namespace content | 5224 } // namespace content |
| OLD | NEW |