[webkit-dev] Adding ENABLE_GESTURE_MANAGER

Levi Weintraub leviw at google.com
Mon May 9 12:10:17 PDT 2011


Some platforms implement touch recognition at a higher level than WebKit, so
I don't think it necessarily make senes to re-use the TOUCH_EVENTS feature
since you can have touch events in WebKit without a touch manager
implemented there... But I also don't see the need for this to live in
WebCore.

On Mon, May 9, 2011 at 12:06 PM, Robert Kroeger <rjkroege at chromium.org>wrote:

> Hi Adam,
>
> On Mon, May 9, 2011 at 2:54 PM, Adam Barth <abarth at webkit.org> wrote:
> > I'm mostly ignorant of how touch works, but would it make sense for
> > the gesture recognition engine to be part of WebCore or is this
> > functionality that's usually provided by the platform?
>
> In current platforms (iOS, Android), each platform has its own gesture
> recognizer. Discussion with reviewers (Antonio Gomes, Benjamin
> Poulain) led me to add a platform-independent hook that could invoke
> platform-specific code.
>
> Chrome (in particular ChromeOS) has no gesture recognizer and needs
> one. Placing the Chrome gesture recognizer in the Chrome platform
> makes it efficient for delivering the synthesized events without
> additional IPC or external libraries.
>
> Rob.
>
> >
> > Adam
> >
> >
> > On Mon, May 9, 2011 at 11:32 AM, Robert Kroeger <rjkroege at chromium.org>
> wrote:
> >> Hi webkit-dev!
> >>
> >> As suggested by Eric Seidel's email from earlier today, I thought it
> >> would be proper to let you know that I am in the process of adding a
> >> touch gesture recognition feature to the Chromium port of WebKit. The
> >> first part of this feature is
> >> https://bugs.webkit.org/show_bug.cgi?id=49345. This patch adds a hook
> >> to WebCore to pass touch events to an optional platform-specific
> >> gesture recognition engine. The code is turned off by default except
> >> in the Chromium port where it is enabled with ENABLE_GESTURE_MANAGER.
> >>
> >> Patch https://bugs.webkit.org/show_bug.cgi?id=54417 and its successors
> >> will add a progressively more useful gesture recognizer implementation
> >> to the Chromium platform.
> >>
> >> All code in this feature will be exercised by the Chromium buildbots.
> >>
> >> Rob.
> >> _______________________________________________
> >> webkit-dev mailing list
> >> webkit-dev at lists.webkit.org
> >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> >>
> >
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110509/545ea535/attachment.html>


More information about the webkit-dev mailing list