class LoadUrlParams
Defined at line 5318 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
Additional parameters for modifying the behavior of [`NavigationController.LoadUrl`].
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool has_type ()
Defined at line 5329 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
::fuchsia::web::LoadUrlReason * mutable_type ()
Provides a hint to the browser UI about how [`NavigationController.LoadUrl`] was triggered.
Defined at line 5334 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
void clear_type ()
Defined at line 5342 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
const ::std::string & referrer_url ()
The URL that linked to the resource being requested.
Defined at line 5351 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
bool has_referrer_url ()
Defined at line 5355 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
::std::string * mutable_referrer_url ()
The URL that linked to the resource being requested.
Defined at line 5360 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
void clear_referrer_url ()
Defined at line 5368 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
bool has_was_user_activated ()
Defined at line 5383 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
bool * mutable_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.
Defined at line 5390 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
void clear_was_user_activated ()
Defined at line 5398 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
const ::std::vector< ::fuchsia::net::http::Header> & headers ()
Custom HTTP headers. RFC7540 does not specify a limit on the number nor
size of headers.
Defined at line 5408 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
bool has_headers ()
Defined at line 5412 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
::std::vector< ::fuchsia::net::http::Header> * mutable_headers ()
Custom HTTP headers. RFC7540 does not specify a limit on the number nor
size of headers.
Defined at line 5418 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
void clear_headers ()
Defined at line 5426 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
LoadUrlParams & set_type (::fuchsia::web::LoadUrlReason _value)
LoadUrlParams & set_referrer_url (::std::string _value)
LoadUrlParams & set_was_user_activated (bool _value)
LoadUrlParams & set_headers (::std::vector< ::fuchsia::net::http::Header> _value)
void LoadUrlParams ()
void LoadUrlParams (LoadUrlParams && other)
const ::fuchsia::web::LoadUrlReason & type ()
Provides a hint to the browser UI about how [`NavigationController.LoadUrl`] was triggered.
Defined at line 5325 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
const 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.
Defined at line 5379 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
void ~LoadUrlParams ()
LoadUrlParams & operator= (LoadUrlParams && other)
::std::unique_ptr<LoadUrlParams> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, LoadUrlParams * _value, size_t _offset)
zx_status_t Clone (LoadUrlParams * _result)