summaryrefslogtreecommitdiffstats
path: root/chromeos/ime/ime_constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/ime/ime_constants.h')
-rw-r--r--chromeos/ime/ime_constants.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/chromeos/ime/ime_constants.h b/chromeos/ime/ime_constants.h
index 8dcfffa..5f32601 100644
--- a/chromeos/ime/ime_constants.h
+++ b/chromeos/ime/ime_constants.h
@@ -39,6 +39,29 @@ struct Rect {
int height;
};
+// We can't use ui/base/ime/text_input_type.h in chromeos/, so we should
+// redefine that.
+enum TextInputType {
+ TEXT_INPUT_TYPE_NONE,
+ TEXT_INPUT_TYPE_TEXT,
+ TEXT_INPUT_TYPE_PASSWORD,
+ TEXT_INPUT_TYPE_SEARCH,
+ TEXT_INPUT_TYPE_EMAIL,
+ TEXT_INPUT_TYPE_NUMBER,
+ TEXT_INPUT_TYPE_TELEPHONE,
+ TEXT_INPUT_TYPE_URL,
+ TEXT_INPUT_TYPE_DATE,
+ TEXT_INPUT_TYPE_DATE_TIME,
+ TEXT_INPUT_TYPE_DATE_TIME_LOCAL,
+ TEXT_INPUT_TYPE_MONTH,
+ TEXT_INPUT_TYPE_TIME,
+ TEXT_INPUT_TYPE_WEEK,
+ TEXT_INPUT_TYPE_TEXT_AREA,
+ TEXT_INPUT_TYPE_CONTENT_EDITABLE,
+ TEXT_INPUT_TYPE_DATE_TIME_FIELD,
+ TEXT_INPUT_TYPE_MAX = TEXT_INPUT_TYPE_DATE_TIME_FIELD,
+};
+
} // namespace ibus
} // namespace chromeos