mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
parent
ca09afd0b0
commit
2ee3ce62fc
24 changed files with 194 additions and 131 deletions
|
|
@ -11,6 +11,7 @@
|
|||
#include "mozilla/dom/ShadowRoot.h"
|
||||
#include "mozilla/ContentEvents.h"
|
||||
#include "mozilla/DOMEventTargetHelper.h"
|
||||
#include "mozilla/EventDispatcher.h"
|
||||
#include "mozilla/EventStateManager.h"
|
||||
#include "mozilla/InternalMutationEvent.h"
|
||||
#include "mozilla/dom/Performance.h"
|
||||
|
|
@ -298,6 +299,12 @@ Event::GetCurrentTarget() const
|
|||
return mEvent->GetCurrentDOMEventTarget();
|
||||
}
|
||||
|
||||
void
|
||||
Event::ComposedPath(nsTArray<RefPtr<EventTarget>>& aPath)
|
||||
{
|
||||
EventDispatcher::GetComposedPathFor(mEvent, aPath);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
Event::GetCurrentTarget(nsIDOMEventTarget** aCurrentTarget)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue