Skip to main content

Crate tauri_runtime_cef

Crate tauri_runtime_cef 

Source

Re-exports§

pub use cef;

Structs§

Cef
Selects and configures the CEF runtime.
CefInitScript
CefRuntime
CefRuntimeHandle
CefWebviewAttributes
The CEF-specific webview attributes, set through WebviewWindowBuilderCefExt.
CefWebviewDispatcher
CefWindowDispatcher
ConsoleMessage
One message a renderer wrote to the JavaScript console.
DevToolsMessageIdExhausted
The process-local native DevTools request identifier space is exhausted.
EventProxy
FrameEvent
One browser-process notification about a native CEF frame.
FrameNavigationState
Read-only navigation state for one exact native CEF browser lifetime. The CEF UI thread advances it before input submission can be admitted on that same thread. No lock is held while calling CEF or awaiting a renderer response.
NativeDialogObservation
NativeDialogSnapshot
NativeDialogToken
Opaque lifetime of one native JavaScript dialog notification. Compare with the current UI-thread snapshot before submitting any dialog action.
NativeDocumentToken
Opaque process-local proof of an observed native browser/document lifetime. Compare it with WebviewSnapshot::document in the final UI-thread callback before an effect. A token alone does not authorize an account or profile.
NativeWindowToken
Opaque identity of one runtime-owned native window lifetime. Reparented webviews observe the destination token; same-label replacements never match.
NewWindowOpener
Information about the CEF webview that requested a new window.
Offscreen
Windowless browser configuration. The application owns painting, input/IME forwarding and composition; Tauri keeps its IPC, protocols and browser lifecycle. Offscreen webviews use Alloy style and cannot be reparented.
OffscreenView
Live layout of one offscreen webview, shared with its render handler.
Webview
A handle to the native CEF browser backing a Tauri webview.
WebviewSnapshot
Native state sampled on the CEF UI thread immediately before a with_webview callback. This does not assert renderer responsiveness or that the view is unobscured on screen.
WindowBuilderWrapper

Enums§

AutoplayPolicy
When a page may start playing media on its own.
CertificateErrorPolicy
What to do about a navigation to a server whose TLS certificate does not validate.
ChromeCommandGroup
A family of Chrome commands the runtime swallows in an application window.
ConsoleMessageLevel
The severity of a ConsoleMessage.
DebugEnvironment
Whether Chromium and CEF may read their diagnostic environment variables.
DevToolsPolicy
Whether this application may open a DevTools window at all.
DevToolsProtocol
A Chrome DevTools Protocol notification observed on a native browser.
DowngradePolicy
What to do with the profile on disk when a newer Chromium milestone than the one this binary embeds last used it: the application was rolled back to a release on an older CEF.
FrameEventKind
Native lifecycle phases reported for every frame.
NativeDialogKind
ProxyConfig
How Chromium resolves the proxy for every request.
RemoteDebugging
Whether Chromium’s DevTools protocol server is reachable, and how.
RuntimeStyle
SandboxPolicy
What to do with Chromium’s process sandbox.
SecretStorage
Which key Chromium uses to encrypt the little it stores encrypted.
WebRtcIpHandling
Which local network interfaces WebRTC may reveal to a page.

Constants§

CEF_API_VERSION_LAST

Traits§

AsCefWebviewAttributes
Runtime webview attributes that may expose the CefWebviewAttributes.
AsCefWebviewDispatcher
Webview dispatchers that may expose the underlying CefWebviewDispatcher.
AsCefWindowOpener
Window openers that may expose the CEF NewWindowOpener.
WebviewBuilderCefExt
CEF-specific APIs of tauri::webview::WebviewBuilder.
WebviewCefExt
CEF-specific APIs of tauri::Webview and tauri::WebviewWindow.
WebviewWindowBuilderCefExt
CEF-specific APIs of tauri::WebviewWindowBuilder.

Functions§

allocate_devtools_message_id
Allocates one native DevTools request ID for a caller of this crate.
run_cef_helper_process
webview_version

Type Aliases§

BrowserSettingsCallback
Last look at a webview’s cef::BrowserSettings before its browser is created.
ConsoleMessageHandler
Synchronous observer of renderer console output.
CursorHandler
A cursor notification on the CEF UI thread. Any custom cursor buffer is only valid during the callback.
FrameEventHandler
Synchronous observer for native frame lifecycle events.
NativeWindowEventHandler
Native events for application rendering and input forwarding, on the event-loop thread. Destroyed is delivered before the runtime releases the window, including on exit.

Attribute Macros§

cef_entry_point
Marks the application entry point so non-browser CEF processes (renderer, GPU, …) are handled. Mark a function as the CEF entry point. It creates a main function that only runs the provided function for the browser process, and runs the CEF helper process for other processes (renderer, GPU, plugin, etc.).