|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
|
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
(default)
Class CefV8Interceptor
CefBaseRefCounted
|
+--CefV8Interceptor
in cef_v8.h
- class CefV8Interceptor
- extends CefBaseRefCounted
Interface that should be implemented to handle V8 interceptor calls. The
methods of this class will be called on the thread associated with the V8
interceptor. Interceptor's named property handlers (with first argument of
type CefString) are called when object is indexed by string. Indexed property
handlers (with first argument of type int) are called when object is indexed
by integer.
Method Summary |
virtual bool |
Get( int index, const CefRefPtr< CefV8Value > object, CefRefPtr< CefV8Value >& retval, CefString& exception )= 0
Handle retrieval of the interceptor value identified by |index|. |
virtual bool |
Get( const CefString& name, const CefRefPtr< CefV8Value > object, CefRefPtr< CefV8Value >& retval, CefString& exception )= 0
Handle retrieval of the interceptor value identified by |name|. |
virtual bool |
Set( int index, const CefRefPtr< CefV8Value > object, const CefRefPtr< CefV8Value > value, CefString& exception )= 0
Handle assignment of the interceptor value identified by |index|. |
virtual bool |
Set( const CefString& name, const CefRefPtr< CefV8Value > object, const CefRefPtr< CefV8Value > value, CefString& exception )= 0
Handle assignment of the interceptor value identified by |name|. |
Get
public virtual bool Get( int index, const CefRefPtr< CefV8Value > object, CefRefPtr< CefV8Value >& retval, CefString& exception )= 0;
- Handle retrieval of the interceptor value identified by |index|. |object|
is the receiver ('this' object) of the interceptor. If retrieval succeeds,
set |retval| to the return value. If the requested value does not exist,
don't set either |retval| or |exception|. If retrieval fails, set
|exception| to the exception that will be thrown.
Return true if interceptor retrieval was handled, false otherwise.
Get
public virtual bool Get( const CefString& name, const CefRefPtr< CefV8Value > object, CefRefPtr< CefV8Value >& retval, CefString& exception )= 0;
- Handle retrieval of the interceptor value identified by |name|. |object| is
the receiver ('this' object) of the interceptor. If retrieval succeeds, set
|retval| to the return value. If the requested value does not exist, don't
set either |retval| or |exception|. If retrieval fails, set |exception| to
the exception that will be thrown. If the property has an associated
accessor, it will be called only if you don't set |retval|.
Return true if interceptor retrieval was handled, false otherwise.
Set
public virtual bool Set( int index, const CefRefPtr< CefV8Value > object, const CefRefPtr< CefV8Value > value, CefString& exception )= 0;
- Handle assignment of the interceptor value identified by |index|. |object|
is the receiver ('this' object) of the interceptor. |value| is the new
value being assigned to the interceptor. If assignment fails, set
|exception| to the exception that will be thrown.
Return true if interceptor assignment was handled, false otherwise.
Set
public virtual bool Set( const CefString& name, const CefRefPtr< CefV8Value > object, const CefRefPtr< CefV8Value > value, CefString& exception )= 0;
- Handle assignment of the interceptor value identified by |name|. |object|
is the receiver ('this' object) of the interceptor. |value| is the new
value being assigned to the interceptor. If assignment fails, set
|exception| to the exception that will be thrown. This setter will always
be called, even when the property has an associated accessor.
Return true if interceptor assignment was handled, false otherwise.
|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
|
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt