class MockViewSource
Defined at line 19 of file ../../src/ui/a11y/lib/view/tests/mocks/mock_view_source.h
Public Methods
fxl::WeakPtr<a11y::ViewWrapper> GetViewWrapper (zx_koid_t koid)
|ViewSource|
Defined at line 13 of file ../../src/ui/a11y/lib/view/tests/mocks/mock_view_source.cc
void MockViewSource ()
Defined at line 21 of file ../../src/ui/a11y/lib/view/tests/mocks/mock_view_source.h
void ~MockViewSource ()
Defined at line 22 of file ../../src/ui/a11y/lib/view/tests/mocks/mock_view_source.h
void CreateView (const ViewRefHelper & view_ref)
Creates a wrapper for the supplied view_ref, with mock functional
interfaces.
Defined at line 23 of file ../../src/ui/a11y/lib/view/tests/mocks/mock_view_source.cc
MockSemanticTree * GetMockSemanticTree (zx_koid_t view_ref_koid)
Gets the mock semantic tree associated with the given view ref koid, if any.
Defined at line 30 of file ../../src/ui/a11y/lib/view/tests/mocks/mock_view_source.cc
void UpdateSemanticTree (zx_koid_t view_ref_koid, std::vector<a11y::SemanticTree::TreeUpdate> node_updates)
Updates the semantic tree associated with the given view ref koid.
If there is no view with the given view ref koid, this method will
crash.
Defined at line 40 of file ../../src/ui/a11y/lib/view/tests/mocks/mock_view_source.cc