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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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" |
125 #include "content/public/common/url_utils.h" | 125 #include "content/public/common/url_utils.h" |
126 #include "content/public/common/web_preferences.h" | 126 #include "content/public/common/web_preferences.h" |
127 #include "device/geolocation/geolocation_service_context.h" | 127 #include "device/geolocation/geolocation_service_context.h" |
128 #include "device/nfc/nfc.mojom.h" | |
129 #include "net/base/url_util.h" | 128 #include "net/base/url_util.h" |
130 #include "net/http/http_cache.h" | 129 #include "net/http/http_cache.h" |
131 #include "net/http/http_transaction_factory.h" | 130 #include "net/http/http_transaction_factory.h" |
132 #include "net/url_request/url_request_context.h" | 131 #include "net/url_request/url_request_context.h" |
133 #include "net/url_request/url_request_context_getter.h" | 132 #include "net/url_request/url_request_context_getter.h" |
134 #include "ppapi/features/features.h" | 133 #include "ppapi/features/features.h" |
135 #include "services/service_manager/public/cpp/interface_provider.h" | 134 #include "services/service_manager/public/cpp/interface_provider.h" |
136 #include "third_party/WebKit/public/platform/WebSecurityStyle.h" | 135 #include "third_party/WebKit/public/platform/WebSecurityStyle.h" |
137 #include "third_party/WebKit/public/web/WebSandboxFlags.h" | 136 #include "third_party/WebKit/public/web/WebSandboxFlags.h" |
138 #include "third_party/skia/include/core/SkBitmap.h" | 137 #include "third_party/skia/include/core/SkBitmap.h" |
139 #include "ui/accessibility/ax_tree_combiner.h" | 138 #include "ui/accessibility/ax_tree_combiner.h" |
140 #include "ui/base/layout.h" | 139 #include "ui/base/layout.h" |
141 #include "ui/events/blink/web_input_event_traits.h" | 140 #include "ui/events/blink/web_input_event_traits.h" |
142 #include "ui/gl/gl_switches.h" | 141 #include "ui/gl/gl_switches.h" |
143 | 142 |
144 #if defined(OS_WIN) | 143 #if defined(OS_WIN) |
145 #include "content/browser/renderer_host/dip_util.h" | 144 #include "content/browser/renderer_host/dip_util.h" |
146 #include "ui/gfx/geometry/dip_util.h" | 145 #include "ui/gfx/geometry/dip_util.h" |
147 #endif | 146 #endif |
148 | 147 |
149 #if defined(OS_ANDROID) | 148 #if defined(OS_ANDROID) |
150 #include "content/browser/android/content_video_view.h" | 149 #include "content/browser/android/content_video_view.h" |
151 #include "content/browser/android/date_time_chooser_android.h" | 150 #include "content/browser/android/date_time_chooser_android.h" |
152 #include "content/browser/android/java_interfaces_impl.h" | 151 #include "content/browser/android/java_interfaces_impl.h" |
153 #include "content/browser/media/android/media_web_contents_observer_android.h" | 152 #include "content/browser/media/android/media_web_contents_observer_android.h" |
154 #include "content/browser/web_contents/web_contents_android.h" | 153 #include "content/browser/web_contents/web_contents_android.h" |
| 154 #include "services/device/public/interfaces/nfc.mojom.h" |
155 #endif // OS_ANDROID | 155 #endif // OS_ANDROID |
156 | 156 |
157 #if defined(OS_MACOSX) | 157 #if defined(OS_MACOSX) |
158 #include "base/mac/foundation_util.h" | 158 #include "base/mac/foundation_util.h" |
159 #endif | 159 #endif |
160 | 160 |
161 #if defined(USE_AURA) | 161 #if defined(USE_AURA) |
162 #include "content/public/common/service_manager_connection.h" | 162 #include "content/public/common/service_manager_connection.h" |
163 #endif | 163 #endif |
164 | 164 |
(...skipping 5473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5638 RenderViewHost* render_view_host = RenderViewHost::From(render_widget_host); | 5638 RenderViewHost* render_view_host = RenderViewHost::From(render_widget_host); |
5639 if (!render_view_host) | 5639 if (!render_view_host) |
5640 continue; | 5640 continue; |
5641 render_view_host_set.insert(render_view_host); | 5641 render_view_host_set.insert(render_view_host); |
5642 } | 5642 } |
5643 for (RenderViewHost* render_view_host : render_view_host_set) | 5643 for (RenderViewHost* render_view_host : render_view_host_set) |
5644 render_view_host->OnWebkitPreferencesChanged(); | 5644 render_view_host->OnWebkitPreferencesChanged(); |
5645 } | 5645 } |
5646 | 5646 |
5647 } // namespace content | 5647 } // namespace content |
OLD | NEW |