Merged FrameView and LayoutBox scrolling in EventHandler.
Scrolling a FrameView (window and iframes) has some small differences from
scrolling a normal LayoutBox. Because of this, we've generally forked all our
scrolling code to take two different paths based on whether a LayoutBox is a
FrameView/LayoutView. This has caused pain in that much logic has been
duplicated between the two.
This patch removes the duplication in the calling code and makes the decision
based on the virtual LayoutBox::scroll function.
BUG=
591124
Committed:
https://crrev.com/fd7ede807eb0e64820c805e8d5d0caf7ba9c5516
Cr-Commit-Position: refs/heads/master@{#380403}