class Context

Defined at line 1852 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_types.h

The region from which injection is attempted for injected events. As the

context, it serves two purposes:

(1) Scoping. It confirms the |Device|'s authority to inject pointer events

on the specified target. Specifically, the context must be a view-tree

ancestor of the target.

(2) Coordinate System. It provides the reference coordinate system to define

the viewport's position and size, relative to the target.

Public Methods

void Context ()
void ~Context ()
void Context (Context && other)
Context & operator= (Context && other)
bool has_invalid_tag ()
bool is_view ()
Context WithView (::fuchsia_ui_views::wire::ViewRef val)

A Scenic view from which injection is attempted for injected events.

- This view must be connected to the scene graph for injection.

- Injected events are confined to this view and its sub-views.

::fuchsia_ui_views::wire::ViewRef & view ()

A Scenic view from which injection is attempted for injected events.

- This view must be connected to the scene graph for injection.

- Injected events are confined to this view and its sub-views.

const ::fuchsia_ui_views::wire::ViewRef & view ()

A Scenic view from which injection is attempted for injected events.

- This view must be connected to the scene graph for injection.

- Injected events are confined to this view and its sub-views.

::fuchsia_ui_pointerinjector::wire::Context::Tag Which ()
void _CloseHandles ()

Enumerations

enum Tag
Name Value
kView 1

Defined at line 1860 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/cpp/fidl/fuchsia.ui.pointerinjector/cpp/wire_types.h