class NavigationDecision
Defined at line 6974 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h
Navigation action that should be taken in response to a navigation request. Returned from
[`NavigationPolicyProvider.EvaluateRequestedNavigation`].
Public Methods
void NavigationDecision ()
void ~NavigationDecision ()
void NavigationDecision (NavigationDecision && other)
NavigationDecision & operator= (NavigationDecision && other)
bool has_invalid_tag ()
bool is_proceed ()
NavigationDecision WithProceed (::fuchsia_web::wire::NoArgumentsAction val)
Navigation should proceed normally.
::fuchsia_web::wire::NoArgumentsAction & proceed ()
Navigation should proceed normally.
const ::fuchsia_web::wire::NoArgumentsAction & proceed ()
Navigation should proceed normally.
bool is_abort ()
NavigationDecision WithAbort (::fuchsia_web::wire::NoArgumentsAction val)
Navigation should be aborted. The frame should stay on the current page.
::fuchsia_web::wire::NoArgumentsAction & abort ()
Navigation should be aborted. The frame should stay on the current page.
const ::fuchsia_web::wire::NoArgumentsAction & abort ()
Navigation should be aborted. The frame should stay on the current page.
::fuchsia_web::wire::NavigationDecision::Tag Which ()
void _CloseHandles ()
Enumerations
enum Tag
| Name | Value |
|---|---|
| kProceed | 1 |
| kAbort | 2 |
Defined at line 6983 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h