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

Unified Diff: services/ui/public/interfaces/ime/ime.mojom

Issue 2843413002: Update Mus IME mojom and struct traits with new style enums and tests. (Closed)
Patch Set: Rebase. Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | services/ui/public/interfaces/ime/ime_struct_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/ime/ime.mojom
diff --git a/services/ui/public/interfaces/ime/ime.mojom b/services/ui/public/interfaces/ime/ime.mojom
index b209048eef3396b3764890311b7d06d483d352e6..b38453e600db8587f8c46f9c851845169938a428 100644
--- a/services/ui/public/interfaces/ime/ime.mojom
+++ b/services/ui/public/interfaces/ime/ime.mojom
@@ -76,40 +76,40 @@ struct CompositionText {
// See comments for ui::TextInputType for more details.
enum TextInputType {
- NONE,
- TEXT,
- PASSWORD,
- SEARCH,
- EMAIL,
- NUMBER,
- TELEPHONE,
- URL,
- DATE,
- TIME,
- DATETIME,
- DATETIME_LOCAL,
- MONTH,
- WEEK,
- TEXT_AREA,
- CONTENT_EDITABLE,
- DATETIME_FIELD
+ kNone,
+ kText,
+ kPassword,
+ kSearch,
+ kEmail,
+ kNumber,
+ kTelephone,
+ kUrl,
+ kDate,
+ kTime,
+ kDateTime,
+ kDateTimeLocal,
+ kMonth,
+ kWeek,
+ kTextArea,
+ kContentEditable,
+ kDateTimeField
};
// See comments for ui::TextInputMode for more details.
enum TextInputMode {
- DEFAULT,
- VERBATIM,
- LATIN,
- LATIN_NAME,
- LATIN_PROSE,
- FULL_WIDTH_LATIN,
- KANA,
- KANA_NAME,
- KATAKANA,
- NUMERIC,
- TEL,
- EMAIL,
- URL,
+ kDefault,
+ kVerbatim,
+ kLatin,
+ kLatinName,
+ kLatinProse,
+ kFullWidthLatin,
+ kKana,
+ kKanaName,
+ kKatakana,
+ kNumeric,
+ kTel,
+ kEmail,
+ kUrl,
};
// Parameters needed to start an IME session.
« no previous file with comments | « no previous file | services/ui/public/interfaces/ime/ime_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698