// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_FOR_TEST_H_ #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_FOR_TEST_H_ #include "ui/accessibility/ax_mode.h" #include "ui/accessibility/platform/ax_platform.h" namespace ui { class ScopedAXModeSetter; // A process-wide AXPlatform instance for use by tests. class AXPlatformForTest : public AXPlatform::Delegate { … }; // Provides a way for tests to temporarily override the accessibility mode flags // accessible by the test's fake AXPlatform. Observers are not notified of the // change. class ScopedAXModeSetter { … }; } // namespace ui #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_FOR_TEST_H_