class TouchInjector

Defined at line 14 of file ../../src/ui/scenic/lib/input/touch_injector.h

Implementation of the |fuchsia::ui::pointerinjector::Device| interface. One instance per channel.

LINT.IfChange

Public Methods

void TouchInjector (std::shared_ptr<view_tree::SnapshotHolder> snapshot_holder, inspect::Node inspect_node, InjectorSettings settings, Viewport viewport, fidl::ServerEnd<fuchsia_ui_pointerinjector::Device> device, fit::function<void (InternalTouchEvent, StreamId, const view_tree::Snapshot &)> inject, fit::function<void ()> on_channel_closed)

LINT.IfChange

Defined at line 31 of file ../../src/ui/scenic/lib/input/touch_injector.cc

Protected Methods

void ForwardEvent (fuchsia_ui_pointerinjector::wire::Event & event, StreamId stream_id, const view_tree::Snapshot & snapshot, uint64_t trace_flow_id)

|Injector|

Defined at line 45 of file ../../src/ui/scenic/lib/input/touch_injector.cc

void CancelStream (uint32_t pointer_id, StreamId stream_id, const view_tree::Snapshot & snapshot)

|Injector|

Defined at line 98 of file ../../src/ui/scenic/lib/input/touch_injector.cc