mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add binary format support to CefMessageRouter (fixes #3502)
This commit is contained in:
committed by
Marshall Greenblatt
parent
1b74ac5124
commit
44323082b1
@@ -520,7 +520,7 @@ class CefV8Value : public virtual CefBaseRefCounted {
|
||||
/// or CefV8Accessor callback, or in combination with calling Enter() and
|
||||
/// Exit() on a stored CefV8Context reference.
|
||||
///
|
||||
/*--cef()--*/
|
||||
/*--cef(optional_param=buffer)--*/
|
||||
static CefRefPtr<CefV8Value> CreateArrayBuffer(
|
||||
void* buffer,
|
||||
size_t length,
|
||||
@@ -866,6 +866,20 @@ class CefV8Value : public virtual CefBaseRefCounted {
|
||||
/*--cef()--*/
|
||||
virtual bool NeuterArrayBuffer() = 0;
|
||||
|
||||
///
|
||||
/// Returns the length (in bytes) of the ArrayBuffer.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual size_t GetArrayBufferByteLength() = 0;
|
||||
|
||||
///
|
||||
/// Returns a pointer to the beginning of the memory block for this
|
||||
/// ArrayBuffer backing store. The returned pointer is valid as long as the
|
||||
/// CefV8Value is alive.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void* GetArrayBufferData() = 0;
|
||||
|
||||
// FUNCTION METHODS - These methods are only available on functions.
|
||||
|
||||
///
|
||||
|
Reference in New Issue
Block a user