[webkit-dev] Adding ENABLE_GESTURE_MANAGER

Robert Kroeger rjkroege at chromium.org
Mon May 9 12:06:04 PDT 2011


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


More information about the webkit-dev mailing list