DescriptionMake sure content area is focused when signin-view bubble is opened.
At present, when the inline login flow opens the bubble-based signin
view, focus is on the "back" arrow, and not the e-mail/password text
fields (as if we are expecting the user didn't really want to navigate
to this view in the first place). This forces the user to manually
focus the desired field through either a mouse-click or a touch before
they can start entering their information.
This CL causes the content area to be focused instead, either the
e-mail text field or th password field (if the e-mail is pre-populated).
This is consistent with how the in-tab signin page displays.
BUG=502370
Committed: https://crrev.com/62d093d69ebe6bb5a92d0bcce6fbf31c115e53be
Cr-Commit-Position: refs/heads/master@{#337271}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Use kViewClassName instead of string literal. #
Total comments: 3
Patch Set 3 : Compare strings by direct pointer comparison. #
Depends on Patchset: Messages
Total messages: 25 (9 generated)
|