Bug 833795 - Use screen relative co-ordinates for gestures; r=drs
This commit is contained in:
@@ -781,11 +781,18 @@ RenderFrameParent::OwnerContentChanged(nsIContent* aContent)
|
||||
}
|
||||
|
||||
void
|
||||
RenderFrameParent::NotifyInputEvent(const nsInputEvent& aEvent,
|
||||
nsInputEvent* aOutEvent)
|
||||
RenderFrameParent::NotifyInputEvent(const nsInputEvent& aEvent)
|
||||
{
|
||||
if (mPanZoomController) {
|
||||
mPanZoomController->ReceiveInputEvent(aEvent, aOutEvent);
|
||||
mPanZoomController->ReceiveMainThreadInputEvent(aEvent);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
RenderFrameParent::ApplyZoomCompensationToEvent(nsInputEvent* aEvent)
|
||||
{
|
||||
if (mPanZoomController) {
|
||||
mPanZoomController->ApplyZoomCompensationToEvent(aEvent);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user