From b5fd59cba480aa5e5d7a2fd19ee8611148d97008 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Tue, 17 Feb 2026 13:20:32 -0500 Subject: [PATCH] Tag 14600 API version --- cef_api_versions.json | 9 ++++++++- include/cef_component_updater.h | 10 +++++----- include/cef_v8.h | 8 ++++---- include/cef_version_info.h | 6 +++--- include/internal/cef_types.h | 2 +- include/internal/cef_types_component.h | 4 ++-- include/internal/cef_types_content_settings.h | 6 +++--- include/internal/cef_types_wrappers.h | 2 +- libcef/browser/browser_info_manager.cc | 2 +- libcef/browser/component_updater_impl.cc | 2 +- libcef_dll/wrapper/cef_scoped_library_loader_win.cc | 4 ++-- tests/cefclient/browser/main_context_impl.cc | 2 +- 12 files changed, 32 insertions(+), 25 deletions(-) diff --git a/cef_api_versions.json b/cef_api_versions.json index a337b8bb3..d261d9194 100644 --- a/cef_api_versions.json +++ b/cef_api_versions.json @@ -113,8 +113,15 @@ "linux": "f57e722cb70b5ba2567aaaabfda35ab24d1bdf10", "mac": "b2511b07e182653ba558bf1873cc45738ba598da", "windows": "fd311ad9c02d2063d20e6fa3601d66229089b69f" + }, + "14600": { + "comment": "Added February 17, 2026.", + "linux": "7cec742972d6735aa8a955fc2e098a1f6669c3d5", + "mac": "8ba92d4f63306cea46b5992ce65bf2cd2c7740ff", + "sandbox_compat": "06ced0d54abb1a72", + "windows": "99676a8d58951ffb0a24f6cbae6aa01f3249b29e" } }, - "last": "14500", + "last": "14600", "min": "13300" } \ No newline at end of file diff --git a/include/cef_component_updater.h b/include/cef_component_updater.h index d4c4437b6..58e2e1e84 100644 --- a/include/cef_component_updater.h +++ b/include/cef_component_updater.h @@ -44,12 +44,12 @@ #include "include/cef_base.h" #include "include/internal/cef_types_component.h" -#if CEF_API_ADDED(CEF_NEXT) +#if CEF_API_ADDED(14600) /// /// Callback interface for component update results. /// -/*--cef(source=client,added=next)--*/ +/*--cef(source=client,added=14600)--*/ class CefComponentUpdateCallback : public virtual CefBaseRefCounted { public: /// @@ -68,7 +68,7 @@ class CefComponentUpdateCallback : public virtual CefBaseRefCounted { /// via CefComponentUpdater::GetComponentByID or GetComponents. The methods of /// this class may be called on any thread. /// -/*--cef(source=library,added=next)--*/ +/*--cef(source=library,added=14600)--*/ class CefComponent : public virtual CefBaseRefCounted { public: /// @@ -108,7 +108,7 @@ class CefComponent : public virtual CefBaseRefCounted { /// If the CEF context is not initialized or the component updater service is /// not available, methods will return safe defaults (0, nullptr, or empty). /// -/*--cef(source=library,added=next)--*/ +/*--cef(source=library,added=14600)--*/ class CefComponentUpdater : public virtual CefBaseRefCounted { public: /// @@ -161,6 +161,6 @@ class CefComponentUpdater : public virtual CefBaseRefCounted { CefRefPtr callback) = 0; }; -#endif // CEF_API_ADDED(CEF_NEXT) +#endif // CEF_API_ADDED(14600) #endif // CEF_INCLUDE_CEF_COMPONENT_UPDATER_H_ diff --git a/include/cef_v8.h b/include/cef_v8.h index cbc7b9fd5..be77ff3a1 100644 --- a/include/cef_v8.h +++ b/include/cef_v8.h @@ -426,7 +426,7 @@ class CefV8ArrayBufferReleaseCallback : public virtual CefBaseRefCounted { virtual void ReleaseBuffer(void* buffer) = 0; }; -#if CEF_API_ADDED(CEF_NEXT) +#if CEF_API_ADDED(14600) /// /// Class representing a V8 ArrayBuffer backing store. The backing store holds /// the memory that backs an ArrayBuffer. It must be created on a thread with a @@ -439,7 +439,7 @@ class CefV8ArrayBufferReleaseCallback : public virtual CefBaseRefCounted { /// CefV8Value::CreateArrayBufferFromBackingStore(), after which IsValid() /// returns false. /// -/*--cef(source=library,no_debugct_check,added=next)--*/ +/*--cef(source=library,no_debugct_check,added=14600)--*/ class CefV8BackingStore : public virtual CefBaseRefCounted { public: /// @@ -594,7 +594,7 @@ class CefV8Value : public virtual CefBaseRefCounted { static CefRefPtr CreateArrayBufferWithCopy(void* buffer, size_t length); -#if CEF_API_ADDED(CEF_NEXT) +#if CEF_API_ADDED(14600) /// /// Create a new CefV8Value object of type ArrayBuffer from a backing store /// previously created with CefV8BackingStore::Create(). This is a zero-copy @@ -605,7 +605,7 @@ class CefV8Value : public virtual CefBaseRefCounted { /// combination with calling Enter() and Exit() on a stored CefV8Context /// reference. /// - /*--cef(added=next)--*/ + /*--cef(added=14600)--*/ static CefRefPtr CreateArrayBufferFromBackingStore( CefRefPtr backing_store); #endif diff --git a/include/cef_version_info.h b/include/cef_version_info.h index 7bee18671..5a78316d7 100644 --- a/include/cef_version_info.h +++ b/include/cef_version_info.h @@ -79,7 +79,7 @@ typedef struct _cef_version_info_t { int chrome_version_build; int chrome_version_patch; -#if CEF_API_ADDED(CEF_NEXT) +#if CEF_API_ADDED(14600) /// /// Sandbox compatibility hash (Windows only, empty on other platforms). /// @@ -87,7 +87,7 @@ typedef struct _cef_version_info_t { #endif } cef_version_info_t; -#if CEF_API_ADDED(CEF_NEXT) +#if CEF_API_ADDED(14600) /// /// Minimum struct size required to contain the sandbox_compat_hash field. /// Used for version compatibility checks. @@ -123,7 +123,7 @@ typedef struct _cef_version_info_t { #endif // !defined(GENERATING_CEF_API_HASH) // Helper macro for setting sandbox_compat_hash. -#if CEF_API_ADDED(CEF_NEXT) +#if CEF_API_ADDED(14600) #define _CEF_POPULATE_SANDBOX_HASH(info) \ strncpy((info)->sandbox_compat_hash, CEF_SANDBOX_COMPAT_HASH, \ sizeof((info)->sandbox_compat_hash) - 1); \ diff --git a/include/internal/cef_types.h b/include/internal/cef_types.h index 3ec2b6a9a..2b9e063c1 100644 --- a/include/internal/cef_types.h +++ b/include/internal/cef_types.h @@ -500,7 +500,7 @@ typedef struct _cef_settings_t { /// int disable_signal_handlers; -#if CEF_API_ADDED(CEF_NEXT) +#if CEF_API_ADDED(14600) /// /// If true use a Views (bare-bones) window instead of a Chrome UI window when /// creating default popups for Chrome style native-hosted (non-Views) diff --git a/include/internal/cef_types_component.h b/include/internal/cef_types_component.h index eb55bfa75..711926025 100644 --- a/include/internal/cef_types_component.h +++ b/include/internal/cef_types_component.h @@ -37,7 +37,7 @@ extern "C" { #endif -#if CEF_API_ADDED(CEF_NEXT) +#if CEF_API_ADDED(14600) /// /// Component update error codes. These map to update_client::Error values @@ -175,7 +175,7 @@ typedef enum { } cef_component_state_t; -#endif // CEF_API_ADDED(CEF_NEXT) +#endif // CEF_API_ADDED(14600) #ifdef __cplusplus } diff --git a/include/internal/cef_types_content_settings.h b/include/internal/cef_types_content_settings.h index 1eaa92c59..38b277b29 100644 --- a/include/internal/cef_types_content_settings.h +++ b/include/internal/cef_types_content_settings.h @@ -75,7 +75,7 @@ typedef enum { CEF_CONTENT_SETTING_TYPE_PROTECTED_MEDIA_IDENTIFIER, CEF_CONTENT_SETTING_TYPE_APP_BANNER, CEF_CONTENT_SETTING_TYPE_SITE_ENGAGEMENT, -#if CEF_API_ADDED(CEF_NEXT) +#if CEF_API_ADDED(14600) CEF_CONTENT_SETTING_TYPE_PERSISTENT_STORAGE, #else CEF_CONTENT_SETTING_TYPE_DURABLE_STORAGE, @@ -364,7 +364,7 @@ typedef enum { /// should be enabled. CEF_CONTENT_SETTING_TYPE_ANTI_ABUSE, -#if CEF_API_ADDED(CEF_NEXT) +#if CEF_API_ADDED(14600) CEF_CONTENT_SETTING_TYPE_THIRD_PARTY_STORAGE_PARTITIONING_DEPRECATED, #else /// Content setting used to indicate whether third-party storage partitioning @@ -474,7 +474,7 @@ typedef enum { /// auto-revoked notification permissions from abusive sites. CEF_CONTENT_SETTING_TYPE_REVOKED_ABUSIVE_NOTIFICATION_PERMISSIONS, -#if CEF_API_ADDED(CEF_NEXT) +#if CEF_API_ADDED(14600) CEF_CONTENT_SETTING_TYPE_TRACKING_PROTECTION_DEPRECATED, #else /// Content setting that controls tracking protection status per site. diff --git a/include/internal/cef_types_wrappers.h b/include/internal/cef_types_wrappers.h index 286c68234..86d620843 100644 --- a/include/internal/cef_types_wrappers.h +++ b/include/internal/cef_types_wrappers.h @@ -469,7 +469,7 @@ struct CefSettingsTraits { target->disable_signal_handlers = src->disable_signal_handlers; #endif -#if CEF_API_ADDED(CEF_NEXT) +#if CEF_API_ADDED(14600) target->use_views_default_popup = src->use_views_default_popup; #endif } diff --git a/libcef/browser/browser_info_manager.cc b/libcef/browser/browser_info_manager.cc index 17c9bea02..e981ec240 100644 --- a/libcef/browser/browser_info_manager.cc +++ b/libcef/browser/browser_info_manager.cc @@ -542,7 +542,7 @@ bool CefBrowserInfoManager::MaybeAllowNavigation( bool CefBrowserInfoManager::ShouldCreateViewsHostedPopup( CefRefPtr opener, bool use_default_browser_creation) { - if (CEF_API_IS_ADDED(CEF_NEXT) && + if (CEF_API_IS_ADDED(14600) && CefContext::Get()->settings().use_views_default_popup) { return true; } diff --git a/libcef/browser/component_updater_impl.cc b/libcef/browser/component_updater_impl.cc index bd6111901..03e68cab0 100644 --- a/libcef/browser/component_updater_impl.cc +++ b/libcef/browser/component_updater_impl.cc @@ -207,7 +207,7 @@ void CefComponentUpdaterImpl::Update( // static CefRefPtr CefComponentUpdater::GetComponentUpdater() { - CEF_API_REQUIRE_ADDED(CEF_NEXT); + CEF_API_REQUIRE_ADDED(14600); CEF_REQUIRE_UIT_RETURN(nullptr); static base::NoDestructor> instance( diff --git a/libcef_dll/wrapper/cef_scoped_library_loader_win.cc b/libcef_dll/wrapper/cef_scoped_library_loader_win.cc index d60a5631a..f4b5abb2d 100644 --- a/libcef_dll/wrapper/cef_scoped_library_loader_win.cc +++ b/libcef_dll/wrapper/cef_scoped_library_loader_win.cc @@ -74,7 +74,7 @@ HMODULE Load(const std::wstring& dll_path, bool check_dll_version = true; -#if CEF_API_ADDED(CEF_NEXT) +#if CEF_API_ADDED(14600) // Check sandbox compatibility hash. Only compare if both structs are // large enough to contain the hash field. const bool version_info_has_hash = @@ -102,7 +102,7 @@ HMODULE Load(const std::wstring& dll_path, check_dll_version = false; } } -#endif // CEF_API_ADDED(CEF_NEXT) +#endif // CEF_API_ADDED(14600) if (check_dll_version && (dll_info.chrome_version_major != version_info->chrome_version_major || diff --git a/tests/cefclient/browser/main_context_impl.cc b/tests/cefclient/browser/main_context_impl.cc index 74bfc7d78..dee74603d 100644 --- a/tests/cefclient/browser/main_context_impl.cc +++ b/tests/cefclient/browser/main_context_impl.cc @@ -223,7 +223,7 @@ void MainContextImpl::PopulateSettings(CefSettings* settings) { #endif } -#if CEF_API_ADDED(CEF_NEXT) +#if CEF_API_ADDED(14600) if (command_line_->HasSwitch(switches::kUseViewsDefaultPopup)) { settings->use_views_default_popup = true; }