OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_VIEWS_MUS_WINDOW_MANAGER_CONSTANTS_CONVERTERS_H_ | 5 #ifndef UI_VIEWS_MUS_WINDOW_MANAGER_CONSTANTS_CONVERTERS_H_ |
6 #define UI_VIEWS_MUS_WINDOW_MANAGER_CONSTANTS_CONVERTERS_H_ | 6 #define UI_VIEWS_MUS_WINDOW_MANAGER_CONSTANTS_CONVERTERS_H_ |
7 | 7 |
8 #include "components/mus/public/interfaces/window_manager_constants.mojom.h" | 8 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" |
9 #include "ui/views/mus/mus_export.h" | 9 #include "ui/views/mus/mus_export.h" |
10 #include "ui/views/widget/widget.h" | 10 #include "ui/views/widget/widget.h" |
11 | 11 |
12 namespace mus { | 12 namespace mus { |
13 class Window; | 13 class Window; |
14 } | 14 } |
15 | 15 |
16 namespace mojo { | 16 namespace mojo { |
17 | 17 |
18 template <> | 18 template <> |
19 struct VIEWS_MUS_EXPORT | 19 struct VIEWS_MUS_EXPORT |
20 TypeConverter<mus::mojom::WindowType, views::Widget::InitParams::Type> { | 20 TypeConverter<mus::mojom::WindowType, views::Widget::InitParams::Type> { |
21 static mus::mojom::WindowType Convert(views::Widget::InitParams::Type type); | 21 static mus::mojom::WindowType Convert(views::Widget::InitParams::Type type); |
22 }; | 22 }; |
23 | 23 |
24 } // namespace mojo | 24 } // namespace mojo |
25 | 25 |
26 #endif // UI_VIEWS_MUS_WINDOW_MANAGER_CONSTANTS_CONVERTERS_H_ | 26 #endif // UI_VIEWS_MUS_WINDOW_MANAGER_CONSTANTS_CONVERTERS_H_ |
OLD | NEW |