blob: d41ece8ccdc9cbb6d1345480b9edf7c1bb88e14a [file] [log] [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_STATE_UTILS_H_
#define CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_STATE_UTILS_H_
namespace accessibility_state_utils {
// Returns true if a screen reader is enabled on any platform.
bool IsScreenReaderEnabled();
// Overrides |IsScreenReaderEnabled| for testing.
void OverrideIsScreenReaderEnabledForTesting(bool enabled);
} // namespace accessibility_state_utils
#endif // CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_STATE_UTILS_H_