Overview   Project   Class   Tree   Index 
CEF C++ API Docs - Revision 439
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefWebURLRequestClient

CefBase
   |
   +--CefWebURLRequestClient

   in cef.h

class CefWebURLRequestClient
extends CefBase

Interface that should be implemented by the CefWebURLRequest client. The methods of this class will always be called on the UI thread.


Inner Classes, Typedefs, and Enums
typedef CefWebURLRequestClient::ErrorCode
          
typedef CefWebURLRequestClient::RequestState
          
 
Method Summary
 virtual void OnData( CefRefPtr< CefWebURLRequest > requester, const void* data, int dataLength )= 0
          Notifies the client that content has been received.
 virtual void OnError( CefRefPtr< CefWebURLRequest > requester, CefWebURLRequestClient::ErrorCode errorCode )= 0
          Notifies the client that the request ended with an error.
 virtual void OnHeadersReceived( CefRefPtr< CefWebURLRequest > requester, CefRefPtr< CefResponse > response )= 0
          Notifies the client of the response data.
 virtual void OnProgress( CefRefPtr< CefWebURLRequest > requester, uint64 bytesSent, uint64 totalBytesToBeSent )= 0
          Notifies the client of the upload progress.
 virtual void OnRedirect( CefRefPtr< CefWebURLRequest > requester, CefRefPtr< CefRequest > request, CefRefPtr< CefResponse > response )= 0
          Notifies the client that the request has been redirected and provides a chance to change the request parameters.
 virtual void OnStateChange( CefRefPtr< CefWebURLRequest > requester, CefWebURLRequestClient::RequestState state )= 0
          Notifies the client that the request state has changed.
   
Methods inherited from class CefBase
AddRef, Release, GetRefCt
 

Method Detail

OnData

public virtual void OnData( CefRefPtr< CefWebURLRequest > requester, const void* data, int dataLength )= 0;
Notifies the client that content has been received.

OnError

public virtual void OnError( CefRefPtr< CefWebURLRequest > requester, CefWebURLRequestClient::ErrorCode errorCode )= 0;
Notifies the client that the request ended with an error.

OnHeadersReceived

public virtual void OnHeadersReceived( CefRefPtr< CefWebURLRequest > requester, CefRefPtr< CefResponse > response )= 0;
Notifies the client of the response data.

OnProgress

public virtual void OnProgress( CefRefPtr< CefWebURLRequest > requester, uint64 bytesSent, uint64 totalBytesToBeSent )= 0;
Notifies the client of the upload progress.

OnRedirect

public virtual void OnRedirect( CefRefPtr< CefWebURLRequest > requester, CefRefPtr< CefRequest > request, CefRefPtr< CefResponse > response )= 0;
Notifies the client that the request has been redirected and provides a chance to change the request parameters.

OnStateChange

public virtual void OnStateChange( CefRefPtr< CefWebURLRequest > requester, CefWebURLRequestClient::RequestState state )= 0;
Notifies the client that the request state has changed. State change notifications will always be sent before the below notification methods are called.

 Overview   Project   Class   Tree   Index 
CEF C++ API Docs - Revision 439
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

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