diff --git a/docs/cef4delphi.chm b/docs/cef4delphi.chm index 21097711..8729d12f 100644 Binary files a/docs/cef4delphi.chm and b/docs/cef4delphi.chm differ diff --git a/docs/html/uCEFApplicationCore.html b/docs/html/uCEFApplicationCore.html index 3cd9299a..f4248ede 100644 --- a/docs/html/uCEFApplicationCore.html +++ b/docs/html/uCEFApplicationCore.html @@ -43,7 +43,7 @@ CEF_SUPPORTED_VERSION_MINOR = 3; -CEF_SUPPORTED_VERSION_RELEASE = 0; +CEF_SUPPORTED_VERSION_RELEASE = 2; CEF_SUPPORTED_VERSION_BUILD = 0; @@ -58,7 +58,7 @@ CEF_CHROMEELF_VERSION_RELEASE = 6998; -CEF_CHROMEELF_VERSION_BUILD = 44; +CEF_CHROMEELF_VERSION_BUILD = 89; CEF_API_VERSION_MIN = 13300; @@ -129,7 +129,7 @@ - + @@ -164,7 +164,7 @@
CEF_SUPPORTED_VERSION_RELEASE = 0;CEF_SUPPORTED_VERSION_RELEASE = 2;

This item has no description.

- + diff --git a/docs/html/uCEFChromiumCore.TChromiumCore.html b/docs/html/uCEFChromiumCore.TChromiumCore.html index e3ad9d52..8897968c 100644 --- a/docs/html/uCEFChromiumCore.TChromiumCore.html +++ b/docs/html/uCEFChromiumCore.TChromiumCore.html @@ -2024,7 +2024,7 @@ - + @@ -2156,7 +2156,7 @@ - + @@ -2484,11 +2484,11 @@ - + - + @@ -7872,7 +7872,7 @@ ICefPermissionHandler

CEF_CHROMEELF_VERSION_BUILD = 44;CEF_CHROMEELF_VERSION_BUILD = 89;

This item has no description.

Protectedprocedure doOnPreferenceChanged(const name: ustring);procedure doOnPreferenceChanged(const name_: ustring);
Protected
Protectedprocedure doAddPreferenceObserver(const name : ustring); virtual;procedure doAddPreferenceObserver(const name_ : ustring); virtual;
Protected
Publicprocedure AddPreferenceObserver(const name: ustring);procedure AddPreferenceObserver(const name_: ustring);
Publicprocedure RemovePreferenceObserver(const name : ustring);procedure RemovePreferenceObserver(const name_ : ustring);
Public
- +
Protectedprocedure doOnPreferenceChanged(const name: ustring);procedure doOnPreferenceChanged(const name_: ustring);

@@ -8144,7 +8144,7 @@ Custom

- + @@ -9172,7 +9172,7 @@ Custom

Protectedprocedure doAddPreferenceObserver(const name : ustring); virtual;procedure doAddPreferenceObserver(const name_ : ustring); virtual;

This item has no description.

- +
Publicprocedure AddPreferenceObserver(const name: ustring);procedure AddPreferenceObserver(const name_: ustring);

@@ -9186,7 +9186,7 @@ Custom

- + - + @@ -1309,7 +1309,7 @@ ICefPermissionHandler

Publicprocedure RemovePreferenceObserver(const name : ustring);procedure RemovePreferenceObserver(const name_ : ustring);

diff --git a/docs/html/uCEFChromiumEvents.html b/docs/html/uCEFChromiumEvents.html index b0493a94..d64e3fa4 100644 --- a/docs/html/uCEFChromiumEvents.html +++ b/docs/html/uCEFChromiumEvents.html @@ -373,7 +373,7 @@

