DescriptionViews which cannot process events cannot be tooltip targets
The check for CanProcessEventsWithinSubtree() needs
to be made on |this| before the loop (along with
HitTestRect()) instead of inside the loop on the
children. Otherwise it would be possible to return
a view for which CanProcessEventsWithinSubtree()
returns false.
BUG=382873, 378530
TEST=Added coverage in ViewTest.CanProcessEventsWithinSubtree
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276873
Patch Set 1 #Patch Set 2 : test coverage added #
Total comments: 2
Messages
Total messages: 8 (0 generated)
|