// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/accessibility/accessibility_switches.h" #include "base/command_line.h" #include "build/build_config.h" namespace switches { // Shows additional automatic click features that haven't launched yet. const char kEnableExperimentalAccessibilityAutoclick[] = …; // Enables support for visually debugging the accessibility labels // feature, which provides images descriptions for screen reader users. const char kEnableExperimentalAccessibilityLabelsDebugging[] = …; // Enables language detection on in-page text content which is then exposed to // assistive technology such as screen readers. const char kEnableExperimentalAccessibilityLanguageDetection[] = …; // Enables language detection for dynamic content which is then exposed to // assistive technology such as screen readers. const char kEnableExperimentalAccessibilityLanguageDetectionDynamic[] = …; // Switches accessibility extensions to use extensions manifest v3 while the // migration is still in progress. const char kEnableExperimentalAccessibilityManifestV3[] = …; // Enables in progress Switch Access features for text input. const char kEnableExperimentalAccessibilitySwitchAccessText[] = …; // Enables debug feature for drawing rectangle around magnified region, without // zooming in. const char kEnableMagnifierDebugDrawRect[] = …; bool IsExperimentalAccessibilityLanguageDetectionEnabled() { … } bool IsExperimentalAccessibilityLanguageDetectionDynamicEnabled() { … } bool IsExperimentalAccessibilitySwitchAccessTextEnabled() { … } bool IsMagnifierDebugDrawRectEnabled() { … } const char kGenerateAccessibilityTestExpectations[] = …; // Turns off the accessibility in the renderer. const char kDisableRendererAccessibility[] = …; // Force renderer accessibility to be on instead of enabling it on demand when // a screen reader is detected. The disable-renderer-accessibility switch // overrides this if present. // This switch has an optional parameter that forces an AXMode bundle. The three // available bundle settings are: 'basic', 'form-controls', and 'complete'. If // the bundle argument is invalid, then the forced AXMode will default to // 'complete'. If the bundle argument is missing, then the initial AXMode will // default to complete but allow changes to the AXMode during execution. const char kForceRendererAccessibility[] = …; } // namespace switches