diff options
author | tdanderson@google.com <tdanderson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-09 14:31:27 +0000 |
---|---|---|
committer | tdanderson@google.com <tdanderson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-09 14:31:27 +0000 |
commit | 793f4d35f652868836f47256637b33c02f00c410 (patch) | |
tree | a7b39e614d434c8a15552047b6f66ec2bee4ef96 /third_party/sfntly | |
parent | abfdf69ed785c3a7ea5ff3aaffffe61c0f51c074 (diff) | |
download | chromium_src-793f4d35f652868836f47256637b33c02f00c410.zip chromium_src-793f4d35f652868836f47256637b33c02f00c410.tar.gz chromium_src-793f4d35f652868836f47256637b33c02f00c410.tar.bz2 |
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
Diffstat (limited to 'third_party/sfntly')
0 files changed, 0 insertions, 0 deletions