enum Protocol::Page::PermissionsPolicyFeature

Overview

All Permissions Policy features. This enum should match the one defined in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.

Defined in:

protocol/page.cr

Enum Members

Accelerometer = 0
AmbientLightSensor = 1
AttributionReporting = 2
Autoplay = 3
Bluetooth = 4
BrowsingTopics = 5
Camera = 6
ChDpr = 7
ChDeviceMemory = 8
ChDownlink = 9
ChEct = 10
ChPrefersColorScheme = 11
ChPrefersReducedMotion = 12
ChRtt = 13
ChSaveData = 14
ChUa = 15
ChUaArch = 16
ChUaBitness = 17
ChUaPlatform = 18
ChUaModel = 19
ChUaMobile = 20
ChUaFull = 21
ChUaFullVersion = 22
ChUaFullVersionList = 23
ChUaPlatformVersion = 24
ChUaReduced = 25
ChUaWow64 = 26
ChViewportHeight = 27
ChViewportWidth = 28
ChWidth = 29
ClipboardRead = 30
ClipboardWrite = 31
CrossOriginIsolated = 32
DirectSockets = 33
DisplayCapture = 34
DocumentDomain = 35
EncryptedMedia = 36
ExecutionWhileOutOfViewport = 37
ExecutionWhileNotRendered = 38
FocusWithoutUserActivation = 39
Fullscreen = 40
Frobulate = 41
Gamepad = 42
Geolocation = 43
Gyroscope = 44
Hid = 45
IdentityCredentialsGet = 46
IdleDetection = 47
InterestCohort = 48
JoinAdInterestGroup = 49
KeyboardMap = 50
LocalFonts = 51
Magnetometer = 52
Microphone = 53
Midi = 54
OtpCredentials = 55
Payment = 56
PictureInPicture = 57
PublickeyCredentialsGet = 58
RunAdAuction = 59
ScreenWakeLock = 60
Serial = 61
SharedAutofill = 62
SharedStorage = 63
StorageAccess = 64
SyncXhr = 65
TrustTokenRedemption = 66
Unload = 67
Usb = 68
VerticalScroll = 69
WebShare = 70
WindowPlacement = 71
XrSpatialTracking = 72

Instance Method Summary

Class methods inherited from struct Enum

parse?(string : String) : self | Nil parse?

Instance Method Detail

def accelerometer? #

[View source]
def ambient_light_sensor? #

[View source]
def attribution_reporting? #

[View source]
def autoplay? #

[View source]
def bluetooth? #

[View source]
def browsing_topics? #

[View source]
def camera? #

[View source]
def ch_device_memory? #

[View source]
def ch_downlink? #

[View source]
def ch_dpr? #

[View source]
def ch_ect? #

[View source]
def ch_prefers_color_scheme? #

[View source]
def ch_prefers_reduced_motion? #

[View source]
def ch_rtt? #

[View source]
def ch_save_data? #

[View source]
def ch_ua? #

[View source]
def ch_ua_arch? #

[View source]
def ch_ua_bitness? #

[View source]
def ch_ua_full? #

[View source]
def ch_ua_full_version? #

[View source]
def ch_ua_full_version_list? #

[View source]
def ch_ua_mobile? #

[View source]
def ch_ua_model? #

[View source]
def ch_ua_platform? #

[View source]
def ch_ua_platform_version? #

[View source]
def ch_ua_reduced? #

[View source]
def ch_ua_wow64? #

[View source]
def ch_viewport_height? #

[View source]
def ch_viewport_width? #

[View source]
def ch_width? #

[View source]
def clipboard_read? #

[View source]
def clipboard_write? #

[View source]
def cross_origin_isolated? #

[View source]
def direct_sockets? #

[View source]
def display_capture? #

[View source]
def document_domain? #

[View source]
def encrypted_media? #

[View source]
def execution_while_not_rendered? #

[View source]
def execution_while_out_of_viewport? #

[View source]
def focus_without_user_activation? #

[View source]
def frobulate? #

[View source]
def fullscreen? #

[View source]
def gamepad? #

[View source]
def geolocation? #

[View source]
def gyroscope? #

[View source]
def hid? #

[View source]
def identity_credentials_get? #

[View source]
def idle_detection? #

[View source]
def interest_cohort? #

[View source]
def join_ad_interest_group? #

[View source]
def keyboard_map? #

[View source]
def local_fonts? #

[View source]
def magnetometer? #

[View source]
def microphone? #

[View source]
def midi? #

[View source]
def otp_credentials? #

[View source]
def payment? #

[View source]
def picture_in_picture? #

[View source]
def publickey_credentials_get? #

[View source]
def run_ad_auction? #

[View source]
def screen_wake_lock? #

[View source]
def serial? #

[View source]
def shared_autofill? #

[View source]
def shared_storage? #

[View source]
def storage_access? #

[View source]
def sync_xhr? #

[View source]
def trust_token_redemption? #

[View source]
def unload? #

[View source]
def usb? #

[View source]
def vertical_scroll? #

[View source]
def web_share? #

[View source]
def window_placement? #

[View source]
def xr_spatial_tracking? #

[View source]