class NavigationState

Defined at line 4881 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

Contains information about the [`Frame`]'s navigation state.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

void NavigationState ()

Defined at line 4883 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

void NavigationState (const NavigationState & other)

Defined at line 4884 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

bool has_url ()
NavigationState & operator= (const NavigationState & other)

Defined at line 4885 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

void NavigationState (NavigationState && other)

Defined at line 4886 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

void _CloseHandles ()
::fidl::WireTableBuilder< ::fuchsia_web::wire::NavigationState> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_web::wire::NavigationState> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_web::wire::NavigationState>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

NavigationState & operator= (NavigationState && other)

Defined at line 4887 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

::fidl::StringView & url ()

The page's URL.

::fidl::StringView & 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.

bool has_title ()
::fuchsia_web::wire::PageType & page_type ()

Indicates whether this was a navigation to an error page.

bool has_page_type ()
bool & can_go_forward ()

Indicates if there is a following navigation.

bool has_can_go_forward ()
bool & can_go_back ()

Indicates if there is a previous navigation.

bool has_can_go_back ()
bool & is_main_document_loaded ()

Indicates that the main document's statically declared resources have been loaded.

bool has_is_main_document_loaded ()
::fuchsia_web::wire::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.

bool has_favicon ()
::fuchsia_web::wire::ErrorDetail & error_detail ()

Indicates type of the error when `page_type` is set to `ERROR`.

bool has_error_detail ()
void ~NavigationState ()

Defined at line 4889 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder