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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h

Issue 2923563003: Move container policy logic to frame owner classes. (Closed)
Patch Set: Addressing nits Created 3 years, 6 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
Index: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
index 57d3a7bb1f5a4c5259d145984f0ae9187854825c..11d0cc38d1534e6e23b3da9362e15a623cfca43e 100644
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
@@ -126,9 +126,14 @@ class CORE_EXPORT HTMLFrameOwnerElement : public HTMLElement,
return SecurityOrigin::CreateUnique();
}
- // Construct a new feature policy container policy for this frame, based on
- // the frame attributes and the effective origin specified in the frame
+ // Return a feature policy container policy for this frame, based on the
+ // frame attributes and the effective origin specified in the frame
// attributes.
+ virtual Vector<WebParsedFeaturePolicyDeclaration> ConstructContainerPolicy()
+ const = 0;
+
+ // Update the container policy and notify the frame loader client of any
+ // changes.
void UpdateContainerPolicy();
private:

Powered by Google App Engine
This is Rietveld 408576698