#include "chrome/browser/new_tab_page/chrome_colors/chrome_colors_service.h"
#include "base/metrics/histogram_functions.h"
#include "base/ranges/algorithm.h"
#include "chrome/browser/new_tab_page/chrome_colors/generated_colors_info.h"
#include "chrome/browser/new_tab_page/chrome_colors/selected_colors_info.h"
#include "chrome/browser/themes/theme_service_factory.h"
#include "chrome/browser/ui/webui/cr_components/theme_color_picker/customize_chrome_colors.h"
#include "ui/base/mojom/themes.mojom.h"
namespace chrome_colors {
namespace {
}
ChromeColorsService::ChromeColorsService(Profile* profile)
: … { … }
ChromeColorsService::~ChromeColorsService() = default;
void ChromeColorsService::ApplyDefaultTheme(content::WebContents* tab) { … }
void ChromeColorsService::ApplyAutogeneratedTheme(SkColor color,
content::WebContents* tab) { … }
void ChromeColorsService::RevertThemeChangesForTab(content::WebContents* tab) { … }
void ChromeColorsService::RevertThemeChanges() { … }
void ChromeColorsService::ConfirmThemeChanges() { … }
void ChromeColorsService::RevertThemeChangesInternal() { … }
void ChromeColorsService::SaveThemeRevertState(content::WebContents* tab) { … }
void ChromeColorsService::Shutdown() { … }
}