28f0d7b8c8bed230f5b95f6a9130d7fc6ca77e49
[WebKit-https.git] / Source / WebCore / replay / WebInputs.json
1 {
2     "types": {
3         "Global": [
4             { "name": "bool", "mode": "SCALAR" },
5             { "name": "double", "mode": "SCALAR" },
6             { "name": "int", "mode": "SCALAR" },
7             { "name": "unsigned", "mode": "SCALAR" },
8             { "name": "unsigned long", "mode": "SCALAR" },
9             { "name": "unsigned long long", "mode": "SCALAR" }
10         ],
11
12         "WTF": [
13             {
14                 "name": "String", "mode": "HEAVY_SCALAR",
15                 "header": "wtf/text/WTFString.h"
16             }
17         ],
18
19         "JavaScriptCore": [
20             {
21                 "name": "InputQueue", "mode": "SCALAR", "storage": "uint8_t",
22                 "flags": ["ENUM_CLASS"],
23                 "values": ["EventLoopInput", "LoaderMemoizedData", "ScriptMemoizedData", "Count"],
24                 "header": "replay/NondeterministicInput.h"
25             }
26         ],
27
28         "WebCore": [
29             {
30                 "name": "URL", "mode": "HEAVY_SCALAR",
31                 "header": "platform/URL.h"
32             },
33             {
34                 "name": "EncodedCType", "mode": "SCALAR", "storage": "uint8_t",
35                 "flags": ["ENUM_CLASS"],
36                 "values": [
37                     "Boolean",
38                     "Int",
39                     "String",
40                     "Unsigned"
41                 ],
42                 "header": "replay/MemoizedDOMResult.h"
43             },
44             {
45                 "name": "SecurityOrigin", "mode": "SHARED",
46                 "header": "page/SecurityOrigin.h"
47             },
48             {
49                 "name": "Page", "mode": "OWNED",
50                 "header": "page/Page.h"
51             }
52         ]
53     },
54
55     "inputs": [
56         {
57             "name": "BeginSegmentSentinel",
58             "description": "A sentinel input to signal the start of a segment.",
59             "queue": "EVENT_LOOP",
60             "members": [ ]
61         },
62         {
63             "name": "EndSegmentSentinel",
64             "description": "A sentinel input to signal the end of a segment.",
65             "queue": "EVENT_LOOP",
66             "members": [ ]
67         },
68         {
69             "name": "InitialNavigation",
70             "description": "Initiate the initial main frame navigation.",
71             "queue": "EVENT_LOOP",
72             "flags": ["HIDDEN", "CREATE_FROM_PAGE"],
73             "members": [
74                 { "name": "securityOrigin", "type": "SecurityOrigin" },
75                 { "name": "url", "type": "URL" },
76                 { "name": "referrer", "type": "String" }
77             ]
78         }
79     ]
80 }