# salvadordf/cef4delphi architecture

> Architecture diagram of the GitHub repository salvadordf/cef4delphi, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/salvadordf/cef4delphi
- Repository: https://github.com/salvadordf/cef4delphi

## Overview

CEF4Delphi is a Delphi and Lazarus/FPC library for embedding Chromium-based browsers in applications. The documented user workflow is an application using the library’s components to embed a browser backed by CEF/Chromium. The README names VCL, FireMonkey, and Lazarus components and supported operating systems, but the supplied source index contains no library implementation excerpts; component internals and detailed runtime calls therefore cannot be verified here.

Main entry points: [`source`](https://github.com/salvadordf/cef4delphi/tree/master/source) (CEF4Delphi components)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_integration["Application integration"]
  node_cef_components["CEF4Delphi components"]
  node_vcl_fmx_lazarus["VCL, FMX, Lazarus"]
  node_target_platforms["Windows, Linux, macOS"]
end

subgraph group_engine["Browser engine"]
  node_cef["CEF"]
  node_chromium["Chromium"]
end

node_host_app(("Delphi or Lazarus app"))

node_host_app -->|"uses components"| node_cef_components
node_cef_components -->|"embeds browser"| node_cef
node_cef -->|"based on"| node_chromium
node_cef_components -->|"includes"| node_vcl_fmx_lazarus
node_cef_components -->|"supports"| node_target_platforms

click node_cef_components "https://github.com/salvadordf/cef4delphi/tree/master/source"
click node_vcl_fmx_lazarus "https://github.com/salvadordf/cef4delphi/tree/master/source"
click node_target_platforms "https://github.com/salvadordf/cef4delphi/tree/master/source"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_cef_components,node_vcl_fmx_lazarus,node_target_platforms toneBlue
class node_cef,node_chromium toneAmber
class node_host_app toneIndigo
```

## Components

### Application integration

- [CEF4Delphi components](https://github.com/salvadordf/cef4delphi/tree/master/source): `source`
- [VCL, FMX, Lazarus](https://github.com/salvadordf/cef4delphi/tree/master/source): `source`
- [Windows, Linux, macOS](https://github.com/salvadordf/cef4delphi/tree/master/source): `source`

### Browser engine

- **CEF**
- **Chromium**

### Other components

- **Delphi or Lazarus app**

## Connections

- Delphi or Lazarus app → CEF4Delphi components: uses components (evidence: `README.md`)
- CEF4Delphi components → CEF: embeds browser (evidence: `README.md`)
- CEF → Chromium: based on (evidence: `README.md`)
- CEF4Delphi components → VCL, FMX, Lazarus: includes (evidence: `README.md`)
- CEF4Delphi components → Windows, Linux, macOS: supports (evidence: `README.md`)
