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 92.0.20
This commit is contained in:
@@ -59,6 +59,7 @@ uses
|
||||
type
|
||||
TCefBrowserRef = class(TCefBaseRefCountedRef, ICefBrowser)
|
||||
protected
|
||||
function IsValid: boolean;
|
||||
function GetHost: ICefBrowserHost;
|
||||
function CanGoBack: Boolean;
|
||||
procedure GoBack;
|
||||
@@ -164,6 +165,11 @@ uses
|
||||
|
||||
// TCefBrowserRef
|
||||
|
||||
function TCefBrowserRef.IsValid: boolean;
|
||||
begin
|
||||
Result := PCefBrowser(FData)^.is_valid(PCefBrowser(FData)) <> 0;
|
||||
end;
|
||||
|
||||
function TCefBrowserRef.GetHost: ICefBrowserHost;
|
||||
begin
|
||||
Result := TCefBrowserHostRef.UnWrap(PCefBrowser(FData)^.get_host(PCefBrowser(FData)));
|
||||
|
||||
Reference in New Issue
Block a user