Update V8 to version 4.6.52.
[chromium-blink-merge.git] / components / view_manager / type_converters.h
blob20b1d449e75fb2755280e4b57c5d0727c0cfd1b8
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"
11 namespace mojo {
13 template <>
14 struct TypeConverter<ui::TextInputType, TextInputType> {
15 static ui::TextInputType Convert(const TextInputType& input);
18 template <>
19 struct TypeConverter<ui::TextInputState, TextInputStatePtr> {
20 static ui::TextInputState Convert(const TextInputStatePtr& input);
23 } // namespace mojo
25 #endif // COMPONENTS_VIEW_MANAGER_TYPE_CONVERTERS_H_