chromium/third_party/blink/renderer/platform/graphics/dark_mode_color_filter.cc

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

#include "third_party/blink/renderer/platform/graphics/dark_mode_color_filter.h"

#include <array>

#include "base/check.h"
#include "base/notreached.h"
#include "cc/paint/color_filter.h"
#include "third_party/blink/renderer/platform/graphics/dark_mode_lab_color_space.h"
#include "third_party/skia/include/effects/SkHighContrastFilter.h"
#include "ui/gfx/color_utils.h"

namespace blink {
namespace {

// todo(1399566): Add a IsWithinEpsilon method for SkColor4f.
bool IsWithinEpsilon(float a, float b) {}

class ColorFilterWrapper : public DarkModeColorFilter {};

class LABColorFilter : public DarkModeColorFilter {};

}  // namespace

std::unique_ptr<DarkModeColorFilter> DarkModeColorFilter::FromSettings(
    const DarkModeSettings& settings) {}

DarkModeColorFilter::~DarkModeColorFilter() {}

}  // namespace blink