You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-11-23 21:34:53 +02:00
Update to CEF 128.4.8
This commit is contained in:
@@ -155,8 +155,19 @@ type
|
||||
/// ICefv8Handler or ICefv8Accessor callback, or in combination with calling
|
||||
/// enter() and exit() on a stored ICefv8Context reference.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>NOTE: Always returns nullptr when V8 sandbox is enabled.</para>
|
||||
/// </remarks>
|
||||
class function NewArrayBuffer(buffer: Pointer; length: NativeUInt; const callback : ICefv8ArrayBufferReleaseCallback): ICefv8Value;
|
||||
/// <summary>
|
||||
/// Create a new cef_v8value_t object of type ArrayBuffer which copies the
|
||||
/// provided |buffer| of size |length| bytes. This function should only be
|
||||
/// called from within the scope of a cef_render_process_handler_t,
|
||||
/// cef_v8handler_t or cef_v8accessor_t callback, or in combination with calling
|
||||
/// enter() and exit() on a stored cef_v8context_t reference.
|
||||
/// </summary>
|
||||
class function NewArrayBufferWithCopy(buffer: Pointer; length: NativeUInt): ICefv8Value;
|
||||
/// <summary>
|
||||
/// Create a new ICefv8Value object of type function. This function should
|
||||
/// only be called from within the scope of a ICefRenderProcessHandler,
|
||||
/// ICefv8Handler or ICefv8Accessor callback, or in combination with calling
|
||||
@@ -195,6 +206,12 @@ begin
|
||||
Result := UnWrap(cef_v8value_create_array_buffer(buffer, length, CefGetData(callback)));
|
||||
end;
|
||||
|
||||
class function TCefv8ValueRef.NewArrayBufferWithCopy(buffer : Pointer;
|
||||
length : NativeUInt): ICefv8Value;
|
||||
begin
|
||||
Result := UnWrap(cef_v8value_create_array_buffer_with_copy(buffer, length));
|
||||
end;
|
||||
|
||||
class function TCefv8ValueRef.NewBool(value: Boolean): ICefv8Value;
|
||||
begin
|
||||
Result := UnWrap(cef_v8value_create_bool(Ord(value)));
|
||||
|
||||
Reference in New Issue
Block a user