// Copyright 2017 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_DISPLAY_MOJOM_DISPLAY_MODE_MOJOM_TRAITS_H_ #define UI_DISPLAY_MOJOM_DISPLAY_MODE_MOJOM_TRAITS_H_ #include <memory> #include <optional> #include "ui/display/mojom/display_mode.mojom.h" #include "ui/display/types/display_mode.h" #include "ui/gfx/geometry/size.h" namespace mojo { template <> struct StructTraits<display::mojom::DisplayModeDataView, std::unique_ptr<display::DisplayMode>> { … }; } // namespace mojo #endif // UI_DISPLAY_MOJOM_DISPLAY_MODE_MOJOM_TRAITS_H_