Move should_draw_caps_lock_indicator_ flag
from LayoutTextControlSingleLine to PasswordInputType. LayoutObject should not store such a UI state. This CL will help LayoutNG transition. * Moves the followings from LayoutTextControlSingleLine to PasswordInputType: - should_draw_caps_lock_indicator_ flag - CapsLockStateMayHaveChanged() - ShouldDrawCapsLockIndicator() * Moves CapsLockStateMayHaveChanged() calsites in TextFieldInputType to PasswordInputType. Make TextFieldInputType::ForwardEvent() protected for this. This CL has no behavior changes. Bug: 1040826 Change-Id: I47df60b4e38184ad81b75a52ce8835e9af4ed3ca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2437077 Commit-Queue: Kent Tamura <tkent@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Auto-Submit: Kent Tamura <tkent@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#811648}
Showing
Please register or sign in to comment