chromium/chrome/browser/ui/webui/cr_components/theme_color_picker/customize_chrome_colors.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "chrome/browser/ui/webui/cr_components/theme_color_picker/customize_chrome_colors.h"

#include <array>
#include <utility>

#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 "ui/base/mojom/themes.mojom.h"
#include "ui/color/color_provider_utils.h"

namespace {

// Returns chrome color with ID |kCustomizeChromeColorIds[I]|.
template <size_t I>
constexpr chrome_colors::ColorInfo GetChromeColor() {}

template <std::size_t... I>
constexpr auto MakeCustomizeChromeColors(std::index_sequence<I...>) {}

}  // namespace

const decltype(kCustomizeChromeColors) kCustomizeChromeColors =;

const decltype(kDynamicCustomizeChromeColors) kDynamicCustomizeChromeColors =;

SkColor HueToSkColor(float hue) {}