Fixed Linux build issues

This commit is contained in:
salvadordf 2023-09-26 14:52:33 +02:00
parent f44c9ebbeb
commit 3459a429dd
5 changed files with 9 additions and 6 deletions

View File

@ -157,8 +157,8 @@
<UnitName Value="uCEFDownloadImageCallBack"/>
</Item33>
<Item34>
<Filename Value="..\source\uCEFDownLoadItem.pas"/>
<UnitName Value="uCEFDownLoadItem"/>
<Filename Value="..\source\uCEFDownloadItem.pas"/>
<UnitName Value="uCEFDownloadItem"/>
</Item34>
<Item35>
<Filename Value="..\source\uCEFDownloadItemCallback.pas"/>

View File

@ -17,7 +17,7 @@ uses
uCEFCookieManager, uCEFCookieVisitor, uCEFCustomStreamReader,
uCEFDeleteCookiesCallback, uCEFDialogHandler, uCEFDictionaryValue,
uCEFDisplayHandler, uCEFDomDocument, uCEFDomNode, uCEFDomVisitor,
uCEFDownloadHandler, uCEFDownloadImageCallBack, uCEFDownLoadItem,
uCEFDownloadHandler, uCEFDownloadImageCallBack, uCEFDownloadItem,
uCEFDownloadItemCallback, uCEFDragData, uCEFDragHandler,
uCEFEndTracingCallback, uCEFExtension, uCEFExtensionHandler,
uCEFFileDialogCallback, uCEFFindHandler, uCEFFocusHandler, uCEFFrame,

View File

@ -45,7 +45,7 @@ type
implementation
uses
uCEFMiscFunctions, uCEFLibFunctions, uCEFBrowser, uCEFDownLoadItem, uCEFBeforeDownloadCallback,
uCEFMiscFunctions, uCEFLibFunctions, uCEFBrowser, uCEFDownloadItem, uCEFBeforeDownloadCallback,
uCEFDownloadItemCallback;
function cef_download_handler_can_download( self : PCefDownloadHandler;

View File

@ -35,9 +35,10 @@ type
FUseSetFocus : boolean;
{$ENDIF}
function GetChromium: TChromium; virtual; abstract;
{$IFDEF MSWINDOWS}
function GetUseSetFocus: Boolean; virtual;
procedure SetUseSetFocus(aValue : boolean); virtual;
{$ENDIF}
{$IFDEF FPC}
procedure SetVisible(Value: Boolean); override;
@ -74,6 +75,7 @@ begin
{$ENDIF}
end;
{$IFDEF MSWINDOWS}
function TCEFLinkedWinControlBase.GetUseSetFocus: Boolean;
begin
Result := FUseSetFocus;
@ -83,6 +85,7 @@ procedure TCEFLinkedWinControlBase.SetUseSetFocus(aValue : boolean);
begin
FUseSetFocus := aValue;
end;
{$ENDIF}
{$IFDEF FPC}
procedure TCEFLinkedWinControlBase.SetVisible(Value: Boolean);

View File

@ -2,7 +2,7 @@
"UpdateLazPackages" : [
{
"ForceNotify" : true,
"InternalVersion" : 520,
"InternalVersion" : 521,
"Name" : "cef4delphi_lazarus.lpk",
"Version" : "117.1.4"
}