DescriptionINPUT 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.
Committed: https://crrev.com/760682ed1d9e83e40ef158f06a83b7fe626de745
Cr-Commit-Position: refs/heads/master@{#427026}
Patch Set 1 #Messages
Total messages: 24 (17 generated)
|