-
commit-queue@webkit.org authored
Reviewed by Antonio Gomes. Flag to enable/disable a GestureReocognizer framework https://bugs.webkit.org/show_bug.cgi?id=49345 * wtf/Platform.h: 2011-03-21 Robert Kroeger <rjkroege@chromium.org> Reviewed by Antonio Gomes. Add Support to WebCore to optionally call a platform-specific gesture recognizer https://bugs.webkit.org/show_bug.cgi?id=49345 Added an ability for the EventHandler to invoke an optional platform specific gesture recognizer. No tests added because the change should be functionally invisible. * WebCore.gypi: * page/EventHandler.cpp: (WebCore::EventHandler::EventHandler): (WebCore::EventHandler::handleTouchEvent): * page/EventHandler.h: * platform/PlatformGestureRecognizer.cpp: Added. (WebCore::PlatformGestureRecognizer::PlatformGestureRecognizer): (WebCore::PlatformGestureRecognizer::~PlatformGestureRecognizer): (WebCore::PlatformGestureRecognizer::create): * platform/PlatformGestureRecognizer.h: Added. 2011-03-21 Robert Kroeger <rjkroege@chromium.org> Reviewed by Antonio Gomes. Flag to enable a platform specific GestureReocognizer framework in Chromium. https://bugs.webkit.org/show_bug.cgi?id=49345 * features.gypi: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
28faf6ec