Changeset 106063 in webkit


Ignore:
Timestamp:
Jan 26, 2012 4:42:49 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Add GestureTapDown and GestureDoubleTap gesture types to WebGestureEvent.
https://bugs.webkit.org/show_bug.cgi?id=77140

Patch by Sadrul Habib Chowdhury <sadrul@chromium.org> on 2012-01-26
Reviewed by Darin Fisher.

  • public/WebInputEvent.h:

():

  • src/WebInputEventConversion.cpp:

(WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):

  • src/WebPopupMenuImpl.cpp:

(WebKit::WebPopupMenuImpl::handleInputEvent):

  • src/WebViewImpl.cpp:

(WebKit::WebViewImpl::handleInputEvent):

Location:
trunk/Source/WebKit/chromium
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r106057 r106063  
     12012-01-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
     2
     3        Add GestureTapDown and GestureDoubleTap gesture types to WebGestureEvent.
     4        https://bugs.webkit.org/show_bug.cgi?id=77140
     5
     6        Reviewed by Darin Fisher.
     7
     8        * public/WebInputEvent.h:
     9        ():
     10        * src/WebInputEventConversion.cpp:
     11        (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
     12        * src/WebPopupMenuImpl.cpp:
     13        (WebKit::WebPopupMenuImpl::handleInputEvent):
     14        * src/WebViewImpl.cpp:
     15        (WebKit::WebViewImpl::handleInputEvent):
     16
    1172012-01-25  Cris Neckar  <cdn@chromium.org>
    218
  • trunk/Source/WebKit/chromium/public/WebInputEvent.h

    r101122 r106063  
    108108        GestureFlingCancel,
    109109        GestureTap,
     110        GestureTapDown,
     111        GestureDoubleTap,
    110112
    111113        // WebTouchEvent
  • trunk/Source/WebKit/chromium/src/WebInputEventConversion.cpp

    r103643 r106063  
    150150        m_type = PlatformEvent::GestureTap;
    151151        break;
     152    case WebInputEvent::GestureTapDown:
     153        m_type = PlatformEvent::GestureTapDown;
     154        break;
     155    case WebInputEvent::GestureDoubleTap:
     156        m_type = PlatformEvent::GestureDoubleTap;
     157        break;
    152158    default:
    153159        ASSERT_NOT_REACHED();
  • trunk/Source/WebKit/chromium/src/WebPopupMenuImpl.cpp

    r102044 r106063  
    279279    case WebInputEvent::GestureFlingCancel:
    280280    case WebInputEvent::GestureTap:
     281    case WebInputEvent::GestureTapDown:
     282    case WebInputEvent::GestureDoubleTap:
    281283        return GestureEvent(*static_cast<const WebGestureEvent*>(&inputEvent));
    282284
  • trunk/Source/WebKit/chromium/src/WebViewImpl.cpp

    r105961 r106063  
    14141414    case WebInputEvent::GestureFlingCancel:
    14151415    case WebInputEvent::GestureTap:
     1416    case WebInputEvent::GestureTapDown:
     1417    case WebInputEvent::GestureDoubleTap:
    14161418        handled = gestureEvent(*static_cast<const WebGestureEvent*>(&inputEvent));
    14171419        break;
Note: See TracChangeset for help on using the changeset viewer.