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

(default)
Class CefContentFilter

CefBase
   |
   +--CefContentFilter

   in cef_content_filter.h

class CefContentFilter
extends CefBase

Interface to implement for filtering response content. The methods of this class will always be called on the UI thread.


Method Summary
 virtual void Drain( CefRefPtr< CefStreamReader >& remainder )
          Called when there is no more data to be processed.
 virtual void ProcessData( const void* data, int data_size, CefRefPtr< CefStreamReader >& substitute_data )
          Set |substitute_data| to the replacement for the data in |data| if data should be modified.
   
Methods inherited from class CefBase
AddRef, Release, GetRefCt
 

Method Detail

Drain

public virtual void Drain( CefRefPtr< CefStreamReader >& remainder );
Called when there is no more data to be processed. It is expected that whatever data was retained in the last ProcessData() call, it should be returned now by setting |remainder| if appropriate.

ProcessData

public virtual void ProcessData( const void* data, int data_size, CefRefPtr< CefStreamReader >& substitute_data );
Set |substitute_data| to the replacement for the data in |data| if data should be modified.

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

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