Changeset 99837 in webkit


Ignore:
Timestamp:
Nov 10, 2011, 4:23:01 AM (14 years ago)
Author:
Simon Hausmann
Message:

Unreviewed Mac build fix: Remove TapAndHold gesture type.

It broke the build because it's unhandled. Remove it since it's not
supported at the moment anyway. (looks like an accidental addition?)

  • Shared/WebEvent.h:
  • UIProcess/qt/QtTapGestureRecognizer.cpp:

(WebKit::QtTapGestureRecognizer::tapAndHoldTimeout):

Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r99834 r99837  
     12011-11-10  Simon Hausmann  <simon.hausmann@nokia.com>
     2
     3        Unreviewed Mac build fix: Remove TapAndHold gesture type.
     4
     5        It broke the build because it's unhandled. Remove it since it's not
     6        supported at the moment anyway. (looks like an accidental addition?)
     7
     8        * Shared/WebEvent.h:
     9        * UIProcess/qt/QtTapGestureRecognizer.cpp:
     10        (WebKit::QtTapGestureRecognizer::tapAndHoldTimeout):
     11
    1122011-11-09  Simon Hausmann  <simon.hausmann@nokia.com>
    213
  • trunk/Source/WebKit2/Shared/WebEvent.h

    r99831 r99837  
    6565        GestureScrollEnd,
    6666        GestureSingleTap,
    67         GestureTapAndHold,
    6867#endif
    6968
  • trunk/Source/WebKit2/UIProcess/qt/QtTapGestureRecognizer.cpp

    r99831 r99837  
    136136    ASSERT(m_touchBeginEventForTap);
    137137    m_tapAndHoldTimer.stop();
     138#if 0 // No support for synthetic context menus in WK2 yet.
    138139    QTouchEvent::TouchPoint tapPoint = m_touchBeginEventForTap->touchPoints().at(0);
    139140    WebGestureEvent gesture(WebEvent::GestureTapAndHold, tapPoint.pos().toPoint(), tapPoint.screenPos().toPoint(), WebEvent::Modifiers(0), 0);
    140141    if (m_webPageProxy)
    141142        m_webPageProxy->handleGestureEvent(gesture);
     143#endif
    142144    m_touchBeginEventForTap.clear();
    143145    m_tapState = TapAndHold;
Note: See TracChangeset for help on using the changeset viewer.