#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 {
bool IsWithinEpsilon(float a, float b) { … }
class ColorFilterWrapper : public DarkModeColorFilter { … };
class LABColorFilter : public DarkModeColorFilter { … };
}
std::unique_ptr<DarkModeColorFilter> DarkModeColorFilter::FromSettings(
const DarkModeSettings& settings) { … }
DarkModeColorFilter::~DarkModeColorFilter() { … }
}