[Webkit-unassigned] [Bug 49345] [Chromium] Add a basic GestureManager to Chromium

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 18 08:07:18 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=49345





--- Comment #23 from Robert Kroeger <rjkroege at chromium.org>  2011-01-18 08:07:17 PST ---
(In reply to comment #22)
> (From update of attachment 76833 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=76833&action=review
> 
> > WebCore/page/GestureManager.cpp:179
> > +static bool click(GestureManager* gm, const PlatformTouchPoint& p) 
> > +{
> 
> Could you tell me from where and when this method would be called, for example?

These gesture functions are called by processTouchEventForGesture. The gesture functions correspond to specific edges in a FSM stored in the m_edgeFunctions HashMap.  The FSM is built in GestureManager::init. Having the FSM be dynamic permit modifying it dynamically. In particular, I intend to add functionality in a future patch that will permit the embedder to modify the FSM at runtime. For example, I want it to be possible for the embedder to configure the FSM differently depending on the input devices on the user's computer.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list