Chromium Code Reviews
DescriptionMacViews: Fix text input for password textfields.
crrev.com/2033433006 modified insertText handlers on BridgedContentView to
correctly handle space key events and simplify menu dispatch. However this broke
text input for password textfields.
This CL fixes the issue by introducing a new private method insertTextInternal:
on BridgedContentView, which is used by both insertText: and
insertTextReplacementRange:. Furhter, another private method
activeMenuController: is added to retreive the currently active menu controller.
A textfield test is also added which fails on MacViews for the current master.
This CL is dependent on http://crrev.com/2095283002.
BUG=623036
TEST=Enable Macviews. Open an http auth dialog (Go to
httpwatch.com/httpgallery/authentication/ and click on Display Image button).
Move focus to password textfield and ensure text input works correctly.
Committed: https://crrev.com/25492d28991f4cd464c8d8ab728e548ae735b8a2
Cr-Commit-Position: refs/heads/master@{#403117}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address review comments. #
Total comments: 2
Patch Set 3 : Rebase. #Patch Set 4 : Address review comments. #Patch Set 5 : Rebase. #
Depends on Patchset: Messages
Total messages: 20 (10 generated)
|
||||||||||||||||||||||||||||