blob: c1e222b61fa9c05259f73c9c57989d4acb4ae9c9 (
plain)
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
|
/*
* Copyright (c) 2021, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/FlyString.h>
namespace Web::XHR::EventNames {
#define ENUMERATE_XHR_EVENTS \
__ENUMERATE_XHR_EVENT(readystatechange) \
__ENUMERATE_XHR_EVENT(loadstart) \
__ENUMERATE_XHR_EVENT(progress) \
__ENUMERATE_XHR_EVENT(abort) \
__ENUMERATE_XHR_EVENT(error) \
__ENUMERATE_XHR_EVENT(load) \
__ENUMERATE_XHR_EVENT(timeout) \
__ENUMERATE_XHR_EVENT(loadend)
#define __ENUMERATE_XHR_EVENT(name) extern FlyString name;
ENUMERATE_XHR_EVENTS
#undef __ENUMERATE_XHR_EVENT
}
|