DescriptionRemove overrides of HitTestRect() which just return false
Some overrides of View::HitTestRect() just return
false in order to force event-targeting to fail for
that view type and its descendants. Because this
logic is unrelated to hit-testing against a rectangular
region, remove these overrides and instead override
View::CanProcessEventsWithinSubtree() to just return
false.
The relevant classes are:
ProfileImageView
ShelfButton::BarView
ShelfButton::IconView
PasswordRow
BoundedLabel
Label (and Link as a result)
BUG=374303
TEST=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274366
Patch Set 1 #
Total comments: 2
Patch Set 2 : Call out to View::CanAcceptEvent() #Patch Set 3 : re-upload #
Total comments: 4
Patch Set 4 : comments addressed #Patch Set 5 : override View::CanProcessEventsWithinSubtree() #
Messages
Total messages: 21 (0 generated)
|