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 CefV8Accessor

CefBaseRefCounted
   |
   +--CefV8Accessor

   in cef_v8.h

class CefV8Accessor
extends CefBaseRefCounted

Interface that should be implemented to handle V8 accessor calls. Accessor identifiers are registered by calling CefV8Value::SetValue(). The methods of this class will be called on the thread associated with the V8 accessor.


Method Summary
 virtual bool Get( const CefString& name, const CefRefPtr< CefV8Value > object, CefRefPtr< CefV8Value >& retval, CefString& exception )= 0
          Handle retrieval the accessor value identified by |name|.
 virtual bool Set( const CefString& name, const CefRefPtr< CefV8Value > object, const CefRefPtr< CefV8Value > value, CefString& exception )= 0
          Handle assignment of the accessor value identified by |name|.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Method Detail

Get

public virtual bool Get( const CefString& name, const CefRefPtr< CefV8Value > object, CefRefPtr< CefV8Value >& retval, CefString& exception )= 0;
Handle retrieval the accessor value identified by |name|. |object| is the receiver ('this' object) of the accessor. If retrieval succeeds set |retval| to the return value. If retrieval fails set |exception| to the exception that will be thrown. Return true if accessor retrieval was handled.

Set

public virtual bool Set( const CefString& name, const CefRefPtr< CefV8Value > object, const CefRefPtr< CefV8Value > value, CefString& exception )= 0;
Handle assignment of the accessor value identified by |name|. |object| is the receiver ('this' object) of the accessor. |value| is the new value being assigned to the accessor. If assignment fails set |exception| to the exception that will be thrown. Return true if accessor assignment was handled.

 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