class CreateFrameParams

Defined at line 1898 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

Parameters specifying the configuration for a new [`Frame`].

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

CreateFrameParams & set_enable_remote_debugging (bool _value)
CreateFrameParams & set_debug_name (::std::string _value)
CreateFrameParams & set_explicit_sites_filter_error_page (::fuchsia::mem::Data _value)
void CreateFrameParams ()
void CreateFrameParams (CreateFrameParams && other)
void ~CreateFrameParams ()
CreateFrameParams & operator= (CreateFrameParams && other)
::std::unique_ptr<CreateFrameParams> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, CreateFrameParams * _value, size_t _offset)
zx_status_t Clone (CreateFrameParams * _result)
const bool & enable_remote_debugging ()

Set to true to enable remote debugging. The [`Frame`] will be closed with

`ERR_INVALID_ARGS` if `remote_debugging_port` was not set in

[`CreateContextParams`].

Defined at line 1907 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

bool has_enable_remote_debugging ()

Defined at line 1911 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

bool * mutable_enable_remote_debugging ()

Set to true to enable remote debugging. The [`Frame`] will be closed with

`ERR_INVALID_ARGS` if `remote_debugging_port` was not set in

[`CreateContextParams`].

Defined at line 1918 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

void clear_enable_remote_debugging ()

Defined at line 1926 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

const ::std::string & debug_name ()

Set to give the Frame a name to help distinguish it in debug contexts , such as system log

output. For example, the name may be added to messages from web content when they are logged

to the system logger. The name does not affect user- or web-visible behavior.

Popup Frames created by the Frame will have a name derived from the parent Frame's name.

Defined at line 1938 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

bool has_debug_name ()

Defined at line 1942 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

::std::string * mutable_debug_name ()

Set to give the Frame a name to help distinguish it in debug contexts , such as system log

output. For example, the name may be added to messages from web content when they are logged

to the system logger. The name does not affect user- or web-visible behavior.

Popup Frames created by the Frame will have a name derived from the parent Frame's name.

Defined at line 1950 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

void clear_debug_name ()

Defined at line 1958 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

const ::fuchsia::mem::Data & explicit_sites_filter_error_page ()

Enables automatic blocking of navigations to explicit sites, and specifies the error page

content, in HTML, to be loaded in the Frame when a navigation is canceled by the filter.

Applies to navigations in all frames within the Frame.

When navigation of the main document is canceled, the Frame's [`NavigationState.PageType`]

is `ERROR`.

If set to an empty buffer, a default error message will be displayed.

If set and such filtering is not supported, the [`Frame`] will disconnect with

`ZX_ERR_NOT_SUPPORTED`.

Defined at line 1974 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

bool has_explicit_sites_filter_error_page ()

Defined at line 1978 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

::fuchsia::mem::Data * mutable_explicit_sites_filter_error_page ()

Enables automatic blocking of navigations to explicit sites, and specifies the error page

content, in HTML, to be loaded in the Frame when a navigation is canceled by the filter.

Applies to navigations in all frames within the Frame.

When navigation of the main document is canceled, the Frame's [`NavigationState.PageType`]

is `ERROR`.

If set to an empty buffer, a default error message will be displayed.

If set and such filtering is not supported, the [`Frame`] will disconnect with

`ZX_ERR_NOT_SUPPORTED`.

Defined at line 1990 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

void clear_explicit_sites_filter_error_page ()

Defined at line 1998 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h