X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2Fpublic%2Fweb%2FWebTextInputType.h;h=b437f12153e485bfc38819be13781c6db3a5d690;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=77ea4446759b1e2e597fcca4c2280b363617dc18;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/public/web/WebTextInputType.h b/src/third_party/WebKit/public/web/WebTextInputType.h index 77ea444..b437f12 100644 --- a/src/third_party/WebKit/public/web/WebTextInputType.h +++ b/src/third_party/WebKit/public/web/WebTextInputType.h @@ -68,6 +68,19 @@ enum WebTextInputType { WebTextInputTypeDateTimeField, }; +// Separate on/off flags are defined so that the input mechanism can choose +// an appropriate default based on other things (like InputType and direct +// knowledge of the actual input system) if there are no overrides. +enum WebTextInputFlags { + WebTextInputFlagNone = 0, + WebTextInputFlagAutocompleteOn = 1 << 0, + WebTextInputFlagAutocompleteOff = 1 << 1, + WebTextInputFlagAutocorrectOn = 1 << 2, + WebTextInputFlagAutocorrectOff = 1 << 3, + WebTextInputFlagSpellcheckOn = 1 << 4, + WebTextInputFlagSpellcheckOff = 1 << 5 +}; + } // namespace blink #endif