// services/viz/privileged/mojom/compositing/overlay_strategy.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 SERVICES_VIZ_PRIVILEGED_MOJOM_COMPOSITING_OVERLAY_STRATEGY_MOJOM_DATA_VIEW_H_
#define SERVICES_VIZ_PRIVILEGED_MOJOM_COMPOSITING_OVERLAY_STRATEGY_MOJOM_DATA_VIEW_H_

#include <stdint.h>

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

#include "services/viz/privileged/mojom/compositing/overlay_strategy.mojom-shared-internal.h"


namespace viz::mojom {


}  // viz::mojom


namespace mojo {
namespace internal {

}  // namespace internal
}  // namespace mojo


namespace viz::mojom {


enum class OverlayStrategy : int32_t {
  
  kFullscreen = 0,
  
  kSingleOnTop = 1,
  
  kUnderlay = 2,
  kMinValue = 0,
  kMaxValue = 2,
};

 std::ostream& operator<<(std::ostream& os, OverlayStrategy value);
inline bool IsKnownEnumValue(OverlayStrategy value) {
  return internal::OverlayStrategy_Data::IsKnownValue(
      static_cast<int32_t>(value));
}

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


}  // viz::mojom

#endif  // SERVICES_VIZ_PRIVILEGED_MOJOM_COMPOSITING_OVERLAY_STRATEGY_MOJOM_DATA_VIEW_H_