Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(716)

Unified Diff: content/renderer/render_frame_impl.h

Issue 2797813002: Replicate feature policy container policies. (Closed)
Patch Set: Addressing review comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/frame_replication_state.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 94d1ed7f77e92ae7cfd40621c3cc5b38a3926aea..f6c9cfe3d3c2974c28ce640f1de31c7ed3857b6b 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -514,6 +514,7 @@ class CONTENT_EXPORT RenderFrameImpl
const blink::WebString& name,
const blink::WebString& fallback_name,
blink::WebSandboxFlags sandbox_flags,
+ const blink::WebParsedFeaturePolicy& container_policy,
const blink::WebFrameOwnerProperties& frame_owner_properties) override;
void DidChangeOpener(blink::WebFrame* frame) override;
void FrameDetached(blink::WebLocalFrame* frame, DetachType type) override;
@@ -524,8 +525,10 @@ class CONTENT_EXPORT RenderFrameImpl
blink::WebInsecureRequestPolicy policy) override;
void DidUpdateToUniqueOrigin(
bool is_potentially_trustworthy_unique_origin) override;
- void DidChangeSandboxFlags(blink::WebFrame* child_frame,
- blink::WebSandboxFlags flags) override;
+ void DidChangeFramePolicy(
+ blink::WebFrame* child_frame,
+ blink::WebSandboxFlags flags,
+ const blink::WebParsedFeaturePolicy& container_policy) override;
void DidSetFeaturePolicyHeader(
const blink::WebParsedFeaturePolicy& parsed_header) override;
void DidAddContentSecurityPolicies(
@@ -881,7 +884,9 @@ class CONTENT_EXPORT RenderFrameImpl
void OnSnapshotAccessibilityTree(int callback_id);
void OnExtractSmartClipData(uint32_t callback_id, const gfx::Rect& rect);
void OnUpdateOpener(int opener_routing_id);
- void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags);
+ void OnDidUpdateFramePolicy(
+ blink::WebSandboxFlags flags,
+ const ParsedFeaturePolicyHeader& container_policy);
void OnSetFrameOwnerProperties(
const FrameOwnerProperties& frame_owner_properties);
void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id);
« no previous file with comments | « content/common/frame_replication_state.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698