| 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; | 215 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; |
| 216 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; | 216 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; |
| 217 | 217 |
| 218 // SiteInstanceImpl::Observer | 218 // SiteInstanceImpl::Observer |
| 219 void RenderProcessGone(SiteInstanceImpl* site_instance) override; | 219 void RenderProcessGone(SiteInstanceImpl* site_instance) override; |
| 220 | 220 |
| 221 // CSPContext | 221 // CSPContext |
| 222 void ReportContentSecurityPolicyViolation( | 222 void ReportContentSecurityPolicyViolation( |
| 223 const CSPViolationParams& violation_params) override; | 223 const CSPViolationParams& violation_params) override; |
| 224 bool SchemeShouldBypassCSP(const base::StringPiece& scheme) override; | 224 bool SchemeShouldBypassCSP(const base::StringPiece& scheme) override; |
| 225 void SanitizeDataForUseInCspViolation( |
| 226 bool is_redirect, |
| 227 CSPDirective::Name directive, |
| 228 GURL* blocked_url, |
| 229 SourceLocation* source_location) const override; |
| 225 | 230 |
| 226 // Creates a RenderFrame in the renderer process. | 231 // Creates a RenderFrame in the renderer process. |
| 227 bool CreateRenderFrame(int proxy_routing_id, | 232 bool CreateRenderFrame(int proxy_routing_id, |
| 228 int opener_routing_id, | 233 int opener_routing_id, |
| 229 int parent_routing_id, | 234 int parent_routing_id, |
| 230 int previous_sibling_routing_id); | 235 int previous_sibling_routing_id); |
| 231 | 236 |
| 232 // Tracks whether the RenderFrame for this RenderFrameHost has been created in | 237 // Tracks whether the RenderFrame for this RenderFrameHost has been created in |
| 233 // the renderer process. This is currently only used for subframes. | 238 // the renderer process. This is currently only used for subframes. |
| 234 // TODO(creis): Use this for main frames as well when RVH goes away. | 239 // TODO(creis): Use this for main frames as well when RVH goes away. |
| (...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1227 | 1232 |
| 1228 // NOTE: This must be the last member. | 1233 // NOTE: This must be the last member. |
| 1229 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1234 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 1230 | 1235 |
| 1231 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1236 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 1232 }; | 1237 }; |
| 1233 | 1238 |
| 1234 } // namespace content | 1239 } // namespace content |
| 1235 | 1240 |
| 1236 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1241 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |