Changeset 58323 in webkit


Ignore:
Timestamp:
Apr 27, 2010 12:45:30 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-27 Ben Murdoch <benm@google.com>

Reviewed by Simon Hausmann.

The TouchStationary state of WebCore::PlatformTouchPoint is not handled inside the touch event handler.
https://bugs.webkit.org/show_bug.cgi?id=37609

No new tests required, only updating documentation.

  • page/EventHandler.cpp: (WebCore::EventHandler::handleTouchEvent): Improve the documentation for handling

the TouchStationary state as a result of discussions in bug 37609.

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r58320 r58323  
     12010-04-27  Ben Murdoch  <benm@google.com>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        The TouchStationary state of WebCore::PlatformTouchPoint is not handled inside the touch event handler.
     6        https://bugs.webkit.org/show_bug.cgi?id=37609
     7
     8        No new tests required, only updating documentation.
     9
     10        * page/EventHandler.cpp:
     11        (WebCore::EventHandler::handleTouchEvent): Improve the documentation for handling
     12            the TouchStationary state as a result of discussions in bug 37609.
     13
    1142010-04-27  Simon Fraser  <simon.fraser@apple.com>
    215
  • trunk/WebCore/page/EventHandler.cpp

    r57358 r58323  
    27492749
    27502750        // Now build up the correct list for changedTouches.
     2751        // Note that  any touches that are in the TouchStationary state (e.g. if
     2752        // the user had several points touched but did not move them all) should
     2753        // only be present in the touches list. They may also be added to the
     2754        // targetTouches list later, but should never be in the changedTouches
     2755        // list so we do not handle them explicitly here.
     2756        // See https://bugs.webkit.org/show_bug.cgi?id=37609 for further discussion
     2757        // about the TouchStationary state.
    27512758        if (point.state() == PlatformTouchPoint::TouchReleased)
    27522759            releasedTouches->append(touch);
Note: See TracChangeset for help on using the changeset viewer.