| Index: third_party/WebKit/Source/core/html/forms/InputType.h
|
| diff --git a/third_party/WebKit/Source/core/html/forms/InputType.h b/third_party/WebKit/Source/core/html/forms/InputType.h
|
| index 7b6e072bb4afdfcee9cf41ab8af5a2a06b62bf7f..54529a7ceeb9447c7df907ed5064e79b5320b8ba 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/InputType.h
|
| +++ b/third_party/WebKit/Source/core/html/forms/InputType.h
|
| @@ -95,6 +95,10 @@ class CORE_EXPORT InputType : public GarbageCollectedFinalized<InputType> {
|
| // is called.
|
| virtual String defaultValue() const;
|
|
|
| + // https://html.spec.whatwg.org/multipage/forms.html#dom-input-value
|
| + enum class ValueMode { kValue, kDefault, kDefaultOn, kFilename };
|
| + virtual ValueMode valueMode() const = 0;
|
| +
|
| virtual double valueAsDate() const;
|
| virtual void setValueAsDate(double, ExceptionState&) const;
|
| virtual double valueAsDouble() const;
|
| @@ -176,7 +180,6 @@ class CORE_EXPORT InputType : public GarbageCollectedFinalized<InputType> {
|
| virtual bool canSetSuggestedValue();
|
| virtual bool shouldSendChangeEventAfterCheckedChanged();
|
| virtual bool canSetValue(const String&);
|
| - virtual bool storesValueSeparateFromAttribute();
|
| virtual void setValue(const String&,
|
| bool valueChanged,
|
| TextFieldEventBehavior);
|
|
|