Crate fidl_fuchsia_web_common

Source

Macros§

ErrorDetailUnknown
Pattern that matches an unknown ErrorDetail member.
UrlRequestRewriteUnknown
Pattern that matches an unknown UrlRequestRewrite member.

Structs§

ContentAreaSettings
Settings for the web content in the Frame. Popup Frames created by the Frame will have their settings initialized to the Frame’s current settings.
ContextFeatureFlags
Feature flags that allow augmenting Context behavior. Some features require additional services in the service directory provided during context initialization. See [CreateContextParams.service_directory].
ContextGetRemoteDebuggingPortResponse
CookieId
DevToolsPerContextListenerOnHttpPortOpenRequest
FrameCloseRequest
FrameConfigureInputTypesRequest
FrameForceContentDimensionsRequest
FrameGetPrivateMemorySizeResponse
FrameMediaSettings
FrameRemoveBeforeLoadJavaScriptRequest
FrameSetBlockMediaLoadingRequest
FrameSetContentAreaSettingsRequest
FrameSetJavaScriptLogLevelRequest
FrameSetMediaSettingsRequest
FrameSetPermissionStateRequest
FrameSetUrlRequestRewriteRulesRequest
InputTypes
Identifies the types of input events which may be handled by a View.
NavigationControllerReloadRequest
NavigationEventListenerFlags
Flags clients can set when connecting a [NavigationEventListener] to indicates interest in optional features.
NavigationPhase
Identifies a navigation phase.
NavigationPolicyProviderEvaluateRequestedNavigationRequest
NavigationPolicyProviderParams
Used to specify which navigation events should be delegated to [NavigationPolicyProvider].
NoArgumentsAction
Empty struct used in NavigationDecision for actions that don’t hav any arguments.
PermissionDescriptor
Describes a web permission. In the future, it may be extended with type-specific fields.
RequestedNavigation
UrlRequestRewriteAddHeaders
Adds headers to the URL request. If a header is already present in the original URL request, it will be overwritten.
UrlRequestRewriteAppendToQuery
Appends query to the URL’s query. If the URL request already has a query, query will be appended to it, preceded by &. Otherwise, the URL’s query will be set to query.
UrlRequestRewriteRemoveHeader
If query_pattern is in the URL’s query, removes header_name from the list of headers. If query_pattern is not set, removes header_name from the list of headers unconditionally.
UrlRequestRewriteReplaceUrl
If the URL in the URL request ends with url_ends_with, rewrites the URL to new_url.
UrlRequestRewriteRule
UrlRequestRewriteSubstituteQueryPattern
If pattern is found in the URL’s query, replaces it with substitution.

Enums§

AllowInputState
Controls whether [Frame.ConfigureInputTypes()] should allow or deny processing of the specified InputTypes.
AutoplayPolicy
Specifies the policy for automatic (non user-initiated) playback of video and audio content.
ConsoleLogLevel
ContextError
ErrorDetail
Indicates the reason for the error when page_type is set to [PageType.ERROR].
FrameError
Represents the return status of a [Frame] method.
LoadUrlReason
Characterizes the origin of a [NavigationController.LoadUrl] request.
NavigationControllerError
Represents the return status of a [NavigationController] method.
PageType
Characterizes the page type in a [NavigationState].
PermissionState
A state for a web permission.
PermissionType
Identifies a type of permission that may be granted to a web origin.
ReloadType
Characterizes the type of reload.
UrlRequestAction
UrlRequestRewrite

Constants§

MAX_HEADERS_COUNT
MAX_HOST_LENGTH
MAX_RULE_COUNT
MAX_SCHEME_AND_HOST_LENGTH
MAX_URL_LENGTH
MAX_URL_SCHEME_NAME_LENGTH

Type Aliases§

CookieName
NavigationId
Unique identifier of a navigation. Can be used to correlate different phases for the same navigation. Guaranteed to be unique for all navigations in the same [Context].
Url
UrlHostName
UrlSchemeAndHostName
UrlSchemeName