class NavigationState
Defined at line 6387 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
Contains information about the [`Frame`]'s navigation state.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool has_url ()
Defined at line 6398 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
::std::string * mutable_url ()
The page's URL.
Defined at line 6403 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
void clear_url ()
Defined at line 6411 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
bool has_title ()
Defined at line 6425 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
::std::string * mutable_title ()
The user-visible page title. While W3C style recommendation is that HTML
TITLE tags not exceed 64 characters in length, there is no actual limit.
Defined at line 6431 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
void clear_title ()
Defined at line 6439 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
const ::fuchsia::web::PageType & page_type ()
Indicates whether this was a navigation to an error page.
Defined at line 6448 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
bool has_page_type ()
Defined at line 6452 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
::fuchsia::web::PageType * mutable_page_type ()
Indicates whether this was a navigation to an error page.
Defined at line 6457 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
void clear_page_type ()
Defined at line 6465 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
const bool & can_go_forward ()
Indicates if there is a following navigation.
Defined at line 6474 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
bool has_can_go_forward ()
Defined at line 6478 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
bool * mutable_can_go_forward ()
Indicates if there is a following navigation.
Defined at line 6483 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
void clear_can_go_forward ()
Defined at line 6491 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
const bool & can_go_back ()
Indicates if there is a previous navigation.
Defined at line 6500 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
bool has_can_go_back ()
Defined at line 6504 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
bool * mutable_can_go_back ()
Indicates if there is a previous navigation.
Defined at line 6509 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
void clear_can_go_back ()
Defined at line 6517 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
const bool & is_main_document_loaded ()
Indicates that the main document's statically declared resources have been loaded.
Defined at line 6526 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
bool has_is_main_document_loaded ()
Defined at line 6530 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
bool * mutable_is_main_document_loaded ()
Indicates that the main document's statically declared resources have been loaded.
Defined at line 6535 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
void clear_is_main_document_loaded ()
Defined at line 6543 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
const ::fuchsia::web::Favicon & favicon ()
Current favicon for the page. The field is set only when the `FAVICON` flag is set for the
`NavigationEventListener` and the favicon has changed.
Defined at line 6553 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
bool has_favicon ()
Defined at line 6557 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
::fuchsia::web::Favicon * mutable_favicon ()
Current favicon for the page. The field is set only when the `FAVICON` flag is set for the
`NavigationEventListener` and the favicon has changed.
Defined at line 6563 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
void clear_favicon ()
Defined at line 6571 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
const ::fuchsia::web::ErrorDetail & error_detail ()
Indicates type of the error when `page_type` is set to `ERROR`.
Defined at line 6580 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
bool has_error_detail ()
Defined at line 6584 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
::fuchsia::web::ErrorDetail * mutable_error_detail ()
Indicates type of the error when `page_type` is set to `ERROR`.
Defined at line 6589 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
void clear_error_detail ()
Defined at line 6597 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
NavigationState & set_url (::std::string _value)
NavigationState & set_title (::std::string _value)
NavigationState & set_page_type (::fuchsia::web::PageType _value)
NavigationState & set_can_go_forward (bool _value)
NavigationState & set_can_go_back (bool _value)
NavigationState & set_is_main_document_loaded (bool _value)
NavigationState & set_favicon (::fuchsia::web::Favicon _value)
NavigationState & set_error_detail (::fuchsia::web::ErrorDetail _value)
void NavigationState ()
void NavigationState (NavigationState && other)
const ::std::string & url ()
The page's URL.
Defined at line 6394 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
const ::std::string & title ()
The user-visible page title. While W3C style recommendation is that HTML
TITLE tags not exceed 64 characters in length, there is no actual limit.
Defined at line 6421 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
void ~NavigationState ()
NavigationState & operator= (NavigationState && other)
::std::unique_ptr<NavigationState> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, NavigationState * _value, size_t _offset)
zx_status_t Clone (NavigationState * _result)