mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 02:17:34 +09:00
Issue #80 - Re-unify most of gfx
This commit is contained in:
parent
42b9149fbc
commit
f801bd1847
9 changed files with 65 additions and 57 deletions
|
|
@ -11,6 +11,7 @@
|
|||
#include "FrameMetrics.h" // for FrameMetrics, etc
|
||||
#include "mozilla/EventForwards.h" // for WidgetInputEvent, nsEventStatus
|
||||
#include "mozilla/layers/APZUtils.h" // for HitTestResult
|
||||
#include "mozilla/MouseEvents.h" // for WidgetMouseEvent
|
||||
#include "nsTArrayForwardDeclare.h" // for nsTArray, nsTArray_Impl, etc
|
||||
#include "nsISupportsImpl.h" // for MOZ_COUNT_CTOR, etc
|
||||
#include "Units.h" // for CSSPoint, CSSRect, etc
|
||||
|
|
@ -38,6 +39,15 @@ enum ZoomToRectBehavior : uint32_t {
|
|||
|
||||
class AsyncDragMetrics;
|
||||
|
||||
static bool
|
||||
WillHandleMouseEvent(const WidgetMouseEventBase& aEvent)
|
||||
{
|
||||
return aEvent.mMessage == eMouseMove ||
|
||||
aEvent.mMessage == eMouseDown ||
|
||||
aEvent.mMessage == eMouseUp ||
|
||||
aEvent.mMessage == eDragEnd;
|
||||
}
|
||||
|
||||
class IAPZCTreeManager {
|
||||
NS_INLINE_DECL_THREADSAFE_VIRTUAL_REFCOUNTING(IAPZCTreeManager)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue