OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 module mojo; | 5 module mojo; |
6 | 6 |
7 // Text input type which is based on blink::WebTextInputType. | 7 // Text input type which is based on blink::WebTextInputType. |
8 enum TextInputType { | 8 enum TextInputType { |
9 NONE, | 9 NONE, |
10 TEXT, | 10 TEXT, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 // The start position of the current composition, or -1 if there is none. | 62 // The start position of the current composition, or -1 if there is none. |
63 int32 composition_start; | 63 int32 composition_start; |
64 | 64 |
65 // The end position of the current composition, or -1 if there is none. | 65 // The end position of the current composition, or -1 if there is none. |
66 int32 composition_end; | 66 int32 composition_end; |
67 | 67 |
68 // Whether or not inline composition can be performed for the current input. | 68 // Whether or not inline composition can be performed for the current input. |
69 bool can_compose_inline; | 69 bool can_compose_inline; |
70 }; | 70 }; |
OLD | NEW |