pub enum PermissionsPolicyFeature {
Show 106 variants
Accelerometer,
AllScreensCapture,
AmbientLightSensor,
AriaNotify,
Autofill,
Autoplay,
Bluetooth,
Camera,
CapturedSurfaceControl,
ChDpr,
ChDeviceMemory,
ChDownlink,
ChEct,
ChPrefersColorScheme,
ChPrefersReducedMotion,
ChPrefersReducedTransparency,
ChRtt,
ChSaveData,
ChUa,
ChUaArch,
ChUaBitness,
ChUaHighEntropyValues,
ChUaPlatform,
ChUaModel,
ChUaMobile,
ChUaFormFactors,
ChUaFullVersion,
ChUaFullVersionList,
ChUaPlatformVersion,
ChUaWow64,
ChViewportHeight,
ChViewportWidth,
ChWidth,
ClipboardRead,
ClipboardWrite,
ComputePressure,
ControlledFrame,
CrossOriginIsolated,
DeferredFetch,
DeferredFetchMinimal,
DeviceAttributes,
DigitalCredentialsCreate,
DigitalCredentialsGet,
DirectSockets,
DirectSocketsMulticast,
DisplayCapture,
DocumentDomain,
EncryptedMedia,
ExecutionWhileOutOfViewport,
ExecutionWhileNotRendered,
FocusWithoutUserActivation,
Fullscreen,
Frobulate,
Gamepad,
Geolocation,
Gyroscope,
Haptics,
Hid,
IdentityCredentialsGet,
IdleDetection,
KeyboardMap,
LanguageDetector,
LanguageModel,
LocalFonts,
LocalNetwork,
LocalNetworkAccess,
LoopbackNetwork,
Magnetometer,
ManualText,
MediaPlaybackWhileNotVisible,
Microphone,
Midi,
OnDeviceSpeechRecognition,
OtpCredentials,
Payment,
PictureInPicture,
PrivateStateTokenIssuance,
PrivateStateTokenRedemption,
PublickeyCredentialsCreate,
PublickeyCredentialsGet,
PublickeyCredentialsRemoteClientDataJson,
Rewriter,
ScreenWakeLock,
SemanticEmbedder,
Serial,
SmartCard,
SpeakerSelection,
StorageAccess,
SubApps,
Summarizer,
SyncXhr,
Tools,
Translator,
UnboundedElement,
Unload,
Usb,
UsbUnrestricted,
VerticalScroll,
WebAppInstallation,
Webnn,
WebPrinting,
WebShare,
WindowManagement,
Writer,
XrSpatialTracking,
Unrecognized(String),
}Expand description
All Permissions Policy features. This enum should match the one defined in services/network/public/cpp/permissions_policy/permissions_policy_features.json5. LINT.IfChange(PermissionsPolicyFeature)
Experimental: may change without notice.
Variants§
Accelerometer
accelerometer
AllScreensCapture
all-screens-capture
AmbientLightSensor
ambient-light-sensor
AriaNotify
aria-notify
Autofill
autofill
Autoplay
autoplay
Bluetooth
bluetooth
Camera
camera
CapturedSurfaceControl
captured-surface-control
ChDpr
ch-dpr
ChDeviceMemory
ch-device-memory
ChDownlink
ch-downlink
ChEct
ch-ect
ChPrefersColorScheme
ch-prefers-color-scheme
ChPrefersReducedMotion
ch-prefers-reduced-motion
ChPrefersReducedTransparency
ch-prefers-reduced-transparency
ChRtt
ch-rtt
ChSaveData
ch-save-data
ChUa
ch-ua
ChUaArch
ch-ua-arch
ChUaBitness
ch-ua-bitness
ChUaHighEntropyValues
ch-ua-high-entropy-values
ChUaPlatform
ch-ua-platform
ChUaModel
ch-ua-model
ChUaMobile
ch-ua-mobile
ChUaFormFactors
ch-ua-form-factors
ChUaFullVersion
ch-ua-full-version
ChUaFullVersionList
ch-ua-full-version-list
ChUaPlatformVersion
ch-ua-platform-version
ChUaWow64
ch-ua-wow64
ChViewportHeight
ch-viewport-height
ChViewportWidth
ch-viewport-width
ChWidth
ch-width
ClipboardRead
clipboard-read
ClipboardWrite
clipboard-write
ComputePressure
compute-pressure
ControlledFrame
controlled-frame
CrossOriginIsolated
cross-origin-isolated
DeferredFetch
deferred-fetch
DeferredFetchMinimal
deferred-fetch-minimal
DeviceAttributes
device-attributes
DigitalCredentialsCreate
digital-credentials-create
DigitalCredentialsGet
digital-credentials-get
DirectSockets
direct-sockets
DirectSocketsMulticast
direct-sockets-multicast
DisplayCapture
display-capture
DocumentDomain
document-domain
EncryptedMedia
encrypted-media
ExecutionWhileOutOfViewport
execution-while-out-of-viewport
ExecutionWhileNotRendered
execution-while-not-rendered
FocusWithoutUserActivation
focus-without-user-activation
Fullscreen
fullscreen
Frobulate
frobulate
Gamepad
gamepad
Geolocation
geolocation
Gyroscope
gyroscope
Haptics
haptics
Hid
hid
IdentityCredentialsGet
identity-credentials-get
IdleDetection
idle-detection
KeyboardMap
keyboard-map
LanguageDetector
language-detector
LanguageModel
language-model
LocalFonts
local-fonts
LocalNetwork
local-network
LocalNetworkAccess
local-network-access
LoopbackNetwork
loopback-network
Magnetometer
magnetometer
ManualText
manual-text
MediaPlaybackWhileNotVisible
media-playback-while-not-visible
Microphone
microphone
Midi
midi
OnDeviceSpeechRecognition
on-device-speech-recognition
OtpCredentials
otp-credentials
Payment
payment
PictureInPicture
picture-in-picture
PrivateStateTokenIssuance
private-state-token-issuance
PrivateStateTokenRedemption
private-state-token-redemption
PublickeyCredentialsCreate
publickey-credentials-create
PublickeyCredentialsGet
publickey-credentials-get
PublickeyCredentialsRemoteClientDataJson
publickey-credentials-remote-client-data-json
Rewriter
rewriter
ScreenWakeLock
screen-wake-lock
SemanticEmbedder
semantic-embedder
Serial
serial
SmartCard
smart-card
SpeakerSelection
speaker-selection
StorageAccess
storage-access
SubApps
sub-apps
Summarizer
summarizer
SyncXhr
sync-xhr
Tools
tools
Translator
translator
UnboundedElement
unbounded-element
Unload
unload
Usb
usb
UsbUnrestricted
usb-unrestricted
VerticalScroll
vertical-scroll
WebAppInstallation
web-app-installation
Webnn
webnn
WebPrinting
web-printing
web-share
WindowManagement
window-management
Writer
writer
XrSpatialTracking
xr-spatial-tracking
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.