You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-12 22:07:39 +02:00
Update to CEF 3.3325.1746.ge81cdf2
This commit is contained in:
@ -53,7 +53,7 @@ uses
|
||||
{$ELSE}
|
||||
Windows, Classes, SysUtils, Controls, ActiveX, Math,
|
||||
{$ENDIF}
|
||||
uCEFTypes, uCEFInterfaces, uCEFLibFunctions, uCEFResourceHandler, uCEFGetGeolocationCallback,
|
||||
uCEFTypes, uCEFInterfaces, uCEFLibFunctions, uCEFResourceHandler,
|
||||
uCEFRegisterCDMCallback;
|
||||
|
||||
const
|
||||
@ -192,8 +192,6 @@ procedure LogicalToDevice(var aRect : TCEFRect; const aDeviceScaleFactor : doubl
|
||||
function GetScreenDPI : integer;
|
||||
function GetDeviceScaleFactor : single;
|
||||
|
||||
function CefGetGeolocation(const aCallbackFunction : TOnLocationUpdate) : boolean;
|
||||
|
||||
procedure CefRegisterWidevineCdm(const path: ustring; const callback: ICefRegisterCdmCallback);
|
||||
procedure CefFastRegisterWidevineCdm(const path: ustring; const callback: TCefRegisterCDMProc);
|
||||
|
||||
@ -1238,14 +1236,6 @@ begin
|
||||
cef_load_crlsets_file(@TempPath);
|
||||
end;
|
||||
|
||||
function CefGetGeolocation(const aCallbackFunction : TOnLocationUpdate) : boolean;
|
||||
var
|
||||
TempGeoCallBack : ICefGetGeolocationCallback;
|
||||
begin
|
||||
TempGeoCallBack := TCefFastGetGeolocationCallback.Create(aCallbackFunction);
|
||||
Result := (cef_get_geolocation(TempGeoCallBack.Wrap) <> 0);
|
||||
end;
|
||||
|
||||
function CefIsKeyDown(aWparam : WPARAM) : boolean;
|
||||
begin
|
||||
Result := (GetKeyState(aWparam) < 0);
|
||||
|
Reference in New Issue
Block a user