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

Unified Diff: ui/mojo/ime/text_input_state.mojom

Issue 1286383003: Mandoline: Enable Android software keyboard for the Omnibox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review issues Created 5 years, 4 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 | « mojo/converters/ime/mojo_ime_export.h ('k') | ui/platform_window/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/mojo/ime/text_input_state.mojom
diff --git a/ui/mojo/ime/text_input_state.mojom b/ui/mojo/ime/text_input_state.mojom
index 669a976fffa9ab95445f7e4771310632850a4ea9..a816929746d519a1608a53c58b8a56b4ef0f4dba 100644
--- a/ui/mojo/ime/text_input_state.mojom
+++ b/ui/mojo/ime/text_input_state.mojom
@@ -27,16 +27,16 @@ enum TextInputType {
// Text input flag which is based on blink::WebTextInputFlags.
enum TextInputFlag {
NONE,
- AUTO_COMPLETE_ON = 0x001,
- AUTO_COMPLETE_OFF = 0x002,
- AUTO_CORRECT_ON = 0x004,
- AUTO_CORRECT_OFF = 0x008,
- SPELL_CHECK_ON = 0x010,
- SPELL_CHECK_OFF = 0x020,
- AUTO_CAPITALIZE_NONE = 0x040,
- AUTO_CAPITALIZE_CHARACTERS = 0x080,
- AUTO_CAPITALIZE_WORDS = 0x100,
- AUTO_CAPITALIZE_SENTENCES = 0x200,
+ AUTOCOMPLETE_ON = 0x001,
+ AUTOCOMPLETE_OFF = 0x002,
+ AUTOCORRECT_ON = 0x004,
+ AUTOCORRECT_OFF = 0x008,
+ SPELLCHECK_ON = 0x010,
+ SPELLCHECK_OFF = 0x020,
+ AUTOCAPITALIZE_NONE = 0x040,
+ AUTOCAPITALIZE_CHARACTERS = 0x080,
+ AUTOCAPITALIZE_WORDS = 0x100,
+ AUTOCAPITALIZE_SENTENCES = 0x200,
ALL = 0x3FF,
};
@@ -49,7 +49,7 @@ struct TextInputState {
int32 flags;
// The value of the input field.
- string text;
+ string? text;
// The cursor position of the current selection start, or the caret position
// if nothing is selected.
« no previous file with comments | « mojo/converters/ime/mojo_ime_export.h ('k') | ui/platform_window/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698