Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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 BLIMP_COMMON_PROTO_BLIMP_CONVERSIONS_H_ | |
|
haibinlu
2016/03/17 18:59:46
we have a blimp/net/input_message_converter.h. Can
shaktisahu
2016/03/18 19:08:06
Done.
| |
| 6 #define BLIMP_COMMON_PROTO_BLIMP_CONVERSIONS_H_ | |
| 7 | |
| 8 #include "blimp/common/blimp_common_export.h" | |
| 9 #include "blimp/common/proto/ime.pb.h" | |
| 10 #include "ui/base/ime/text_input_type.h" | |
| 11 | |
| 12 namespace blimp { | |
| 13 | |
| 14 BLIMP_COMMON_EXPORT ui::TextInputType TextInputTypeFromProto( | |
|
Khushal
2016/03/17 10:02:45
Could you add unit tests for these? You can take a
shaktisahu
2016/03/18 19:08:05
Done.
| |
| 15 ImeMessage_InputType type); | |
| 16 | |
| 17 BLIMP_COMMON_EXPORT ImeMessage_InputType | |
| 18 TextInputTypeToProto(ui::TextInputType type); | |
| 19 | |
| 20 } // namespace blimp | |
| 21 | |
| 22 #endif // BLIMP_COMMON_PROTO_BLIMP_CONVERSIONS_H_ | |
| OLD | NEW |