Chromium Embedded Framework (CEF)
131.2.1+ge081753+chromium-131.0.6778.13
|
Implements the renderer side of query routing. More...
#include "include/wrapper/cef_message_router.h"
Static Public Member Functions | |
static CefRefPtr< CefMessageRouterRendererSide > | Create (const CefMessageRouterConfig &config) |
Create a new router with the specified configuration. More... | |
Protected Member Functions | |
virtual | ~CefMessageRouterRendererSide ()=default |
Protected Member Functions inherited from base::RefCountedThreadSafe< CefMessageRouterRendererSide > | |
~RefCountedThreadSafe ()=default | |
Friends | |
class | base::RefCountedThreadSafe< CefMessageRouterRendererSide > |
Additional Inherited Members | |
Static Public Attributes inherited from base::RefCountedThreadSafe< CefMessageRouterRendererSide > | |
static constexpr cef_subtle::StartRefCountFromZeroTag | kRefCountPreference |
Implements the renderer side of query routing.
The methods of this class must be called on the render process main thread.
|
protectedvirtualdefault |
|
static |
Create a new router with the specified configuration.
|
pure virtual |
Returns the number of queries currently pending for the specified |browser| and/or |context|.
Either or both values may be empty.
|
pure virtual |
Call from CefRenderProcessHandler::OnContextCreated.
Registers the JavaScripts functions with the new context.
|
pure virtual |
Call from CefRenderProcessHandler::OnContextReleased.
Any pending queries associated with the released context will be canceled and Handler::OnQueryCanceled will be called in the browser process.
|
pure virtual |
Call from CefRenderProcessHandler::OnProcessMessageReceived.
Returns true if the message is handled by this router or false otherwise.
|
friend |