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_HTML_VIEWER_BLINK_TEXT_INPUT_TYPE_CONVERTERS_H_ | |
6 #define COMPONENTS_HTML_VIEWER_BLINK_TEXT_INPUT_TYPE_CONVERTERS_H_ | |
7 | |
8 #include "mojo/public/cpp/bindings/type_converter.h" | |
9 #include "third_party/WebKit/public/web/WebTextInputType.h" | |
10 #include "ui/mojo/ime/text_input_state.mojom.h" | |
11 | |
12 namespace mojo { | |
13 | |
14 template <> | |
15 struct TypeConverter<TextInputType, blink::WebTextInputType> { | |
16 static TextInputType Convert(const blink::WebTextInputType& input); | |
17 }; | |
18 | |
19 } // namespace mojo | |
20 | |
21 #endif // COMPONENTS_HTML_VIEWER_BLINK_TEXT_INPUT_TYPE_CONVERTERS_H_ | |
OLD | NEW |