TOnDismissPermissionPromptEvent = procedure(Sender: TObject; const browser: ICefBrowser; prompt_id: uint64; result: TCefPermissionRequestResult) of object;
TOnPreferenceChangedEvent = procedure(Sender: TObject; const name: ustring) of object;TOnPreferenceChangedEvent = procedure(Sender: TObject; const name_: ustring) of object;
TOnSettingChangedEvent = procedure(Sender: TObject; const requesting_url, top_level_url : ustring; content_type: TCefContentSettingTypes) of object;
- +
TOnPreferenceChangedEvent = procedure(Sender: TObject; const name: ustring) of object;TOnPreferenceChangedEvent = procedure(Sender: TObject; const name_: ustring) of object;

diff --git a/source/uCEFApplicationCore.pas b/source/uCEFApplicationCore.pas index e36341ae..e4cf3ba2 100644 --- a/source/uCEFApplicationCore.pas +++ b/source/uCEFApplicationCore.pas @@ -161,6 +161,9 @@ type FDisableHangMonitor : boolean; FHideCrashRestoreBubble : boolean; FPostQuantumKyber : TCefState; + {$IFDEF LINUX} + FPasswordStorage : TCefPasswordStorage; + {$ENDIF} // Fields used during the CEF initialization @@ -1322,6 +1325,15 @@ type /// This option enables a combination of X25519 and Kyber in TLS 1.3. /// property TLS13HybridizedKyberSupport : TCefState read FPostQuantumKyber write FPostQuantumKyber; + {$IFDEF LINUX} + ///

+ /// Specifies which encryption storage backend to use in Linux. + /// + /// + /// Chromium document: docs/linux/password_storage.md + /// + property PasswordStorage : TCefPasswordStorage read FPasswordStorage write FPasswordStorage; + {$ENDIF} /// /// Ignores certificate-related errors. /// @@ -1997,6 +2009,9 @@ begin FDisableHangMonitor := False; FHideCrashRestoreBubble := True; FPostQuantumKyber := STATE_DEFAULT; + {$IFDEF LINUX} + FPasswordStorage := psDefault; + {$ENDIF} // Fields used during the CEF initialization FWindowsSandboxInfo := nil; @@ -3678,6 +3693,16 @@ begin STATE_DISABLED : ReplaceSwitch(aKeys, aValues, '--disable-features', 'PostQuantumKyber'); end; + {$IFDEF LINUX} + case FPasswordStorage of + psGnomeLibsecret : ReplaceSwitch(aKeys, aValues, '--password-store', 'gnome-libsecret'); + psKWallet : ReplaceSwitch(aKeys, aValues, '--password-store', 'kwallet'); + psKWallet5 : ReplaceSwitch(aKeys, aValues, '--password-store', 'kwallet5'); + psKWallet6 : ReplaceSwitch(aKeys, aValues, '--password-store', 'kwallet6'); + psBasic : ReplaceSwitch(aKeys, aValues, '--password-store', 'basic'); + end; + {$ENDIF} + // The list of features you can enable is here : // https://chromium.googlesource.com/chromium/src/+/master/chrome/common/chrome_features.cc // https://source.chromium.org/chromium/chromium/src/+/main:content/public/common/content_features.cc diff --git a/source/uCEFTypes.pas b/source/uCEFTypes.pas index cf2fe453..6fa442e2 100644 --- a/source/uCEFTypes.pas +++ b/source/uCEFTypes.pas @@ -424,6 +424,38 @@ type /// fd : integer; end; + + /// + /// Specifies which encryption storage backend to use in Linux. + /// + /// + /// Chromium document: docs/linux/password_storage.md + /// + TCefPasswordStorage = ( + /// + /// Chromium chooses which store to use automatically, based on your desktop environment. + /// + psDefault, + /// + /// GNOME Libsecret. + /// + psGnomeLibsecret, + /// + /// KWallet 4. + /// + psKWallet, + /// + /// KWallet 5. + /// + psKWallet5, + /// + /// KWallet 6. + /// + psKWallet6, + /// + /// Plain text. + /// + psBasic); {$ENDIF} /// diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index cd007efe..5df8fd0a 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,7 +2,7 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 714, + "InternalVersion" : 715, "Name" : "cef4delphi_lazarus.lpk", "Version" : "134.3.2" }