Chromium Embedded Framework (CEF)
114.2.1+gd70a0a8+chromium-114.0.5735.45
|
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 () |
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.
|
inlineprotectedvirtual |
|
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 |