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> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/debug/dump_without_crashing.h" | 14 #include "base/debug/dump_without_crashing.h" |
15 #include "base/feature_list.h" | 15 #include "base/feature_list.h" |
16 #include "base/i18n/character_encoding.h" | 16 #include "base/i18n/character_encoding.h" |
17 #include "base/lazy_instance.h" | 17 #include "base/lazy_instance.h" |
18 #include "base/location.h" | 18 #include "base/location.h" |
19 #include "base/logging.h" | 19 #include "base/logging.h" |
20 #include "base/macros.h" | 20 #include "base/macros.h" |
21 #include "base/memory/ptr_util.h" | 21 #include "base/memory/ptr_util.h" |
22 #include "base/memory/ref_counted.h" | 22 #include "base/memory/ref_counted.h" |
23 #include "base/metrics/histogram_macros.h" | 23 #include "base/metrics/histogram_macros.h" |
| 24 #include "base/metrics/user_metrics.h" |
24 #include "base/process/process.h" | 25 #include "base/process/process.h" |
25 #include "base/profiler/scoped_tracker.h" | 26 #include "base/profiler/scoped_tracker.h" |
26 #include "base/single_thread_task_runner.h" | 27 #include "base/single_thread_task_runner.h" |
27 #include "base/strings/string16.h" | 28 #include "base/strings/string16.h" |
28 #include "base/strings/string_number_conversions.h" | 29 #include "base/strings/string_number_conversions.h" |
29 #include "base/strings/string_util.h" | 30 #include "base/strings/string_util.h" |
30 #include "base/strings/utf_string_conversions.h" | 31 #include "base/strings/utf_string_conversions.h" |
31 #include "base/threading/thread_task_runner_handle.h" | 32 #include "base/threading/thread_task_runner_handle.h" |
32 #include "base/time/time.h" | 33 #include "base/time/time.h" |
33 #include "base/trace_event/trace_event.h" | 34 #include "base/trace_event/trace_event.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 #include "content/public/browser/load_notification_details.h" | 105 #include "content/public/browser/load_notification_details.h" |
105 #include "content/public/browser/navigation_details.h" | 106 #include "content/public/browser/navigation_details.h" |
106 #include "content/public/browser/notification_details.h" | 107 #include "content/public/browser/notification_details.h" |
107 #include "content/public/browser/notification_service.h" | 108 #include "content/public/browser/notification_service.h" |
108 #include "content/public/browser/notification_types.h" | 109 #include "content/public/browser/notification_types.h" |
109 #include "content/public/browser/render_widget_host_iterator.h" | 110 #include "content/public/browser/render_widget_host_iterator.h" |
110 #include "content/public/browser/resource_request_details.h" | 111 #include "content/public/browser/resource_request_details.h" |
111 #include "content/public/browser/security_style_explanations.h" | 112 #include "content/public/browser/security_style_explanations.h" |
112 #include "content/public/browser/ssl_status.h" | 113 #include "content/public/browser/ssl_status.h" |
113 #include "content/public/browser/storage_partition.h" | 114 #include "content/public/browser/storage_partition.h" |
114 #include "content/public/browser/user_metrics.h" | |
115 #include "content/public/browser/web_contents_binding_set.h" | 115 #include "content/public/browser/web_contents_binding_set.h" |
116 #include "content/public/browser/web_contents_delegate.h" | 116 #include "content/public/browser/web_contents_delegate.h" |
117 #include "content/public/browser/web_contents_unresponsive_state.h" | 117 #include "content/public/browser/web_contents_unresponsive_state.h" |
118 #include "content/public/common/bindings_policy.h" | 118 #include "content/public/common/bindings_policy.h" |
119 #include "content/public/common/browser_side_navigation_policy.h" | 119 #include "content/public/common/browser_side_navigation_policy.h" |
120 #include "content/public/common/child_process_host.h" | 120 #include "content/public/common/child_process_host.h" |
121 #include "content/public/common/content_constants.h" | 121 #include "content/public/common/content_constants.h" |
122 #include "content/public/common/content_switches.h" | 122 #include "content/public/common/content_switches.h" |
123 #include "content/public/common/page_zoom.h" | 123 #include "content/public/common/page_zoom.h" |
124 #include "content/public/common/result_codes.h" | 124 #include "content/public/common/result_codes.h" |
(...skipping 5278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5403 RenderViewHost* render_view_host = RenderViewHost::From(render_widget_host); | 5403 RenderViewHost* render_view_host = RenderViewHost::From(render_widget_host); |
5404 if (!render_view_host) | 5404 if (!render_view_host) |
5405 continue; | 5405 continue; |
5406 render_view_host_set.insert(render_view_host); | 5406 render_view_host_set.insert(render_view_host); |
5407 } | 5407 } |
5408 for (RenderViewHost* render_view_host : render_view_host_set) | 5408 for (RenderViewHost* render_view_host : render_view_host_set) |
5409 render_view_host->OnWebkitPreferencesChanged(); | 5409 render_view_host->OnWebkitPreferencesChanged(); |
5410 } | 5410 } |
5411 | 5411 |
5412 } // namespace content | 5412 } // namespace content |
OLD | NEW |