class App

Defined at line 114 of file ../../src/ui/a11y/bin/a11y_manager/app.h

A11y manager application entry point.

Public Members

static const char[] kIntlPropertyProviderDisconnectedInspectName
static const char[] kScreenReaderEnabledInspectName
static const char[] kMagnifierEnabledInspectName
static const char[] kColorInversionEnabledInspectName
static const char[] kColorCorrectionModeInspectName

Public Methods

void App (sys::ComponentContext * context, a11y::ViewManager * view_manager, a11y::TtsManager * tts_manager, a11y::ColorTransformManager * color_transform_manager, a11y::GestureListenerRegistry * gesture_listener_registry, a11y::BootInfoManager * boot_info_manager, a11y::ScreenReaderContextFactory * screen_reader_context_factory, inspect::Node inspect_node)

App dependencies which are trivial to set up and contribute to easier test should be

passed in the constructor.

Defined at line 42 of file ../../src/ui/a11y/bin/a11y_manager/app.cc

A11yManagerState state ()

Defined at line 128 of file ../../src/ui/a11y/bin/a11y_manager/app.h

a11y::ScreenReader * screen_reader ()

Defined at line 130 of file ../../src/ui/a11y/bin/a11y_manager/app.h

void ~App ()

Defined at line 148 of file ../../src/ui/a11y/bin/a11y_manager/app.cc

void SetState (A11yManagerState newState)

Sets the a11y manager to the given configuration. Visible for testing.

Defined at line 178 of file ../../src/ui/a11y/bin/a11y_manager/app.cc