mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
Issue #12 Part 2: Stop using nsIDOMEvent in IsAcceptableInputEvent.
This commit is contained in:
parent
32326ee192
commit
550c8977c1
9 changed files with 87 additions and 54 deletions
|
|
@ -407,10 +407,16 @@ public:
|
|||
nsString mSpecifiedEventTypeString;
|
||||
|
||||
// Event targets, needed by DOM Events
|
||||
// Note that when you need event target for DOM event, you should use
|
||||
// Get*DOMEventTarget() instead of accessing these members directly.
|
||||
nsCOMPtr<dom::EventTarget> mTarget;
|
||||
nsCOMPtr<dom::EventTarget> mCurrentTarget;
|
||||
nsCOMPtr<dom::EventTarget> mOriginalTarget;
|
||||
|
||||
dom::EventTarget* GetDOMEventTarget() const;
|
||||
dom::EventTarget* GetCurrentDOMEventTarget() const;
|
||||
dom::EventTarget* GetOriginalDOMEventTarget() const;
|
||||
|
||||
void AssignEventData(const WidgetEvent& aEvent, bool aCopyTargets)
|
||||
{
|
||||
// mClass should be initialized with the constructor.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue