Bug 1127066 - Implement ChromeProcessController::HandleLongTapUp(). r=kats

This commit is contained in:
Botond Ballo
2015-02-09 18:20:15 -05:00
parent e650b61f1f
commit 69b36efd66
5 changed files with 32 additions and 2 deletions

View File

@@ -160,6 +160,21 @@ ChromeProcessController::HandleLongTap(const mozilla::CSSPoint& aPoint, int32_t
aInputBlockId, GetPresShellResolution());
}
void
ChromeProcessController::HandleLongTapUp(const CSSPoint& aPoint, int32_t aModifiers,
const ScrollableLayerGuid& aGuid)
{
if (MessageLoop::current() != mUILoop) {
mUILoop->PostTask(
FROM_HERE,
NewRunnableMethod(this, &ChromeProcessController::HandleLongTapUp,
aPoint, aModifiers, aGuid));
return;
}
mAPZEventState->ProcessLongTapUp(aPoint, aGuid, GetPresShellResolution());
}
void
ChromeProcessController::NotifyAPZStateChange(const ScrollableLayerGuid& aGuid,
APZStateChange aChange,