template <>

class NaturalSyncClientImpl

Defined at line 1821 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/natural_messaging.h

Public Methods

::fidl::Result< ::fuchsia_web::NavigationController::LoadUrl> LoadUrl (::fidl::Request< ::fuchsia_web::NavigationController::LoadUrl> request)

Tells the [`Frame`] to navigate to a `url`.

- `url`: The address to navigate to.

- `params`: Additional parameters that affect how the resource will be loaded (e.g.

cookies, HTTP headers, etc.)

If an error occurred, the [`NavigationControllerError`] will be set to one of these values:

- `INVALID_URL`: The `url` parameter is invalid.

- `INVALID_HEADER`: At least one of the headers in [`LoadUrlParams.headers`] is invalid.

::fit::result< ::fidl::OneWayError> GoBack ()

Tells the [`Frame`] to navigate to the previous page in its history, if any.

::fit::result< ::fidl::OneWayError> GoForward ()

Tells the [`Frame`] to navigate to the next page in its history, if any.

::fit::result< ::fidl::OneWayError> Stop ()

Tells the [`Frame`] to stop the current navigation if a navigation is ongoing.

::fit::result< ::fidl::OneWayError> Reload (const ::fidl::Request< ::fuchsia_web::NavigationController::Reload> & request)

Tells the [`Frame`] to reload the current page.