Cleanup of the code around the upload button of file upload control
* Add HTMLInputElement::UploadButton() to return a shadow element * Update its active state for CanReceiveDroppedFiles() immediately. Remove LayoutFileUploadControl::can_receive_dropped_files_. * Remove LayoutFileUploadControl::ButtonValue(), which was not used. * Remove LayoutFileUploadControl::UploadButtonWidth(), which was not defined. This CL has no behavior changes. Bug: 1040828 Change-Id: Id2a598dacd9f60451614d38fba3785cea1ec4d92 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2000280Reviewed-by:Koji Ishii <kojii@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#731846}
Showing
Please register or sign in to comment