chromium/ui/gfx/range/mojom/range_mojom_traits.h

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

#ifndef UI_GFX_RANGE_MOJOM_RANGE_MOJOM_TRAITS_H_
#define UI_GFX_RANGE_MOJOM_RANGE_MOJOM_TRAITS_H_

#include "ui/gfx/range/mojom/range.mojom-shared.h"
#include "ui/gfx/range/range.h"
#include "ui/gfx/range/range_f.h"

namespace mojo {

template <>
struct StructTraits<gfx::mojom::RangeDataView, gfx::Range> {};

template <>
struct StructTraits<gfx::mojom::RangeFDataView, gfx::RangeF> {};

}  // namespace mojo

#endif  // UI_GFX_RANGE_MOJOM_RANGE_MOJOM_TRAITS_H_