| 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 bool IsOriginSafeToUseInCspViolation( |
| 222 const url::Origin& origin) const override; |
| 221 | 223 |
| 222 // Creates a RenderFrame in the renderer process. | 224 // Creates a RenderFrame in the renderer process. |
| 223 bool CreateRenderFrame(int proxy_routing_id, | 225 bool CreateRenderFrame(int proxy_routing_id, |
| 224 int opener_routing_id, | 226 int opener_routing_id, |
| 225 int parent_routing_id, | 227 int parent_routing_id, |
| 226 int previous_sibling_routing_id); | 228 int previous_sibling_routing_id); |
| 227 | 229 |
| 228 // Tracks whether the RenderFrame for this RenderFrameHost has been created in | 230 // Tracks whether the RenderFrame for this RenderFrameHost has been created in |
| 229 // the renderer process. This is currently only used for subframes. | 231 // the renderer process. This is currently only used for subframes. |
| 230 // TODO(creis): Use this for main frames as well when RVH goes away. | 232 // 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 | 1220 |
| 1219 // NOTE: This must be the last member. | 1221 // NOTE: This must be the last member. |
| 1220 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1222 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 1221 | 1223 |
| 1222 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1224 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 1223 }; | 1225 }; |
| 1224 | 1226 |
| 1225 } // namespace content | 1227 } // namespace content |
| 1226 | 1228 |
| 1227 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1229 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |