#include "third_party/blink/renderer/platform/graphics/dark_mode_color_classifier.h"
#include "base/check_op.h"
namespace blink {
namespace {
class SimpleColorClassifier : public DarkModeColorClassifier { … };
class InvertLowBrightnessColorsClassifier : public DarkModeColorClassifier { … };
class InvertHighBrightnessColorsClassifier : public DarkModeColorClassifier { … };
}
int DarkModeColorClassifier::CalculateColorBrightness(SkColor color) { … }
std::unique_ptr<DarkModeColorClassifier>
DarkModeColorClassifier::MakeForegroundColorClassifier(
const DarkModeSettings& settings) { … }
std::unique_ptr<DarkModeColorClassifier>
DarkModeColorClassifier::MakeBackgroundColorClassifier(
const DarkModeSettings& settings) { … }
DarkModeColorClassifier::~DarkModeColorClassifier() { … }
}