[Webkit-unassigned] [Bug 49057] Move whatever make sense from "touch adjuster" implementation to WebCore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 18 05:24:08 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=49057





--- Comment #7 from Andre Pedralho <andre.pedralho at gmail.com>  2010-11-18 05:24:08 PST ---
My initial idea was just to move the TouchAdjuster to the WebCore/page/MouseEventWithHitTestResults as a kind of helper class and just use it if we have padding values set somewhere.

bool EventHandler::handleMousePressEvent(const PlatformMouseEvent& mouseEvent)

1) it creates a MouseEventWithHitTestResult:
MouseEventWithHitTestResults mev = m_frame->document()->prepareMouseEvent(request, documentPoint, mouseEvent);

2) the event is handled afterwards:
swallowEvent = handleMousePressEvent(mev);

My idea is to create the MouseEventWithHitTestResults in 1 with the TouchAdjuster already applied.

My doubt: from where to get the padding values?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list