You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-09-16 08:26:23 +02:00
Update to CEF 3.3282.1741.gcd94615
TChromium.CreateBrowser and TFMXChromium.CreateBrowser are now virtual
This commit is contained in:
@@ -57,7 +57,7 @@ uses
|
|||||||
const
|
const
|
||||||
CEF_SUPPORTED_VERSION_MAJOR = 3;
|
CEF_SUPPORTED_VERSION_MAJOR = 3;
|
||||||
CEF_SUPPORTED_VERSION_MINOR = 3282;
|
CEF_SUPPORTED_VERSION_MINOR = 3282;
|
||||||
CEF_SUPPORTED_VERSION_RELEASE = 1733;
|
CEF_SUPPORTED_VERSION_RELEASE = 1741;
|
||||||
CEF_SUPPORTED_VERSION_BUILD = 0;
|
CEF_SUPPORTED_VERSION_BUILD = 0;
|
||||||
|
|
||||||
CEF_CHROMEELF_VERSION_MAJOR = 64;
|
CEF_CHROMEELF_VERSION_MAJOR = 64;
|
||||||
|
@@ -428,8 +428,8 @@ type
|
|||||||
function CreateClientHandler(aIsOSR : boolean) : boolean; overload;
|
function CreateClientHandler(aIsOSR : boolean) : boolean; overload;
|
||||||
function CreateClientHandler(var aClient : ICefClient) : boolean; overload;
|
function CreateClientHandler(var aClient : ICefClient) : boolean; overload;
|
||||||
procedure CloseBrowser(aForceClose : boolean);
|
procedure CloseBrowser(aForceClose : boolean);
|
||||||
function CreateBrowser(const aBrowserParent : TWinControl = nil; const aWindowName : string = ''; const aContext : ICefRequestContext = nil; const aCookiesPath : string = ''; aPersistSessionCookies : boolean = False) : boolean; overload;
|
function CreateBrowser(const aBrowserParent : TWinControl = nil; const aWindowName : string = ''; const aContext : ICefRequestContext = nil; const aCookiesPath : string = ''; aPersistSessionCookies : boolean = False) : boolean; overload; virtual;
|
||||||
function CreateBrowser(aParentHandle : HWND; aParentRect : TRect; const aWindowName : string = ''; const aContext : ICefRequestContext = nil; const aCookiesPath : string = ''; aPersistSessionCookies : boolean = False) : boolean; overload;
|
function CreateBrowser(aParentHandle : HWND; aParentRect : TRect; const aWindowName : string = ''; const aContext : ICefRequestContext = nil; const aCookiesPath : string = ''; aPersistSessionCookies : boolean = False) : boolean; overload; virtual;
|
||||||
function ShareRequestContext(var aContext : ICefRequestContext; const aHandler : ICefRequestContextHandler = nil) : boolean;
|
function ShareRequestContext(var aContext : ICefRequestContext; const aHandler : ICefRequestContextHandler = nil) : boolean;
|
||||||
procedure InitializeDragAndDrop(const aDropTargetCtrl : TWinControl);
|
procedure InitializeDragAndDrop(const aDropTargetCtrl : TWinControl);
|
||||||
procedure ShutdownDragAndDrop;
|
procedure ShutdownDragAndDrop;
|
||||||
|
@@ -180,12 +180,17 @@ begin
|
|||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TCefLifeSpanHandlerOwn.OnBeforePopup(const browser: ICefBrowser;
|
function TCefLifeSpanHandlerOwn.OnBeforePopup(const browser : ICefBrowser;
|
||||||
const frame: ICefFrame; const targetUrl, targetFrameName: ustring;
|
const frame : ICefFrame;
|
||||||
targetDisposition: TCefWindowOpenDisposition; userGesture: Boolean;
|
const targetUrl : ustring;
|
||||||
var popupFeatures: TCefPopupFeatures; var windowInfo: TCefWindowInfo;
|
const targetFrameName : ustring;
|
||||||
var client: ICefClient; var settings: TCefBrowserSettings;
|
targetDisposition : TCefWindowOpenDisposition;
|
||||||
var noJavascriptAccess: Boolean): Boolean;
|
userGesture : Boolean;
|
||||||
|
var popupFeatures : TCefPopupFeatures;
|
||||||
|
var windowInfo : TCefWindowInfo;
|
||||||
|
var client : ICefClient;
|
||||||
|
var settings : TCefBrowserSettings;
|
||||||
|
var noJavascriptAccess : Boolean): Boolean;
|
||||||
begin
|
begin
|
||||||
Result := False;
|
Result := False;
|
||||||
end;
|
end;
|
||||||
|
@@ -408,7 +408,7 @@ type
|
|||||||
function CreateClientHandler : boolean; overload;
|
function CreateClientHandler : boolean; overload;
|
||||||
function CreateClientHandler(var aClient : ICefClient) : boolean; overload;
|
function CreateClientHandler(var aClient : ICefClient) : boolean; overload;
|
||||||
procedure CloseBrowser(aForceClose : boolean);
|
procedure CloseBrowser(aForceClose : boolean);
|
||||||
function CreateBrowser(const aWindowName : string = ''; const aContext : ICefRequestContext = nil; const aCookiesPath : string = ''; aPersistSessionCookies : boolean = False) : boolean;
|
function CreateBrowser(const aWindowName : string = ''; const aContext : ICefRequestContext = nil; const aCookiesPath : string = ''; aPersistSessionCookies : boolean = False) : boolean; virtual;
|
||||||
function ShareRequestContext(var aContext : ICefRequestContext; const aHandler : ICefRequestContextHandler = nil) : boolean;
|
function ShareRequestContext(var aContext : ICefRequestContext; const aHandler : ICefRequestContextHandler = nil) : boolean;
|
||||||
|
|
||||||
procedure LoadURL(const aURL : ustring);
|
procedure LoadURL(const aURL : ustring);
|
||||||
|
Reference in New Issue
Block a user