OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 arc; | 5 module arc; |
6 | 6 |
7 // Represents the type of text input field currently focused. | 7 // Represents the type of text input field currently focused. |
| 8 [Extensible=True] |
8 enum TextInputType { | 9 enum TextInputType { |
9 NONE, | 10 NONE, |
10 TEXT, | 11 TEXT, |
11 PASSWORD, | 12 PASSWORD, |
12 SEARCH, | 13 SEARCH, |
13 EMAIL, | 14 EMAIL, |
14 NUMBER, | 15 NUMBER, |
15 TELEPHONE, | 16 TELEPHONE, |
16 URL, | 17 URL, |
17 DATE, | 18 DATE, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 51 |
51 // Sets composition text and attributes requested by the host IME. | 52 // Sets composition text and attributes requested by the host IME. |
52 SetCompositionText(string text, array<CompositionSegment> segments); | 53 SetCompositionText(string text, array<CompositionSegment> segments); |
53 | 54 |
54 // Commits the last set composition text and clears the composition. | 55 // Commits the last set composition text and clears the composition. |
55 ConfirmCompositionText(); | 56 ConfirmCompositionText(); |
56 | 57 |
57 // Commits the specified text and clears the composition. | 58 // Commits the specified text and clears the composition. |
58 InsertText(string text); | 59 InsertText(string text); |
59 }; | 60 }; |
OLD | NEW |