Dispatch scroll events in views using EventProcessor and EventTargeter
Implement more of ViewTargeter so that it can determine
the target of a located event. Currently this
performs point-based targeting only; support for
rect-based targeting will be added in a future change
with the refactoring of gesture event code in views.
Remove the function RootView::DispatchScrollEvent() and
call into EventProcessor::OnEventFromSource() for scroll
events to use the new targeting and dispatch logic.
Unhandled scroll events are converted into mousewheel
events in Widget (our EventSource) and then re-sent
to RootView (our EventProcessor).
BUG=353643
TEST=ViewTargeterTest.ViewTargeterForScrollEvents,ViewTargeterTest.SubtreeShouldBeExploredForEvent,WidgetTest.EventHandlersOnRootView
R=sadrul@chromium.org
Review URL: https://codereview.chromium.org/
199793012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269286 0039d316-1c4b-4281-b951-d872f2087c98