class ViewRefInstalledImpl

Defined at line 23 of file ../../src/ui/scenic/lib/view_tree/view_ref_installed_impl.h

Class that implements the ViewRefInstalled service.

Public Methods

void Publish (sys::ComponentContext * app_context)

Publish the ViewRefInstalled service. Separate from constructor for easier testing.

Defined at line 52 of file ../../src/ui/scenic/lib/view_tree/view_ref_installed_impl.cc

void Watch (fuchsia::ui::views::ViewRef view_ref, fuchsia::ui::views::ViewRefInstalled::WatchCallback callback)

|ViewRefInstalled|

Defined at line 58 of file ../../src/ui/scenic/lib/view_tree/view_ref_installed_impl.cc

void OnNewViewTreeSnapshot (std::shared_ptr<const Snapshot> snapshot)

Called whenever a new snapshot of the ViewTree is generated.

When this happens we look through it to check if any of the waited on views have been installed

or any installed views have been removed entirely.

Defined at line 91 of file ../../src/ui/scenic/lib/view_tree/view_ref_installed_impl.cc