DescriptionIntroduce View::CanProcessEventsWithinSubtree()
Introduce the virtual function
View::CanProcessEventsWithinSubtree(), which returns
true if the view and any of its descendants are
permitted to be the target of an event. This will be
called as part of event targeting and replaces the
overrides of View::HitTestRect() in cases where the
rect parameter is unused. One such replacement
(for ImageView) is made in this CL.
BUG=374325, 378530
TEST=ViewTest.CanProcessEventsWithinSubtree, ViewTargeterTest.CanProcessEventsWithinSubtree
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274011
Patch Set 1 #Patch Set 2 : remove BookmarkBarView changes #Patch Set 3 : one test added #Patch Set 4 : second test added #
Total comments: 4
Patch Set 5 : comments addressed #
Messages
Total messages: 6 (0 generated)
|