OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_VIEW_MANAGER_TYPE_CONVERTERS_H_ | |
6 #define COMPONENTS_VIEW_MANAGER_TYPE_CONVERTERS_H_ | |
7 | |
8 #include "ui/mojo/ime/text_input_state.mojom.h" | |
9 #include "ui/platform_window/text_input_state.h" | |
10 | |
11 namespace mojo { | |
12 | |
13 template <> | |
14 struct TypeConverter<ui::TextInputType, TextInputType> { | |
15 static ui::TextInputType Convert(const TextInputType& input); | |
16 }; | |
17 | |
18 template <> | |
19 struct TypeConverter<ui::TextInputState, TextInputStatePtr> { | |
20 static ui::TextInputState Convert(const TextInputStatePtr& input); | |
21 }; | |
22 | |
23 } // namespace mojo | |
24 | |
25 #endif // COMPONENTS_VIEW_MANAGER_TYPE_CONVERTERS_H_ | |
OLD | NEW |