chromium/ui/color/ref_color_mixer.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.

#include "ui/color/ref_color_mixer.h"

#include <memory>

#include "base/logging.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/color/color_id.h"
#include "ui/color/color_mixer.h"
#include "ui/color/color_provider.h"
#include "ui/color/color_provider_key.h"
#include "ui/color/color_provider_utils.h"
#include "ui/color/color_recipe.h"
#include "ui/color/dynamic_color/palette.h"
#include "ui/color/dynamic_color/palette_factory.h"
#include "ui/gfx/color_palette.h"

namespace ui {

// The baseline palette for ref colors. This should be used in the absence of a
// defined user_color.
void AddBaselinePalette(ColorProvider* provider) {}

// Adds the dynamic color palette tokens based on user_color. This is the base
// palette so it is independent of ColorMode.
void AddGeneratedPalette(ColorProvider* provider,
                         SkColor seed_color,
                         ColorProviderKey::SchemeVariant variant) {}

void AddRefColorMixer(ColorProvider* provider, const ColorProviderKey& key) {}

}  // namespace ui