Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: components/arc/common/ime.mojom

Issue 1618963006: Mojo C++ bindings: support enum validation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc ('k') | components/arc/common/net.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 };
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc ('k') | components/arc/common/net.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698