class NavigationState

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

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

Public Methods

void NavigationState ()

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

void NavigationState (NavigationState && )

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

void NavigationState (Storage_ storage)
bool IsEmpty ()
const std::optional< ::std::string> & url ()

The page's URL.

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

The page's URL.

NavigationState & url (std::optional< ::std::string> value)

The page's URL.

const std::optional< ::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.

::std::optional< ::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.

NavigationState & title (std::optional< ::std::string> value)

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.

const std::optional< ::fuchsia_web::PageType> & page_type ()

Indicates whether this was a navigation to an error page.

::std::optional< ::fuchsia_web::PageType> & page_type ()

Indicates whether this was a navigation to an error page.

NavigationState & page_type (std::optional< ::fuchsia_web::PageType> value)

Indicates whether this was a navigation to an error page.

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

Indicates if there is a following navigation.

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

Indicates if there is a following navigation.

NavigationState & can_go_forward (std::optional<bool> value)

Indicates if there is a following navigation.

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

Indicates if there is a previous navigation.

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

Indicates if there is a previous navigation.

NavigationState & can_go_back (std::optional<bool> value)

Indicates if there is a previous navigation.

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

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

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

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

NavigationState & is_main_document_loaded (std::optional<bool> value)

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

const std::optional< ::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.

::std::optional< ::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.

NavigationState & favicon (std::optional< ::fuchsia_web::Favicon> value)

Current favicon for the page. The field is set only when the `FAVICON` flag is set for the

`NavigationEventListener` and the favicon has changed.

const std::optional< ::fuchsia_web::ErrorDetail> & error_detail ()

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

::std::optional< ::fuchsia_web::ErrorDetail> & error_detail ()

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

NavigationState & error_detail (std::optional< ::fuchsia_web::ErrorDetail> value)

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

void NavigationState (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
NavigationState & operator= (NavigationState && )

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

Friends

class MemberVisitor
class NaturalTableCodingTraits