#ifndef UI_GFX_MOJOM_SELECTION_BOUND_MOJOM_TRAITS_H_
#define UI_GFX_MOJOM_SELECTION_BOUND_MOJOM_TRAITS_H_
#include "base/notreached.h"
#include "ui/gfx/geometry/mojom/geometry_mojom_traits.h"
#include "ui/gfx/mojom/selection_bound.mojom-shared.h"
#include "ui/gfx/selection_bound.h"
namespace mojo {
namespace {
gfx::mojom::SelectionBoundType GfxSelectionBoundTypeToMojo(
gfx::SelectionBound::Type type) { … }
gfx::SelectionBound::Type MojoSelectionBoundTypeToGfx(
gfx::mojom::SelectionBoundType type) { … }
}
template <>
struct StructTraits<gfx::mojom::SelectionBoundDataView, gfx::SelectionBound> { … };
}
#endif