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

Unified Diff: third_party/WebKit/public/platform/WebFeaturePolicy.h

Issue 2680083002: Initial Implementation of Iframe Attribute for Feature Policy (Part 1) (Closed)
Patch Set: Removed getAllowedFeatureNames() from HTMLIFrameElement 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/public/platform/WebFeaturePolicy.h
diff --git a/third_party/WebKit/public/platform/WebFeaturePolicy.h b/third_party/WebKit/public/platform/WebFeaturePolicy.h
index a2c03f79605f67d1a78cbbdc5b27ad6869d3a1f9..39c1e359b0a5f17b8d872d95e30243b4374af5fb 100644
--- a/third_party/WebKit/public/platform/WebFeaturePolicy.h
+++ b/third_party/WebKit/public/platform/WebFeaturePolicy.h
@@ -22,6 +22,25 @@ struct WebFeaturePolicy {
using WebParsedFeaturePolicy = WebVector<WebFeaturePolicy::ParsedWhitelist>;
+enum class WebFeaturePolicyFeature {
iclelland 2017/02/08 15:06:24 This certainly conflicts with https://codereview.c
lunalu1 2017/02/08 19:50:30 Done.
+ NotFound = 0,
+ DocumentCookie,
+ DocumentDomain,
+ DocumentWrite,
+ Geolocation,
+ Fullscreen,
+ MidiFeature,
+ Notifications,
+ Payment,
+ Push,
+ SyncScript,
+ SyncXHR,
+ Usermedia,
+ Vibrate,
+ WebRTC,
+ LAST_FEATURE = WebRTC
+};
+
} // namespace blink
#endif // WebFeaturePolicy_h

Powered by Google App Engine
This is Rietveld 408576698