| // Copyright 2015 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef UI_VIEWS_MUS_WINDOW_MANAGER_CONSTANTS_CONVERTERS_H_ |
| #define UI_VIEWS_MUS_WINDOW_MANAGER_CONSTANTS_CONVERTERS_H_ |
| |
| #include "services/ws/public/mojom/window_tree_constants.mojom.h" |
| #include "ui/views/mus/mus_export.h" |
| #include "ui/views/widget/widget.h" |
| |
| namespace mojo { |
| |
| template <> |
| struct VIEWS_MUS_EXPORT |
| TypeConverter<ws::mojom::WindowType, views::Widget::InitParams::Type> { |
| static ws::mojom::WindowType Convert(views::Widget::InitParams::Type type); |
| }; |
| |
| } // namespace mojo |
| |
| #endif // UI_VIEWS_MUS_WINDOW_MANAGER_CONSTANTS_CONVERTERS_H_ |