// third_party/blink/public/mojom/css/preferred_contrast.mojom-data-view.h is auto generated by mojom_bindings_generator.py, do not edit

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

// This file defines XDataView for type traits and can be included in
// _mojom_traits.h definitions but otherwise please use .mojom-forward.h,
// .mojom-shared.h or .mojom.h.

// IWYU pragma: private
// IWYU pragma: friend "traits"

#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_CSS_PREFERRED_CONTRAST_MOJOM_DATA_VIEW_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_CSS_PREFERRED_CONTRAST_MOJOM_DATA_VIEW_H_

#include <stdint.h>

#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>

#include "third_party/blink/public/mojom/css/preferred_contrast.mojom-shared-internal.h"


namespace blink::mojom {


}  // blink::mojom


namespace mojo {
namespace internal {

}  // namespace internal
}  // namespace mojo


namespace blink::mojom {


enum class PreferredContrast : int32_t {
  
  kMore = 0,
  
  kLess = 1,
  
  kNoPreference = 2,
  
  kCustom = 3,
  kMinValue = 0,
  kMaxValue = 3,
};

COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) std::ostream& operator<<(std::ostream& os, PreferredContrast value);
inline bool IsKnownEnumValue(PreferredContrast value) {
  return internal::PreferredContrast_Data::IsKnownValue(
      static_cast<int32_t>(value));
}

// Returns true if the enum has an infallible conversion from the mojom enum.
consteval bool HasInfallibleConversion(PreferredContrast) {
  return true;
}


}  // blink::mojom

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_CSS_PREFERRED_CONTRAST_MOJOM_DATA_VIEW_H_