OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
211 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; | 211 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; |
212 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; | 212 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; |
213 | 213 |
214 // SiteInstanceImpl::Observer | 214 // SiteInstanceImpl::Observer |
215 void RenderProcessGone(SiteInstanceImpl* site_instance) override; | 215 void RenderProcessGone(SiteInstanceImpl* site_instance) override; |
216 | 216 |
217 // CSPContext | 217 // CSPContext |
218 void ReportContentSecurityPolicyViolation( | 218 void ReportContentSecurityPolicyViolation( |
219 const CSPViolationParams& violation_params) override; | 219 const CSPViolationParams& violation_params) override; |
220 bool SchemeShouldBypassCSP(const base::StringPiece& scheme) override; | 220 bool SchemeShouldBypassCSP(const base::StringPiece& scheme) override; |
221 void SanitizeDataForUseInCspViolation( | |
222 GURL* blocked_url, | |
alexmos
2017/05/16 05:56:49
nit: reorder params so that inputs come before out
arthursonzogni
2017/05/16 12:48:44
Done.
| |
223 SourceLocation* source_location, | |
224 bool is_redirect, | |
225 CSPDirective::Name directive) const override; | |
221 | 226 |
222 // Creates a RenderFrame in the renderer process. | 227 // Creates a RenderFrame in the renderer process. |
223 bool CreateRenderFrame(int proxy_routing_id, | 228 bool CreateRenderFrame(int proxy_routing_id, |
224 int opener_routing_id, | 229 int opener_routing_id, |
225 int parent_routing_id, | 230 int parent_routing_id, |
226 int previous_sibling_routing_id); | 231 int previous_sibling_routing_id); |
227 | 232 |
228 // Tracks whether the RenderFrame for this RenderFrameHost has been created in | 233 // Tracks whether the RenderFrame for this RenderFrameHost has been created in |
229 // the renderer process. This is currently only used for subframes. | 234 // the renderer process. This is currently only used for subframes. |
230 // TODO(creis): Use this for main frames as well when RVH goes away. | 235 // TODO(creis): Use this for main frames as well when RVH goes away. |
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1218 | 1223 |
1219 // NOTE: This must be the last member. | 1224 // NOTE: This must be the last member. |
1220 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1225 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
1221 | 1226 |
1222 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1227 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
1223 }; | 1228 }; |
1224 | 1229 |
1225 } // namespace content | 1230 } // namespace content |
1226 | 1231 |
1227 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1232 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |