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 <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/debug/trace_event.h" | 10 #include "base/debug/trace_event.h" |
11 #include "base/lazy_instance.h" | 11 #include "base/lazy_instance.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram.h" |
14 #include "base/metrics/stats_counters.h" | 14 #include "base/metrics/stats_counters.h" |
15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
16 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
17 #include "base/strings/string_util.h" | 17 #include "base/strings/string_util.h" |
18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
19 #include "base/time/time.h" | 19 #include "base/time/time.h" |
20 #include "content/browser/browser_plugin/browser_plugin_embedder.h" | 20 #include "content/browser/browser_plugin/browser_plugin_embedder.h" |
21 #include "content/browser/browser_plugin/browser_plugin_guest.h" | 21 #include "content/browser/browser_plugin/browser_plugin_guest.h" |
22 #include "content/browser/browser_plugin/browser_plugin_guest_manager.h" | 22 #include "content/browser/browser_plugin/browser_plugin_guest_manager.h" |
23 #include "content/browser/child_process_security_policy_impl.h" | 23 #include "content/browser/child_process_security_policy_impl.h" |
24 #include "content/browser/devtools/devtools_manager_impl.h" | 24 #include "content/browser/devtools/devtools_manager_impl.h" |
25 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" | 25 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" |
26 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 26 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
27 #include "content/browser/download/download_stats.h" | 27 #include "content/browser/download/download_stats.h" |
28 #include "content/browser/download/mhtml_generation_manager.h" | 28 #include "content/browser/download/mhtml_generation_manager.h" |
29 #include "content/browser/download/save_package.h" | 29 #include "content/browser/download/save_package.h" |
| 30 #include "content/browser/frame_host/interstitial_page_impl.h" |
| 31 #include "content/browser/frame_host/navigation_entry_impl.h" |
30 #include "content/browser/host_zoom_map_impl.h" | 32 #include "content/browser/host_zoom_map_impl.h" |
31 #include "content/browser/loader/resource_dispatcher_host_impl.h" | 33 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
32 #include "content/browser/message_port_message_filter.h" | 34 #include "content/browser/message_port_message_filter.h" |
33 #include "content/browser/message_port_service.h" | 35 #include "content/browser/message_port_service.h" |
34 #include "content/browser/power_save_blocker_impl.h" | 36 #include "content/browser/power_save_blocker_impl.h" |
35 #include "content/browser/renderer_host/render_process_host_impl.h" | 37 #include "content/browser/renderer_host/render_process_host_impl.h" |
36 #include "content/browser/renderer_host/render_view_host_impl.h" | 38 #include "content/browser/renderer_host/render_view_host_impl.h" |
37 #include "content/browser/renderer_host/render_widget_host_impl.h" | 39 #include "content/browser/renderer_host/render_widget_host_impl.h" |
38 #include "content/browser/site_instance_impl.h" | 40 #include "content/browser/site_instance_impl.h" |
39 #include "content/browser/web_contents/interstitial_page_impl.h" | |
40 #include "content/browser/web_contents/navigation_entry_impl.h" | |
41 #include "content/browser/web_contents/web_contents_view_guest.h" | 41 #include "content/browser/web_contents/web_contents_view_guest.h" |
42 #include "content/browser/webui/generic_handler.h" | 42 #include "content/browser/webui/generic_handler.h" |
43 #include "content/browser/webui/web_ui_controller_factory_registry.h" | 43 #include "content/browser/webui/web_ui_controller_factory_registry.h" |
44 #include "content/browser/webui/web_ui_impl.h" | 44 #include "content/browser/webui/web_ui_impl.h" |
45 #include "content/common/browser_plugin/browser_plugin_constants.h" | 45 #include "content/common/browser_plugin/browser_plugin_constants.h" |
46 #include "content/common/browser_plugin/browser_plugin_messages.h" | 46 #include "content/common/browser_plugin/browser_plugin_messages.h" |
47 #include "content/common/image_messages.h" | 47 #include "content/common/image_messages.h" |
48 #include "content/common/ssl_status_serialization.h" | 48 #include "content/common/ssl_status_serialization.h" |
49 #include "content/common/view_messages.h" | 49 #include "content/common/view_messages.h" |
50 #include "content/port/browser/render_view_host_delegate_view.h" | 50 #include "content/port/browser/render_view_host_delegate_view.h" |
(...skipping 3585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3636 } | 3636 } |
3637 | 3637 |
3638 void WebContentsImpl::OnFrameRemoved( | 3638 void WebContentsImpl::OnFrameRemoved( |
3639 RenderViewHostImpl* render_view_host, | 3639 RenderViewHostImpl* render_view_host, |
3640 int64 frame_id) { | 3640 int64 frame_id) { |
3641 FOR_EACH_OBSERVER(WebContentsObserver, observers_, | 3641 FOR_EACH_OBSERVER(WebContentsObserver, observers_, |
3642 FrameDetached(render_view_host, frame_id)); | 3642 FrameDetached(render_view_host, frame_id)); |
3643 } | 3643 } |
3644 | 3644 |
3645 } // namespace content | 3645 } // namespace content |
OLD | NEW |