Lines Matching refs:Phase
52 - (NSEventPhase)phase;
755 static WebMouseWheelEvent::Phase phaseForNSEventPhase(NSEventPhase eventPhase)
757 uint32_t phase = WebMouseWheelEvent::PhaseNone;
759 phase |= WebMouseWheelEvent::PhaseBegan;
761 phase |= WebMouseWheelEvent::PhaseStationary;
763 phase |= WebMouseWheelEvent::PhaseChanged;
765 phase |= WebMouseWheelEvent::PhaseEnded;
767 phase |= WebMouseWheelEvent::PhaseCancelled;
769 phase |= WebMouseWheelEvent::PhaseMayBegin;
770 return static_cast<WebMouseWheelEvent::Phase>(phase);
773 static WebMouseWheelEvent::Phase phaseForEvent(NSEvent *event)
775 if (![event respondsToSelector:@selector(phase)])
778 NSEventPhase eventPhase = [event phase];
782 static WebMouseWheelEvent::Phase momentumPhaseForEvent(NSEvent *event)
932 result.phase = phaseForEvent(event);