aboutsummaryrefslogtreecommitdiff
path: root/src/javascript/jsc/bindings/webcore/EventDispatcher.h
blob: 63ee34bfbe9d8cec0e7102d61dec4ea988cd74c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
 * Copyright (C) 2011-2013 Google Inc. All rights reserved.
 * Copyright (C) 2013-2017 Apple Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 */

#pragma once

#include <wtf/Forward.h>
#include "Node.h"

namespace WebCore {

class Element;
class Event;
class EventTarget;

namespace EventDispatcher {

void dispatchEvent(Node&, Event&);
void dispatchEvent(const Vector<EventTarget*>&, Event&);

// void dispatchScopedEvent(Node&, Event&);

}

} // namespace WebCore
a52180f7f5236744034dd5e1a3c0?s=13&d=retro' width='13' height='13' alt='Gravatar' /> Jarred Sumner 6-7/+42 2022-01-05minimal integration tests for macrosGravatar Jarred Sumner 4-0/+47 2022-01-05Update resolver.zigGravatar Jarred Sumner 1-3/+0 2022-01-05Update options.zigGravatar Jarred Sumner 1-2/+25 2022-01-05Update http.zigGravatar Jarred Sumner 1-1/+1 2022-01-05Add module condition to the node platform (#104)Gravatar Mateusz Burzyński 1-1/+4 2022-01-05Drop redundant comments (#103)Gravatar Mateusz Burzyński 1-23/+0 2022-01-05Tweak default main fields for the bun platform to match other popular bundler...Gravatar Mateusz Burzyński 1-10/+7 2022-01-04:skull: dead codeGravatar Jarred Sumner 1-13/+0 2022-01-04[bun dev] Print error in status line textGravatar Jarred Sumner 1-3/+13 2022-01-04noramlize some errorsGravatar Jarred Sumner 3-3/+4 2022-01-04[Bun.js][bun dev] Support macros inside of Bun.jsGravatar Jarred Sumner 5-51/+103 2022-01-04[bun bun] Fix error when regenerating node_modules.bun after moving itGravatar Jarred Sumner 1-1/+17 2022-01-04Improve how we detect if terminal colors are supportedGravatar Jarred Sumner 3-11/+66 2022-01-04Improve error handling when out of file handlesGravatar Jarred Sumner 5-58/+248 2022-01-04Update build-idGravatar Jarred Sumner 1-1/+1 2022-01-04Downgrade mimalloc due to crashesGravatar Jarred Sumner 1-0/+0 2022-01-04Upload compressed `.dSYM` for every releaseGravatar Jarred Sumner 2-4/+34 2022-01-04Update .gitignoreGravatar Jarred Sumner 1-0/+3 2022-01-04[bun install] Fix more cases where bytes are printed instead of stringsGravatar Jarred Sumner 1-10/+38 2022-01-04minor perf optimization: remove this loop on macOSGravatar Jarred Sumner 2-4/+8 2022-01-03Update crash_reporter_linux.zigbun-v0.0.66Gravatar Jarred Sumner 1-1/+1 2022-01-03:confused:Gravatar Jarred Sumner 5-0/+1 2022-01-03:nail_care:Gravatar Jarred Sumner 3-1652/+1826 2022-01-03Update crash_reporter_linux.zigGravatar Jarred Sumner 1-1/+1 2022-01-03Update PLCrashReport.mGravatar Jarred Sumner 1-1/+1 2022-01-03Update PLCrashReport.mGravatar Jarred Sumner 1-2/+1 2022-01-03:lock:Gravatar Jarred Sumner 4-1/+1 2022-01-03dead codeGravatar Jarred Sumner 13-1881/+1660