Views 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 Review URL: https://codereview.chromium.org/327843002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276873 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment