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

Side by Side Diff: third_party/WebKit/public/platform/WebFeaturePolicyFeature.h

Issue 2946833003: Update list of Feature Policy features (Closed)
Patch Set: Update list of Feature Policy features Created 3 years, 5 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 WebFeaturePolicyFeature_h 5 #ifndef WebFeaturePolicyFeature_h
6 #define WebFeaturePolicyFeature_h 6 #define WebFeaturePolicyFeature_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 // These values map to the features which can be controlled by Feature Policy. 10 // These values map to the features which can be controlled by Feature Policy.
(...skipping 21 matching lines...) Expand all
32 // Controls access to audio output devices. 32 // Controls access to audio output devices.
33 kSpeaker, 33 kSpeaker,
34 // Controls access to navigator.vibrate method. 34 // Controls access to navigator.vibrate method.
35 kVibrate, 35 kVibrate,
36 // Controls access to document.cookie attribute. 36 // Controls access to document.cookie attribute.
37 kDocumentCookie, 37 kDocumentCookie,
38 // Contols access to document.domain attribute. 38 // Contols access to document.domain attribute.
39 kDocumentDomain, 39 kDocumentDomain,
40 // Controls access to document.write and document.writeln methods. 40 // Controls access to document.write and document.writeln methods.
41 kDocumentWrite, 41 kDocumentWrite,
42 // Controls access to Notification interface.
43 kNotifications,
44 // Controls access to PushManager interface.
45 kPush,
46 // Controls whether synchronous script elements will run. 42 // Controls whether synchronous script elements will run.
47 kSyncScript, 43 kSyncScript,
48 // Controls use of synchronous XMLHTTPRequest API. 44 // Controls use of synchronous XMLHTTPRequest API.
49 kSyncXHR, 45 kSyncXHR,
50 // Controls access to RTCPeerConnection interface.
51 kWebRTC,
52 // Controls access to the WebUSB API. 46 // Controls access to the WebUSB API.
53 kUsb, 47 kUsb,
54 LAST_FEATURE = kUsb 48 LAST_FEATURE = kUsb
55 }; 49 };
56 50
57 } // namespace blink 51 } // namespace blink
58 52
59 #endif // WebFeaturePolicyFeature_h 53 #endif // WebFeaturePolicyFeature_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698