Chromium Embedded Framework (CEF)
114.2.1+gd70a0a8+chromium-114.0.5735.45
|
Callback associated with a single pending asynchronous query. More...
#include "include/wrapper/cef_message_router.h"
Public Member Functions | |
virtual void | Success (const CefString &response)=0 |
Notify the associated JavaScript onSuccess callback that the query has completed successfully with the specified |response|. More... | |
virtual void | Failure (int error_code, const CefString &error_message)=0 |
Notify the associated JavaScript onFailure callback that the query has failed with the specified |error_code| and |error_message|. More... | |
Public Member Functions inherited from CefBaseRefCounted | |
virtual void | AddRef () const =0 |
Called to increment the reference count for the object. More... | |
virtual bool | Release () const =0 |
Called to decrement the reference count for the object. More... | |
virtual bool | HasOneRef () const =0 |
Returns true if the reference count is 1. More... | |
virtual bool | HasAtLeastOneRef () const =0 |
Returns true if the reference count is at least 1. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CefBaseRefCounted | |
virtual | ~CefBaseRefCounted () |
Callback associated with a single pending asynchronous query.
Execute the Success or Failure method to send an asynchronous response to the associated JavaScript handler. It is a runtime error to destroy a Callback object associated with an uncanceled query without first executing one of the callback methods. The methods of this class may be called on any browser process thread.
|
pure virtual |
Notify the associated JavaScript onFailure callback that the query has failed with the specified |error_code| and |error_message|.
|
pure virtual |
Notify the associated JavaScript onSuccess callback that the query has completed successfully with the specified |response|.