class ViewRefFocusedRegistry
Defined at line 22 of file ../../src/ui/scenic/lib/focus/view_ref_focused_registry.h
An object for managing fuchsia.ui.views.ViewRefFocused lifecycle, starting with FIDL requests and
ending with cleanup.
Public Methods
void ViewRefFocusedRegistry (async_dispatcher_t * dispatcher)
Defined at line 15 of file ../../src/ui/scenic/lib/focus/view_ref_focused_registry.cc
void Register (zx_koid_t view_ref_koid, fidl::ServerEnd<fuchsia_ui_views::ViewRefFocused> endpoint)
Stores a FIDL request for fuchsia.ui.views.ViewRefFocused to |pending_requests_|.
Pre: |session_id| is unassociated with any fuchsia.ui.views.ViewRefFocused.
Defined at line 18 of file ../../src/ui/scenic/lib/focus/view_ref_focused_registry.cc
void ViewRefFocusedRegistry (const ViewRefFocusedRegistry & )
Because this object captures its "this" pointer in internal closures, it is unsafe to copy or
move it. Disable all copy and move operations.
Defined at line 28 of file ../../src/ui/scenic/lib/focus/view_ref_focused_registry.h
ViewRefFocusedRegistry & operator= (const ViewRefFocusedRegistry & )
Defined at line 29 of file ../../src/ui/scenic/lib/focus/view_ref_focused_registry.h
void UpdateRegisteredViews (const view_tree::Snapshot & snapshot)
Binds and registers endpoints in |pending_requests_| if its |view_ref_koid| is present in
|snapshot|. Remove and destroy any registered endpoint not present in |snapshot|.
Defined at line 29 of file ../../src/ui/scenic/lib/focus/view_ref_focused_registry.cc
void ViewRefFocusedRegistry (ViewRefFocusedRegistry && )
Defined at line 30 of file ../../src/ui/scenic/lib/focus/view_ref_focused_registry.h
ViewRefFocusedRegistry & operator= (ViewRefFocusedRegistry && )
Defined at line 31 of file ../../src/ui/scenic/lib/focus/view_ref_focused_registry.h
void UpdateFocus (zx_koid_t old_focus, zx_koid_t new_focus)
Focus changed, update state.
Defined at line 57 of file ../../src/ui/scenic/lib/focus/view_ref_focused_registry.cc