// chrome/common/chrome_render_frame.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 CHROME_COMMON_CHROME_RENDER_FRAME_MOJOM_DATA_VIEW_H_
#define CHROME_COMMON_CHROME_RENDER_FRAME_MOJOM_DATA_VIEW_H_

#include <stdint.h>

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

#include "chrome/common/chrome_render_frame.mojom-shared-internal.h"
#include "chrome/common/actor.mojom-shared.h"
#include "components/actor/public/mojom/actor_types.mojom-shared.h"
#include "components/lens/lens_metadata.mojom-shared.h"
#include "components/page_content_annotations/content/mojom/page_stability.mojom-shared.h"
#include "mojo/public/mojom/base/string16.mojom-shared.h"
#include "mojo/public/mojom/base/unguessable_token.mojom-shared.h"
#include "skia/public/mojom/bitmap.mojom-shared.h"
#include "third_party/blink/public/mojom/window_features/window_features.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"
#include "url/mojom/url.mojom-shared.h"


namespace chrome::mojom {


}  // chrome::mojom


namespace mojo {
namespace internal {

}  // namespace internal
}  // namespace mojo


namespace chrome::mojom {


enum class ImageFormat : int32_t {
  
  JPEG = 0,
  
  PNG = 1,
  
  WEBP = 2,
  
  ORIGINAL = 3,
  kMinValue = 0,
  kMaxValue = 3,
};

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

// Returns true if the enum has an infallible conversion from the mojom enum.
consteval bool HasInfallibleConversion(ImageFormat) {
  return true;
}
// Interface base classes. They are used for type safety check.
class ChromeRenderFrameInterfaceBase {};

using ChromeRenderFramePtrDataView =
    mojo::InterfacePtrDataView<ChromeRenderFrameInterfaceBase>;
using ChromeRenderFrameRequestDataView =
    mojo::InterfaceRequestDataView<ChromeRenderFrameInterfaceBase>;
using ChromeRenderFrameAssociatedPtrInfoDataView =
    mojo::AssociatedInterfacePtrInfoDataView<ChromeRenderFrameInterfaceBase>;
using ChromeRenderFrameAssociatedRequestDataView =
    mojo::AssociatedInterfaceRequestDataView<ChromeRenderFrameInterfaceBase>;


}  // chrome::mojom

#endif  // CHROME_COMMON_CHROME_RENDER_FRAME_MOJOM_DATA_VIEW_H_