class FakeA11yManager

Defined at line 104 of file ../../src/ui/a11y/testing/fake_a11y_manager.h

Trivial accessibility manager implementation.

When a client registers a view for semantics, this class will bind the

semantic tree and semantic listener channels in the request, and notify the

client that semantics are disabled. This class will then hold the semantic

tree and semantic listener channels open until the client closes them.

The fake a11y manager is intended for uses cases where the semantics manager

service is required, but no accessibility functionality is explicitly

exercised (e.g. non-a11y tests that run chrome clients).

Public Methods

fidl::InterfaceRequestHandler<fuchsia::accessibility::semantics::SemanticsManager> GetHandler ()

Defined at line 33 of file ../../src/ui/a11y/testing/fake_a11y_manager.cc

void RegisterViewForSemantics (fuchsia::ui::views::ViewRef view_ref, fidl::InterfaceHandle<fuchsia::accessibility::semantics::SemanticListener> handle, fidl::InterfaceRequest<fuchsia::accessibility::semantics::SemanticTree> semantic_tree_request)

|fuchsia::accessibility::semantics::SemanticsManager|

Defined at line 38 of file ../../src/ui/a11y/testing/fake_a11y_manager.cc

void FakeA11yManager ()

Defined at line 106 of file ../../src/ui/a11y/testing/fake_a11y_manager.h

void ~FakeA11yManager ()

Defined at line 107 of file ../../src/ui/a11y/testing/fake_a11y_manager.h