| Index: third_party/WebKit/public/platform/WebTextInputMode.h
|
| diff --git a/third_party/WebKit/public/platform/WebTextInputMode.h b/third_party/WebKit/public/platform/WebTextInputMode.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..df2ce503bd4ccb3fd2a0ac434a3dda2de79194b2
|
| --- /dev/null
|
| +++ b/third_party/WebKit/public/platform/WebTextInputMode.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef WebTextInputMode_h
|
| +#define WebTextInputMode_h
|
| +
|
| +namespace blink {
|
| +
|
| +// This mode corrensponds to inputmode
|
| +// https://html.spec.whatwg.org/#attr-fe-inputmode
|
| +enum WebTextInputMode {
|
| + kWebTextInputModeDefault,
|
| + kWebTextInputModeVerbatim,
|
| + kWebTextInputModeLatin,
|
| + kWebTextInputModeLatinName,
|
| + kWebTextInputModeLatinProse,
|
| + kWebTextInputModeFullWidthLatin,
|
| + kWebTextInputModeKana,
|
| + kWebTextInputModeKanaName,
|
| + kWebTextInputModeKataKana,
|
| + kWebTextInputModeNumeric,
|
| + kWebTextInputModeTel,
|
| + kWebTextInputModeEmail,
|
| + kWebTextInputModeUrl,
|
| + kWebTextInputModeMax = kWebTextInputModeUrl,
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebTextInputMode_h
|
|
|