chromium/third_party/blink/renderer/core/css/media_feature_overrides.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/core/css/media_feature_overrides.h"

#include "third_party/blink/renderer/core/css/media_features.h"
#include "third_party/blink/renderer/core/css/media_query_exp.h"
#include "third_party/blink/renderer/core/css/media_values.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_context.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_token_range.h"
#include "third_party/blink/renderer/core/css/parser/css_tokenizer.h"
#include "third_party/blink/renderer/core/execution_context/security_context.h"
#include "third_party/blink/renderer/platform/graphics/color_space_gamut.h"

namespace blink {

namespace {

std::optional<ColorSpaceGamut> ConvertColorGamut(
    const MediaQueryExpValue& value) {}

std::optional<ForcedColors> ConvertForcedColors(
    const MediaQueryExpValue& value) {}

}  // namespace

std::optional<mojom::blink::PreferredColorScheme>
MediaFeatureOverrides::ConvertPreferredColorScheme(
    const MediaQueryExpValue& value) {}

std::optional<mojom::blink::PreferredContrast>
MediaFeatureOverrides::ConvertPreferredContrast(
    const MediaQueryExpValue& value) {}

std::optional<bool> MediaFeatureOverrides::ConvertPrefersReducedMotion(
    const MediaQueryExpValue& value) {}

std::optional<bool> MediaFeatureOverrides::ConvertPrefersReducedData(
    const MediaQueryExpValue& value) {}

std::optional<bool> MediaFeatureOverrides::ConvertPrefersReducedTransparency(
    const MediaQueryExpValue& value) {}

MediaQueryExpValue MediaFeatureOverrides::ParseMediaQueryValue(
    const AtomicString& feature,
    const String& value_string,
    const Document* document) {}

void MediaFeatureOverrides::SetOverride(const AtomicString& feature,
                                        const String& value_string,
                                        const Document* document) {}

}  // namespace blink