DescriptionOOPIF: Clear old focused frame when focus moves to a cross-process frame.
Previously, clicking on a cross-process frame would not tell the old
frame's renderer about the focus change. This prevented blur events
from firing in the old frame and led to inconsistencies such as
multiple focused text fields with multiple blinking carets being
visible at the same time. This CL fixes these issues by adding a new
IPC that is sent to clear focus when the focused frame is changed
cross-process.
BUG=530663, 339659, 341918
Committed: https://crrev.com/ca2c6ba98bb00e7b6d301053b8dbc1a45c068134
Cr-Commit-Position: refs/heads/master@{#351897}
Patch Set 1 #Patch Set 2 : Add test #Patch Set 3 : Cleanup #
Total comments: 10
Patch Set 4 : Address Charlie's nits #
Total comments: 5
Patch Set 5 : Remove !frame()->page() check from WebLocalFrameImpl::clearFocus() #Messages
Total messages: 16 (4 generated)
|