summaryrefslogtreecommitdiff
path: root/gfx/layers/apz/public/IAPZCTreeManager.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-09-08 16:50:40 +0000
committerMoonchild <moonchild@palemoon.org>2022-09-08 16:54:07 +0000
commita9c9be4d218349513b3f223aaf8df5b83d13efe8 (patch)
treee3e85d364607c24c5bbba2835e091d4b5b819d68 /gfx/layers/apz/public/IAPZCTreeManager.cpp
parent0682d4ac0e98d0c1afc58ddff0440c6288f199fa (diff)
downloaduxp-a9c9be4d218349513b3f223aaf8df5b83d13efe8.tar.gz
Issue #80 - Re-unify most of gfx
Diffstat (limited to 'gfx/layers/apz/public/IAPZCTreeManager.cpp')
-rw-r--r--gfx/layers/apz/public/IAPZCTreeManager.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/gfx/layers/apz/public/IAPZCTreeManager.cpp b/gfx/layers/apz/public/IAPZCTreeManager.cpp
index f60cb9c87f..9b4e746e5d 100644
--- a/gfx/layers/apz/public/IAPZCTreeManager.cpp
+++ b/gfx/layers/apz/public/IAPZCTreeManager.cpp
@@ -9,21 +9,11 @@
#include "InputData.h" // for InputData, etc
#include "mozilla/EventStateManager.h" // for WheelPrefs
#include "mozilla/layers/APZThreadUtils.h" // for AssertOnCompositorThread, etc
-#include "mozilla/MouseEvents.h" // for WidgetMouseEvent
#include "mozilla/TouchEvents.h" // for WidgetTouchEvent
namespace mozilla {
namespace layers {
-static bool
-WillHandleMouseEvent(const WidgetMouseEventBase& aEvent)
-{
- return aEvent.mMessage == eMouseMove ||
- aEvent.mMessage == eMouseDown ||
- aEvent.mMessage == eMouseUp ||
- aEvent.mMessage == eDragEnd;
-}
-
// Returns whether or not a wheel event action will be (or was) performed by
// APZ. If this returns true, the event must not perform a synchronous
// scroll.