#include "chrome/browser/accessibility/page_colors.h"
#include "build/build_config.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/pref_names.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_service.h"
#include "components/sync_preferences/pref_service_syncable.h"
#include "ui/native_theme/native_theme.h"
#if BUILDFLAG(IS_LINUX)
#include "ui/linux/linux_ui.h"
#include "ui/linux/linux_ui_factory.h"
#endif
PageColors::PageColors(PrefService* profile_prefs)
: … { … }
PageColors::~PageColors() = default;
void PageColors::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) { … }
void PageColors::Init() { … }
void PageColors::OnPageColorsChanged() { … }
ui::NativeTheme::PageColors PageColors::CalculatePageColors() { … }
void PageColors::OnPreferredContrastChanged() { … }