INPUT element: code cleanup around setValue().
* ColorInputType and RangeInputType
They don't need to override InputType::setValue(), and should override
InputTypeView::didSetValue() instead. It makes code simpler.
* HTMLInputElement::setValueInternal()
Removed unused TextFieldEventBehavior argument, and rename the function to
setNonAttributeValue().
Make sure this is only for ValueMode::kValue.
* TextFieldInputType::setValue()
Don't call InputType::setValue(), and call setNonAttributeValue() directly.
* InputType::setValue()
Make sure this is only for ValueMode::kValue.
This CL has no behavior changes.
Review-Url: https://codereview.chromium.org/2435973002
Cr-Commit-Position: refs/heads/master@{#427026}
9 files changed