#ifndef CHROME_COMMON_ACCESSIBILITY_READ_ANYTHING_CONSTANTS_H_
#define CHROME_COMMON_ACCESSIBILITY_READ_ANYTHING_CONSTANTS_H_
#include <string>
#include <string_view>
#include "base/containers/fixed_flat_map.h"
#include "ui/accessibility/ax_mode.h"
namespace string_constants {
extern const char kReadAnythingPlaceholderFontName[];
extern const char kReadAnythingDefaultFont[];
extern const char kReadAnythingPlaceholderVoiceName[];
extern const char kLetterSpacingHistogramName[];
extern const char kLineSpacingHistogramName[];
extern const char kColorHistogramName[];
extern const char kFontNameHistogramName[];
extern const char kFontScaleHistogramName[];
extern const char kScrollEventHistogramName[];
extern const char kEmptyStateHistogramName[];
extern const char kLanguageHistogramName[];
}
namespace fonts {
enum class ReadAnythingFont { … };
struct FontInfo { … };
inline const char* kReadAnythingFonts[] = …;
inline constexpr FontInfo kPoppinsFontInfo = …;
inline constexpr FontInfo kSansSerifFontInfo = …;
inline constexpr FontInfo kSerifFontInfo = …;
inline constexpr FontInfo kComicNeueFontInfo = …;
inline constexpr FontInfo kLexendDecaFontInfo = …;
inline constexpr FontInfo kEbGaramondFontInfo = …;
inline constexpr FontInfo kStixTwoTextFontInfo = …;
inline constexpr FontInfo kAndikaFontInfo = …;
inline constexpr FontInfo kAtkinsonHyperlegibleFontInfo = …;
extern const base::fixed_flat_map<std::string_view, FontInfo, 9> kFontInfos;
}
namespace {
inline constexpr int kMaxLineWidth = …;
inline constexpr double kReadAnythingDefaultSpeechRate = …;
inline constexpr double kReadAnythingDefaultFontScale = …;
inline constexpr double kReadAnythingMinimumFontScale = …;
inline constexpr double kReadAnythingMaximumFontScale = …;
inline constexpr double kReadAnythingFontScaleIncrement = …;
inline constexpr bool kReadAnythingDefaultLinksEnabled = …;
inline constexpr bool kReadAnythingDefaultImagesEnabled = …;
enum class ReadAnythingScrollEvent { … };
enum class ReadAnythingEmptyState { … };
}
#endif