| Index: third_party/WebKit/public/platform/WebTextInputInfo.h
|
| diff --git a/third_party/WebKit/public/platform/WebTextInputInfo.h b/third_party/WebKit/public/platform/WebTextInputInfo.h
|
| index 61f8ecc25cc994490440849f3fbbec68b2aef457..a950e4a9dcf4e9f76c3dabf3ffe72c4f4e5faad5 100644
|
| --- a/third_party/WebKit/public/platform/WebTextInputInfo.h
|
| +++ b/third_party/WebKit/public/platform/WebTextInputInfo.h
|
| @@ -28,6 +28,7 @@
|
|
|
| #include "WebCommon.h"
|
| #include "WebString.h"
|
| +#include "WebTextInputMode.h"
|
| #include "WebTextInputType.h"
|
|
|
| namespace blink {
|
| @@ -54,8 +55,7 @@ struct WebTextInputInfo {
|
| int compositionEnd;
|
|
|
| // The inputmode attribute value of the currently focused input field.
|
| - // This string is lower-case.
|
| - WebString inputMode;
|
| + WebTextInputMode inputMode;
|
|
|
| BLINK_PLATFORM_EXPORT bool equals(const WebTextInputInfo&) const;
|
|
|
| @@ -65,7 +65,8 @@ struct WebTextInputInfo {
|
| selectionStart(0),
|
| selectionEnd(0),
|
| compositionStart(-1),
|
| - compositionEnd(-1) {}
|
| + compositionEnd(-1),
|
| + inputMode(kWebTextInputModeDefault) {}
|
| };
|
|
|
| inline bool operator==(const WebTextInputInfo& a, const WebTextInputInfo& b) {
|
|
|