Changeset 53191 in webkit


Ignore:
Timestamp:
Jan 13, 2010 9:03:33 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-01-13 Ben Murdoch <benm@google.com>

Reviewed by Simon Hausmann.

[Android] [Qt] The JSC ScriptController does not consider Touch Events user gestures.
https://bugs.webkit.org/show_bug.cgi?id=33597

  • bindings/js/ScriptController.cpp: (WebCore::ScriptController::processingUserGestureEvent): Add the touch event types (touchstart, touchmove and touchend) to the set of events that are considered user gestures.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r53189 r53191  
     12010-01-13  Ben Murdoch  <benm@google.com>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        [Android] [Qt] The JSC ScriptController does not consider Touch Events user gestures.
     6        https://bugs.webkit.org/show_bug.cgi?id=33597
     7
     8        * bindings/js/ScriptController.cpp:
     9        (WebCore::ScriptController::processingUserGestureEvent): Add the touch event types (touchstart, touchmove and touchend) to the set of events that are considered user gestures.
     10
    1112010-01-13  Simon Hausmann  <simon.hausmann@nokia.com>
    212
  • trunk/WebCore/bindings/js/ScriptController.cpp

    r53046 r53191  
    248248            || type == eventNames().keydownEvent || type == eventNames().keypressEvent
    249249            || type == eventNames().keyupEvent
     250#if ENABLE(TOUCH_EVENTS)
     251            // touch events
     252            || type == eventNames().touchstartEvent || type == eventNames().touchmoveEvent
     253            || type == eventNames().touchendEvent
     254#endif
    250255            // other accepted events
    251256            || type == eventNames().selectEvent || type == eventNames().changeEvent
Note: See TracChangeset for help on using the changeset viewer.