Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefMessageRouterBrowserSide::Callback

CefBaseRefCounted
   |
   +--CefMessageRouterBrowserSide::Callback

   in cef_message_router.h

class CefMessageRouterBrowserSide::Callback
extends 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.


Method Summary
 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|.
 virtual void Success( const CefString& response )= 0
          Notify the associated JavaScript onSuccess callback that the query has completed successfully with the specified |response|.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Method Detail

Failure

public 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|.

Success

public virtual void Success( const CefString& response )= 0;
Notify the associated JavaScript onSuccess callback that the query has completed successfully with the specified |response|.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt