Bug 1332511 - Adjust telemetry histograms for time to first input probes. r=jwatt, data=bsmedberg
This commit is contained in:
@@ -8053,7 +8053,8 @@ PresShell::HandleEventInternal(WidgetEvent* aEvent,
|
||||
// pointer lock.
|
||||
isHandlingUserInput = true;
|
||||
mPresContext->RecordInteractionTime(
|
||||
nsPresContext::InteractionType::eKeyInteraction);
|
||||
nsPresContext::InteractionType::eKeyInteraction,
|
||||
aEvent->mTimeStamp);
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -8061,7 +8062,8 @@ PresShell::HandleEventInternal(WidgetEvent* aEvent,
|
||||
case eMouseUp:
|
||||
isHandlingUserInput = true;
|
||||
mPresContext->RecordInteractionTime(
|
||||
nsPresContext::InteractionType::eClickInteraction);
|
||||
nsPresContext::InteractionType::eClickInteraction,
|
||||
aEvent->mTimeStamp);
|
||||
break;
|
||||
|
||||
case eDrop: {
|
||||
@@ -8107,7 +8109,8 @@ PresShell::HandleEventInternal(WidgetEvent* aEvent,
|
||||
EventStateManager::GetActiveEventStateManager() == manager);
|
||||
|
||||
mPresContext->RecordInteractionTime(
|
||||
nsPresContext::InteractionType::eMouseMoveInteraction);
|
||||
nsPresContext::InteractionType::eMouseMoveInteraction,
|
||||
aEvent->mTimeStamp);
|
||||
}
|
||||
|
||||
nsAutoPopupStatePusher popupStatePusher(
|
||||
|
||||
Reference in New Issue
Block a user