#include "chrome/browser/ui/views/chrome_typography_provider.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/ui/color/chrome_color_id.h"
#include "chrome/browser/ui/views/chrome_typography.h"
#include "ui/base/default_style.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/theme_provider.h"
#include "ui/color/color_id.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/color_utils.h"
#include "ui/gfx/platform_font.h"
#include "ui/views/style/typography.h"
#if BUILDFLAG(IS_WIN)
#include "base/win/windows_version.h"
#include "ui/native_theme/native_theme_win.h"
#endif
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "ash/public/cpp/ash_typography.h"
#endif
bool ChromeTypographyProvider::StyleAllowedForContext(int context,
int style) const { … }
ui::ResourceBundle::FontDetails ChromeTypographyProvider::GetFontDetailsImpl(
int context,
int style) const { … }
ui::ColorId ChromeTypographyProvider::GetColorIdImpl(int context,
int style) const { … }
int ChromeTypographyProvider::GetLineHeightImpl(int context, int style) const { … }