// Copyright 2018 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_FONT_RENDER_PARAMS_MOJOM_TRAITS_H_ #define UI_GFX_MOJOM_FONT_RENDER_PARAMS_MOJOM_TRAITS_H_ #include "base/notreached.h" #include "ui/gfx/font_render_params.h" #include "ui/gfx/mojom/font_render_params.mojom.h" namespace mojo { template <> struct EnumTraits<gfx::mojom::SubpixelRendering, gfx::FontRenderParams::SubpixelRendering> { … }; template <> struct EnumTraits<gfx::mojom::Hinting, gfx::FontRenderParams::Hinting> { … }; } // namespace mojo #endif // UI_GFX_MOJOM_FONT_RENDER_PARAMS_MOJOM_TRAITS_H_