[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 04:50:37 PST 2010


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





--- Comment #6 from Benjamin Poulain <benjamin.poulain at nokia.com>  2010-11-18 04:50:37 PST ---
Sorry for the previous comment, I hit enter by accident.

I am looking at the issue to get touch handling in WebKit 2. Since I'd prefer not to copy code I am moving that to EventHandler.

My current idea is:

1) if the touch event reports a rect:
-if javascript does not use the event
 -use TouchAdjuster to find the best click position
 -send a fake mouse event to that position
-ignore the associated mouse event

2) if the touch event does not report a rect:
 -create a fake rect for the touch event in the graphicswebview and send the touch event

3) if the platform is dumb and does not report touch event
 -create fake touch event in graphicswebview based on the platform plugin and back to (1).

Why do I want to deal with the rect in graphicswebview? To avoid the platform plugin in EventHandler, and take into acount the item transformation to adjust the rects of the touch points.

Any input welcome.

-- 
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