(default)
Class CefV8Accessor
CefBase
|
+--CefV8Accessor
in cef_v8.h
- class CefV8Accessor
- extends CefBase
Interface that should be implemented to handle V8 accessor calls. Accessor
identifiers are registered by calling CefV8Value::SetValue(). The methods
of this class will always be called on the UI thread.
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.
Chromium Embedded Framework (CEF) Copyright © 2011 Marshall A. Greenblatt