// Copyright 2022 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_MOJOM_LINEAR_GRADIENT_MOJOM_TRAITS_H_ #define UI_GFX_MOJOM_LINEAR_GRADIENT_MOJOM_TRAITS_H_ #include "ui/gfx/geometry/linear_gradient.h" #include "ui/gfx/mojom/linear_gradient.mojom-shared.h" namespace mojo { template <> struct StructTraits<gfx::mojom::StepDataView, gfx::LinearGradient::Step> { … }; template <> struct StructTraits<gfx::mojom::LinearGradientDataView, gfx::LinearGradient> { … }; } // namespace mojo #endif // UI_GFX_MOJOM_LINEAR_GRADIENT_MOJOM_TRAITS_H_