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.mojom; |
6 | 6 |
7 // Represents the type of text input field currently focused. | 7 // Represents the type of text input field currently focused. |
8 [Extensible] | 8 [Extensible] |
9 enum TextInputType { | 9 enum TextInputType { |
10 NONE, | 10 NONE, |
11 TEXT, | 11 TEXT, |
12 PASSWORD, | 12 PASSWORD, |
13 SEARCH, | 13 SEARCH, |
14 EMAIL, | 14 EMAIL, |
15 NUMBER, | 15 NUMBER, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 // Sets composition text and attributes requested by the host IME. | 55 // Sets composition text and attributes requested by the host IME. |
56 SetCompositionText(string text, array<CompositionSegment> segments); | 56 SetCompositionText(string text, array<CompositionSegment> segments); |
57 | 57 |
58 // Commits the last set composition text and clears the composition. | 58 // Commits the last set composition text and clears the composition. |
59 ConfirmCompositionText(); | 59 ConfirmCompositionText(); |
60 | 60 |
61 // Commits the specified text and clears the composition. | 61 // Commits the specified text and clears the composition. |
62 InsertText(string text); | 62 InsertText(string text); |
63 }; | 63 }; |
OLD | NEW |