WebInputs.json   [plain text]


{
    "types": {
        "WebCore": [
            {
                "name": "EncodedCType", "mode": "SCALAR", "storage": "uint8_t",
                "flags": ["ENUM_CLASS"],
                "values": [
                    "Boolean",
                    "Int",
                    "String",
                    "Unsigned"
                ],
                "header": "replay/MemoizedDOMResult.h"
            },
            {
                "name": "Modifiers", "mode": "SCALAR", "storage": "uint8_t",
                "enclosing_class": "PlatformEvent",
                "flags": ["ENUM"],
                "values": ["AltKey", "CtrlKey", "MetaKey", "ShiftKey"],
                "header": "platform/PlatformEvent.h"
            },
            {
                "name": "MouseButton", "mode": "SCALAR", "storage": "int8_t",
                "flags": ["ENUM"],
                "values": ["NoButton", "LeftButton", "MiddleButton", "RightButton"],
                "header": "platform/PlatformMouseEvent.h"
            },
            {
                "name": "Page", "mode": "OWNED",
                "header": "page/Page.h"
            },
            {
                "name": "PlatformKeyboardEvent", "mode": "OWNED",
                "header": "platform/PlatformKeyboardEvent.h"
            },
            {
                "name": "PlatformMouseEvent", "mode": "OWNED",
                "header": "platform/PlatformMouseEvent.h"
            },
            {
                "name": "PlatformWheelEvent", "mode": "OWNED",
                "header": "platform/PlatformWheelEvent.h"
            },
            {
                "name": "PlatformWheelEventGranularity", "mode": "SCALAR", "storage": "uint8_t",
                "flags": ["ENUM"],
                "values": ["ScrollByPageWheelEvent", "ScrollByPixelWheelEvent"],
                "header": "platform/PlatformWheelEvent.h"
            },
            {
                "name": "PlatformWheelEventPhase", "mode": "SCALAR", "storage": "uint8_t",
                "flags": ["ENUM"],
                "guard": "PLATFORM(COCOA)",
                "values": [
                    "PlatformWheelEventPhaseNone",
                    "PlatformWheelEventPhaseBegan",
                    "PlatformWheelEventPhaseStationary",
                    "PlatformWheelEventPhaseChanged",
                    "PlatformWheelEventPhaseEnded",
                    "PlatformWheelEventPhaseCancelled",
                    "PlatformWheelEventPhaseMayBegin"
                ],
                "header": "platform/PlatformWheelEvent.h"
            },
            {
                "name": "PluginData", "mode": "SHARED",
                "header": "plugins/PluginData.h"
            },
            {
                "name": "PluginLoadClientPolicy", "mode": "SCALAR", "storage": "uint8_t",
                "flags": ["ENUM"],
                "values": ["PluginLoadClientPolicyUndefined", "PluginLoadClientPolicyBlock", "PluginLoadClientPolicyAsk", "PluginLoadClientPolicyAllow", "PluginLoadClientPolicyAllowAlways"],
                "header": "plugins/PluginData.h"
            },

            {
                "name": "ScrollDirection", "mode": "SCALAR", "storage": "uint8_t",
                "flags": ["ENUM"],
                "values": ["ScrollUp", "ScrollDown", "ScrollLeft", "ScrollRight"],
                "header": "platform/ScrollTypes.h"
            },
            {
                "name": "ScrollGranularity", "mode": "SCALAR", "storage": "uint8_t",
                "flags": ["ENUM"],
                "values": [
                    "ScrollByLine",
                    "ScrollByPage",
                    "ScrollByDocument",
                    "ScrollByPixel",
                    "ScrollByPrecisePixel"
                ],
                "header": "platform/ScrollTypes.h"
            },
            {
                "name": "ScrollLogicalDirection", "mode": "SCALAR", "storage": "uint8_t",
                "flags": ["ENUM"],
                "values": [
                    "ScrollBlockDirectionBackward",
                    "ScrollBlockDirectionForward",
                    "ScrollInlineDirectionBackward",
                    "ScrollInlineDirectionForward"
                ],
                "header": "platform/ScrollTypes.h"
            },
            {
                "name": "SecurityOrigin", "mode": "SHARED",
                "header": "page/SecurityOrigin.h"
            },
            {
                "name": "Type", "mode": "SCALAR", "storage": "uint8_t",
                "enclosing_class": "PlatformEvent",
                "flags": ["ENUM"],
                "values": [
                    "NoType",
                    "KeyDown",
                    "KeyUp",
                    "RawKeyDown",
                    "Char",
                    "MouseMoved",
                    "MousePressed",
                    "MouseReleased",
                    "MouseScroll",
                    "Wheel"
                ],
                "guarded_values": {
                    "ENABLE(TOUCH_EVENTS)": [
                        "TouchStart",
                        "TouchMove",
                        "TouchEnd",
                        "TouchCancel"
                    ]
                },
                "header": "platform/PlatformEvent.h"
            },
            {
                "name": "URL", "mode": "HEAVY_SCALAR",
                "header": "platform/URL.h"
            }
        ]
    },

    "inputs": {
        "WebCore": [
            {
                "name": "BeginSegmentSentinel",
                "description": "A sentinel input to signal the start of a segment.",
                "queue": "EVENT_LOOP",
                "members": [ ]
            },
            {
                "name": "DocumentLastModifiedDate",
                "description": "A fallback value used for the document's last modified date if the Last-Modified header can't be found or used.",
                "queue": "SCRIPT_MEMOIZED",
                "members": [
                    { "name": "fallbackValue", "type": "double" }
                ]
            },
            {
                "name": "EndSegmentSentinel",
                "description": "A sentinel input to signal the end of a segment.",
                "queue": "EVENT_LOOP",
                "members": [ ]
            },
            {
                "name": "HandleMouseMove",
                "description": "The embedder signalled a mouse move event.",
                "queue": "EVENT_LOOP",
                "members": [
                    { "name": "platformEvent", "type": "PlatformMouseEvent" },
                    { "name": "scrollbarTargeted", "type": "bool" }
                ]
            },
            {
                "name": "HandleMousePress",
                "description": "The embedder signalled a mouse press event.",
                "queue": "EVENT_LOOP",
                "members": [
                    { "name": "platformEvent", "type": "PlatformMouseEvent" }
                ]
            },
            {
                "name": "HandleMouseRelease",
                "description": "The embedder signalled a mouse release event.",
                "queue": "EVENT_LOOP",
                "members": [
                    { "name": "platformEvent", "type": "PlatformMouseEvent" }
                ]
            },
            {
                "name": "HandleKeyPress",
                "description": "The embedder signalled a key press event.",
                "queue": "EVENT_LOOP",
                "members": [
                    { "name": "platformEvent", "type": "PlatformKeyboardEvent" }
                ]
            },
            {
                "name": "HandleWheelEvent",
                "description": "The embedder signalled a mouse wheel event.",
                "queue": "EVENT_LOOP",
                "members": [
                    { "name": "platformEvent", "type": "PlatformWheelEvent" }
                ]
            },
            {
                "name": "InitialNavigation",
                "description": "Initiate the initial main frame navigation.",
                "queue": "EVENT_LOOP",
                "flags": ["HIDDEN", "CREATE_FROM_PAGE"],
                "members": [
                    { "name": "securityOrigin", "type": "SecurityOrigin" },
                    { "name": "url", "type": "URL" },
                    { "name": "referrer", "type": "String" }
                ]
            },
            {
                "name": "FetchPluginData",
                "description": "Plugin data was requested through DOMPluginArray or DOMMimeTypeArray.",
                "queue": "SCRIPT_MEMOIZED",
                "members": [
                    { "name": "pluginData", "type": "PluginData" }
                ]
            },
            {
                "name": "LogicalScrollPage",
                "description": "The embedder signalled a logical scroll event.",
                "queue": "EVENT_LOOP",
                "members": [
                    { "name": "direction", "type": "ScrollLogicalDirection" },
                    { "name": "granularity", "type": "ScrollGranularity" }
                ]
            },
            {
                "name": "ScrollPage",
                "description": "The embedder signalled a scroll event.",
                "queue": "EVENT_LOOP",
                "members": [
                    { "name": "direction", "type": "ScrollDirection" },
                    { "name": "granularity", "type": "ScrollGranularity" }
                ]
            }
        ]
    }
}