API reference
App and runtime
Configures an application, starts the runtime and reaches it once it runs.
Structs
AppPublic application builder.
AppHandleShared lifecycle handle for a running Kurogane application.
AppInstanceThe running application, owned by the thread that started it.
BrowserBoundsA browser’s place inside its parent window, for
AppInstance::create_child_browserandBrowserHandle::set_bounds. It is a position and a size in that window’s own coordinates, which CEF applies unconverted. Pixels from the top-left of the client area on Windows and X11; on macOS, points in the parentNSView, whose origin is its top-left corner when the view is flipped (winit’s is) and its bottom-left corner otherwise.BrowserHandleA browser of the running application.
SecondInstanceA launch of the application while another instance is already running.
Enums
CefLocationWhere the application found its Chromium runtime, in the order it looks.
ConfigErrorOne problem in the
Appbuilder configuration, reported bybuild()/run()/start_embedded()asRuntimeError::InvalidConfiguration.CredentialStorageBackend used to protect cookies and saved passwords at rest.
GpuModeGPU backend selection strategy.
PumpRequestA request from CEF indicating when it next needs to be serviced.
RuntimeErrorFailure to start the application or to open a window or a browser.
SandboxModeChromium process sandbox policy.
Traits
ClientAppBrowserDelegateCustomizes browser-process startup behavior.
ClientAppRendererDelegateCustomizes render-process behavior.
SchemeHandlerGenerates a
ResourceHandlerfor requests on a custom scheme.
Functions
is_browser_processReturns whether this process is Chromium’s browser process rather than one of its helper processes (renderer, GPU, utility) which run this same binary again with a
--type=argument.resource_dirThe directory a packaged application’s bundled resources live in.
resource_handler_from_bytesBuilds a
ResourceHandlerservingdataonce with the given MIME type and status code.
Macros
sandbox_entryDeclares the entry points CEF’s sandbox bootstrap calls.