class MouseSystem
Defined at line 22 of file ../../src/ui/scenic/lib/input/mouse_system.h
Tracks input APIs.
Public Methods
void MouseSystem (sys::ComponentContext * context, std::shared_ptr<const view_tree::Snapshot> & view_tree_snapshot, HitTester & hit_tester_, RequestFocusFunc request_focus)
Defined at line 20 of file ../../src/ui/scenic/lib/input/mouse_system.cc
void ~MouseSystem ()
Defined at line 27 of file ../../src/ui/scenic/lib/input/mouse_system.h
void RegisterMouseSource (fidl::InterfaceRequest<fuchsia::ui::pointer::MouseSource> mouse_source_request, zx_koid_t client_view_ref_koid)
Defined at line 27 of file ../../src/ui/scenic/lib/input/mouse_system.cc
void InjectMouseEventExclusive (InternalMouseEvent event, StreamId stream_id)
Injects a mouse event directly to the View with koid |event.target|.
Defined at line 65 of file ../../src/ui/scenic/lib/input/mouse_system.cc
void InjectMouseEventHitTested (InternalMouseEvent event, StreamId stream_id)
Injects a mouse event by hit testing for appropriate targets.
Defined at line 74 of file ../../src/ui/scenic/lib/input/mouse_system.cc
void CancelMouseStream (StreamId stream_id)
Sends a "View exit" event to the current receiver of |stream_id|, if there is one, and resets
the tracking state for the mouse stream.
Defined at line 117 of file ../../src/ui/scenic/lib/input/mouse_system.cc