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

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

Issue 2697713003: Initial Implementation of Iframe Attribute for Feature Policy (Part 2) (Closed)
Patch Set: Initial Impl Created 3 years, 10 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.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp
index 64a0f46f576167b5defd7685ef767f4dbece0894..b665479064026ade6e564b28993ea83436fa72f5 100644
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp
@@ -231,6 +231,12 @@ HTMLFrameOwnerElement::delegatedPermissions() const {
return permissions;
}
+const WebVector<WebFeaturePolicyFeature>&
+HTMLFrameOwnerElement::allowedFeatureNames() const {
+ DEFINE_STATIC_LOCAL(WebVector<WebFeaturePolicyFeature>, features, ());
+ return features;
+}
+
Document* HTMLFrameOwnerElement::getSVGDocument(
ExceptionState& exceptionState) const {
Document* doc = contentDocument();

Powered by Google App Engine
This is Rietveld 408576698