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

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

Issue 2945223002: Add deprecation warnings for permission API usage from iframes (Closed)
Patch Set: . 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
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.
11 // 11 //
12 // Features are defined in 12 // Features are defined in
13 // https://wicg.github.io/feature-policy/#defined-features. Many of these are 13 // https://github.com/WICG/feature-policy/blob/gh-pages/features.md. Many of
14 // still under development in blink behind the featurePolicyExperimentalFeatures 14 // these are still under development in blink behind the
15 // flag, see getWebFeaturePolicyFeature(). 15 // featurePolicyExperimentalFeatures flag, see getWebFeaturePolicyFeature().
16 enum class WebFeaturePolicyFeature { 16 enum class WebFeaturePolicyFeature {
17 kNotFound = 0, 17 kNotFound = 0,
18 // Controls access to video input devices. 18 // Controls access to video input devices.
19 kCamera, 19 kCamera,
20 // Controls whether navigator.requestMediaKeySystemAccess is allowed. 20 // Controls whether navigator.requestMediaKeySystemAccess is allowed.
21 kEme, 21 kEme,
22 // Controls whether Element.requestFullscreen is allowed. 22 // Controls whether Element.requestFullscreen is allowed.
23 kFullscreen, 23 kFullscreen,
24 // Controls access to Geolocation interface. 24 // Controls access to Geolocation interface.
25 kGeolocation, 25 kGeolocation,
(...skipping 18 matching lines...) Expand all
44 // Controls use of synchronous XMLHTTPRequest API. 44 // Controls use of synchronous XMLHTTPRequest API.
45 kSyncXHR, 45 kSyncXHR,
46 // Controls access to the WebUSB API. 46 // Controls access to the WebUSB API.
47 kUsb, 47 kUsb,
48 LAST_FEATURE = kUsb 48 LAST_FEATURE = kUsb
49 }; 49 };
50 50
51 } // namespace blink 51 } // namespace blink
52 52
53 #endif // WebFeaturePolicyFeature_h 53 #endif // WebFeaturePolicyFeature_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp ('k') | third_party/WebKit/public/platform/web_feature.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698