void UserGestureToken::transferGestureTo(UserGestureToken* other) { if (!hasGestures()) return; m_consumableGestures--; other->m_consumableGestures++; other->m_timestamp = WTF::currentTime(); }
void UserGestureToken::setTimeoutPolicy(TimeoutPolicy policy) { if (!hasTimedOut() && hasGestures() && policy > m_timeoutPolicy) m_timeoutPolicy = policy; }
void UserGestureToken::transferGestureTo(UserGestureToken* other) { if (!hasGestures()) return; m_consumableGestures--; other->m_consumableGestures++; }