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
   42
   43
   44
   45
   46

headless / protocol_config.json [blame]

{
    "use_snake_file_names": true,
    "use_title_case_methods": true,

    "protocol": {
        "package": "headless/lib/browser/protocol",
        "output": "lib/browser/protocol",
        "namespace": ["headless", "protocol"],
        "export_macro": "HEADLESS_EXPORT",
        "export_header": "headless/public/headless_export.h",
        "options": [
            {
                "domain": "Target",
                "include": ["createTarget", "closeTarget"],
                "include_events": []
            },
            {
                "domain": "Browser",
                "include": ["close", "getWindowForTarget", "getWindowBounds", "setWindowBounds", "setDockTile" ],
                "include_events": []
            },
            {
                "domain": "HeadlessExperimental",
                "async": ["beginFrame"]
            },
            {
                "domain": "Page",
                "include": ["printToPDF"],
                "async": ["printToPDF"],
                "include_events": []
            }
        ]
    },

    "lib": {
        "package": "headless/lib/browser/protocol",
        "output": "lib/browser/protocol",
        "protocol_traits": "third_party/inspector_protocol/crdtp/chromium/protocol_traits.h",
        "export_macro": "HEADLESS_EXPORT",
        "export_header": "headless/public/headless_export.h"
    },

    "crdtp": {
        "namespace": "crdtp"
    }
}