1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-11-23 21:34:53 +02:00

Update to CEF 125.0.19

This commit is contained in:
Salvador Díaz Fau
2024-05-28 15:50:48 +02:00
parent 7c230b9d70
commit e3cd6821c8
138 changed files with 15244 additions and 5862 deletions

View File

@@ -121,6 +121,7 @@ type
function CanExecuteChromeCommand(command_id: integer): boolean;
procedure ExecuteChromeCommand(command_id: integer; disposition: TCefWindowOpenDisposition);
function IsRenderProcessUnresponsive : boolean;
function GetRuntimeStyle : TCefRuntimeStyle;
public
class function UnWrap(data: Pointer): ICefBrowserHost;
@@ -379,6 +380,11 @@ begin
Result := PCefBrowserHost(FData)^.is_render_process_unresponsive(PCefBrowserHost(FData)) <> 0;
end;
function TCefBrowserHostRef.GetRuntimeStyle : TCefRuntimeStyle;
begin
Result := PCefBrowserHost(FData)^.get_runtime_style(PCefBrowserHost(FData));
end;
procedure TCefBrowserHostRef.DragTargetDragEnter(const dragData: ICefDragData; const event: PCefMouseEvent; allowedOps: TCefDragOperations);
begin
PCefBrowserHost(FData)^.drag_target_drag_enter(PCefBrowserHost(FData), CefGetData(dragData), event, allowedOps);