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.
5 #ifndef COMPONENTS_VIEW_MANAGER_TYPE_CONVERTERS_H_
6 #define COMPONENTS_VIEW_MANAGER_TYPE_CONVERTERS_H_
8 #include "ui/mojo/ime/text_input_state.mojom.h"
9 #include "ui/platform_window/text_input_state.h"
14 struct TypeConverter
<ui::TextInputType
, TextInputType
> {
15 static ui::TextInputType
Convert(const TextInputType
& input
);
19 struct TypeConverter
<ui::TextInputState
, TextInputStatePtr
> {
20 static ui::TextInputState
Convert(const TextInputStatePtr
& input
);
25 #endif // COMPONENTS_VIEW_MANAGER_TYPE_CONVERTERS_H_