diff --git a/README.md b/README.md
index 04d2664e..bd014d83 100644
--- a/README.md
+++ b/README.md
@@ -3,15 +3,15 @@ CEF4Delphi is an open source project created by Salvador Díaz Fau to embed Chro
CEF4Delphi is based on DCEF3 and fpCEF3. The original license of those projects still applies to CEF4Delphi. Read the license terms in the first lines of any *.pas file.
-CEF4Delphi uses CEF 102.0.8 which includes Chromium 102.0.5005.61.
+CEF4Delphi uses CEF 102.0.9 which includes Chromium 102.0.5005.63.
The CEF binaries used by CEF4Delphi are available for download at Spotify :
-* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_102.0.8%2Bg60bd108%2Bchromium-102.0.5005.61_windows32.tar.bz2)
-* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_102.0.8%2Bg60bd108%2Bchromium-102.0.5005.61_windows64.tar.bz2)
-* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_102.0.8%2Bg60bd108%2Bchromium-102.0.5005.61_linux64.tar.bz2)
-* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_102.0.8%2Bg60bd108%2Bchromium-102.0.5005.61_linuxarm.tar.bz2)
-* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_102.0.8%2Bg60bd108%2Bchromium-102.0.5005.61_linuxarm64.tar.bz2)
-* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_102.0.8%2Bg60bd108%2Bchromium-102.0.5005.61_macosx64.tar.bz2)
+* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_102.0.9%2Bg1c5e658%2Bchromium-102.0.5005.63_windows32.tar.bz2)
+* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_102.0.9%2Bg1c5e658%2Bchromium-102.0.5005.63_windows64.tar.bz2)
+* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_102.0.9%2Bg1c5e658%2Bchromium-102.0.5005.63_linux64.tar.bz2)
+* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_102.0.9%2Bg1c5e658%2Bchromium-102.0.5005.63_linuxarm.tar.bz2)
+* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_102.0.9%2Bg1c5e658%2Bchromium-102.0.5005.63_linuxarm64.tar.bz2)
+* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_102.0.9%2Bg1c5e658%2Bchromium-102.0.5005.63_macosx64.tar.bz2)
CEF4Delphi was developed and tested on Delphi 11.1 and it has been tested in Delphi 7, Delphi XE, Delphi 10, Delphi 10.2, Delphi 10.3, Delphi 10.4 and Lazarus 2.2.2/FPC 3.2.2. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components.
diff --git a/packages/cef4delphi_lazarus.lpk b/packages/cef4delphi_lazarus.lpk
index 31dfab09..5e229589 100644
--- a/packages/cef4delphi_lazarus.lpk
+++ b/packages/cef4delphi_lazarus.lpk
@@ -21,7 +21,7 @@
-
+
diff --git a/source/uCEFApplicationCore.pas b/source/uCEFApplicationCore.pas
index 815cdc29..c42bb36d 100644
--- a/source/uCEFApplicationCore.pas
+++ b/source/uCEFApplicationCore.pas
@@ -68,13 +68,13 @@ uses
const
CEF_SUPPORTED_VERSION_MAJOR = 102;
CEF_SUPPORTED_VERSION_MINOR = 0;
- CEF_SUPPORTED_VERSION_RELEASE = 8;
+ CEF_SUPPORTED_VERSION_RELEASE = 9;
CEF_SUPPORTED_VERSION_BUILD = 0;
CEF_CHROMEELF_VERSION_MAJOR = 101;
CEF_CHROMEELF_VERSION_MINOR = 0;
CEF_CHROMEELF_VERSION_RELEASE = 5005;
- CEF_CHROMEELF_VERSION_BUILD = 61;
+ CEF_CHROMEELF_VERSION_BUILD = 63;
{$IFDEF MSWINDOWS}
LIBCEF_DLL = 'libcef.dll';
diff --git a/source/uCEFLinkedWinControlBase.pas b/source/uCEFLinkedWinControlBase.pas
index 2a4ae1e6..ac57c819 100644
--- a/source/uCEFLinkedWinControlBase.pas
+++ b/source/uCEFLinkedWinControlBase.pas
@@ -56,9 +56,7 @@ uses
{$IFDEF MSWINDOWS}WinApi.Windows, WinApi.Messages,{$ENDIF} System.Classes, Vcl.Controls, Vcl.Graphics,
{$ELSE}
{$IFDEF MSWINDOWS}Windows, Messages,{$ENDIF} Classes, Controls,
- {$IFDEF FPC}
- LCLProc, LCLType, LCLIntf,
- {$ENDIF}
+ {$IFDEF FPC}{$IFDEF MACOSX}CocoaAll,{$ENDIF}LCLProc, LCLType, LCLIntf,{$ENDIF}
{$ENDIF}
uCEFTypes, uCEFInterfaces, uCEFWinControl, uCEFChromium;
@@ -161,14 +159,33 @@ end;
{$ENDIF}
procedure TCEFLinkedWinControlBase.UpdateSize;
+{$IFDEF MACOSX}{$IFDEF FPC}
+var
+ TempSize: NSSize;
+{$ENDIF}{$ENDIF}
begin
+ {$IFDEF MSWINDOWS}
+ inherited UpdateSize;
+ {$ENDIF}
+
{$IFDEF LINUX}
if not(csDesigning in ComponentState) and
(Chromium <> nil) and
Chromium.Initialized then
Chromium.UpdateBrowserSize(Left, Top, Width, Height);
- {$ELSE}
- inherited UpdateSize;
+ {$ENDIF}
+
+ {$IFDEF MACOSX}
+ {$IFDEF FPC}
+ if not(csDesigning in ComponentState) and
+ (Chromium <> nil) and
+ Chromium.Initialized then
+ begin
+ TempSize.width:= Width;
+ TempSize.height:= Height;
+ NSView(Chromium.WindowHandle).setFrameSize(TempSize);
+ end;
+ {$ENDIF}
{$ENDIF}
end;
diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json
index d111015e..f50d7528 100644
--- a/update_CEF4Delphi.json
+++ b/update_CEF4Delphi.json
@@ -2,9 +2,9 @@
"UpdateLazPackages" : [
{
"ForceNotify" : true,
- "InternalVersion" : 396,
+ "InternalVersion" : 397,
"Name" : "cef4delphi_lazarus.lpk",
- "Version" : "102.0.8.0"
+ "Version" : "102.0.9.0"
}
],
"UpdatePackageData" : {