class LoadUrlParams

Defined at line 4427 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/natural_types.h

Additional parameters for modifying the behavior of [`NavigationController.LoadUrl`].

Public Methods

void LoadUrlParams (Storage_ storage)
bool IsEmpty ()
void LoadUrlParams ()

Defined at line 4432 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/natural_types.h

void LoadUrlParams (LoadUrlParams && )

Defined at line 4433 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/natural_types.h

LoadUrlParams & operator= (LoadUrlParams && )

Defined at line 4434 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/natural_types.h

const std::optional< ::fuchsia_web::LoadUrlReason> & type ()

Provides a hint to the browser UI about how [`NavigationController.LoadUrl`] was triggered.

::std::optional< ::fuchsia_web::LoadUrlReason> & type ()

Provides a hint to the browser UI about how [`NavigationController.LoadUrl`] was triggered.

LoadUrlParams & type (std::optional< ::fuchsia_web::LoadUrlReason> value)

Provides a hint to the browser UI about how [`NavigationController.LoadUrl`] was triggered.

const std::optional< ::std::string> & referrer_url ()

The URL that linked to the resource being requested.

::std::optional< ::std::string> & referrer_url ()

The URL that linked to the resource being requested.

LoadUrlParams & referrer_url (std::optional< ::std::string> value)

The URL that linked to the resource being requested.

const std::optional<bool> & was_user_activated ()

Should be set to true to propagate user activation to the frame. User activation implies

that the user is interacting with the web frame. It enables some web features that are not

available otherwise. For example, autoplay will work only when this flag is set to true.

::std::optional<bool> & was_user_activated ()

Should be set to true to propagate user activation to the frame. User activation implies

that the user is interacting with the web frame. It enables some web features that are not

available otherwise. For example, autoplay will work only when this flag is set to true.

LoadUrlParams & was_user_activated (std::optional<bool> value)

Should be set to true to propagate user activation to the frame. User activation implies

that the user is interacting with the web frame. It enables some web features that are not

available otherwise. For example, autoplay will work only when this flag is set to true.

const std::optional< ::std::vector< ::fuchsia_net_http::Header>> & headers ()

Custom HTTP headers. RFC7540 does not specify a limit on the number nor

size of headers.

::std::optional< ::std::vector< ::fuchsia_net_http::Header>> & headers ()

Custom HTTP headers. RFC7540 does not specify a limit on the number nor

size of headers.

LoadUrlParams & headers (std::optional< ::std::vector< ::fuchsia_net_http::Header>> value)

Custom HTTP headers. RFC7540 does not specify a limit on the number nor

size of headers.

void LoadUrlParams (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits