Namespaces

Enumerations

enum class ContextError : int32_t
Name Value Comments
kRemoteDebuggingPortNotOpened 1u

The remote debugging service was not opened.

Defined at line 468 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

enum class AutoplayPolicy : int32_t
Name Value Comments
kAllow 1u

All media is permitted to autoplay.

kRequireUserActivation 2u

Allow autoplay when the document has received a user activation. This can be the result of
user action or [`LoadUrlParams.was_user_activated`] being set.

Specifies the policy for automatic (non user-initiated) playback of video and audio content.

Defined at line 491 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

enum class ConsoleLogLevel : int32_t
Name Value Comments
kNone 100u

No logging.

kDebug -1

Outputs messages from `console.debug()` and above levels.

kInfo 0u

Outputs messages from `console.log()`, `console.info()` and above levels.

kWarn 1u

Outputs messages from `console.warn()` and `console.error()`.

kError 2u

Outputs messages from `console.error()`.

Defined at line 517 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

enum class AllowInputState : int32_t
Name Value
kAllow 1u
kDeny 2u

Controls whether [`Frame.ConfigureInputTypes()`] should allow or deny processing of the

specified [`InputTypes`].

Defined at line 553 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

enum class FrameError : int32_t
Name Value Comments
kInternalError 1u

An internal error occurred.

kBufferNotUtf8 2u

The provided buffer is not UTF-8 encoded.

kInvalidOrigin 3u

The Frame's URL does not match any of the origins provided by the caller.

kNoDataInMessage 4u

The required `data` property is missing from a [`WebMessage`].

Represents the return status of a [`Frame`] method.

Defined at line 577 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

enum class PermissionType : uint16_t
Name Value Comments
kMicrophone 1u

Permission to access microphone(s).

kCamera 2u

Permission to access camera(s).

kProtectedMediaIdentifier 3u

Permission to use device identifier(s) for EME.

kPersistentStorage 4u

Permission to use persistent storage.

kNotifications 5u

Permission to display web notifications and use push messaging.

This API does not currently support displaying web notifications, so while the permission
may be granted, this functionality should not be expected to work until such an API is
provided. For now, this permission is only meaningful as it pertains to push messaging.

Identifies a type of permission that may be granted to a web origin.

Defined at line 609 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

enum class PermissionState : uint8_t
Name Value Comments
kDenied 1u

Permission is denied.

kGranted 2u

Permission is granted.

A state for a web permission.

Defined at line 642 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

enum class NavigationControllerError : int32_t
Name Value Comments
kInvalidUrl 1u

The provided URL is invalid.

kInvalidHeader 2u

At least one of the provided headers was invalid.

Represents the return status of a [`NavigationController`] method.

Defined at line 662 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

enum class ReloadType : uint32_t
Name Value Comments
kPartialCache 0u

Reloads the current entry, bypassing the cache for the main resource.

kNoCache 1u

Reloads the current entry, bypassing the cache entirely.

Characterizes the type of reload.

Defined at line 688 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

enum class LoadUrlReason : uint32_t
Name Value Comments
kLink 0u

Navigation was initiated by the user following a link.

kTyped 1u

Navigation was initiated by a user-provided URL.

Characterizes the origin of a [`NavigationController.LoadUrl`] request.

Defined at line 714 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

enum class PageType : uint32_t
Name Value Comments
kNormal 0u

Regular web page.

kError 1u

Error page.

Characterizes the page type in a [`NavigationState`].

Defined at line 740 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

enum class UrlRequestAction : int32_t
Name Value Comments
kAllow 1u

Allow the request to be processed.

kDeny 2u

Block the request.

Defined at line 848 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

Records