mirror of
https://github.com/aphrody-labs/cef.git
synced 2026-10-13 21:07:07 +00:00
Tag 14600 API version
This commit is contained in:
1 parent
76bd4ba419
commit
b5fd59cba4
12 files changed
+32
-25
No files matched your search
@@ -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"
|
||||
}
|
||||
@@ -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<CefComponentUpdateCallback> callback) = 0;
|
||||
};
|
||||
|
||||
#endif // CEF_API_ADDED(CEF_NEXT)
|
||||
#endif // CEF_API_ADDED(14600)
|
||||
|
||||
#endif // CEF_INCLUDE_CEF_COMPONENT_UPDATER_H_
|
||||
+4
-4
@@ -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<CefV8Value> 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<CefV8Value> CreateArrayBufferFromBackingStore(
|
||||
CefRefPtr<CefV8BackingStore> backing_store);
|
||||
#endif
|
||||
|
||||
@@ -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); \
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -542,7 +542,7 @@ bool CefBrowserInfoManager::MaybeAllowNavigation(
|
||||
bool CefBrowserInfoManager::ShouldCreateViewsHostedPopup(
|
||||
CefRefPtr<CefBrowserHostBase> 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;
|
||||
}
|
||||
|
||||
@@ -207,7 +207,7 @@ void CefComponentUpdaterImpl::Update(
|
||||
|
||||
// static
|
||||
CefRefPtr<CefComponentUpdater> CefComponentUpdater::GetComponentUpdater() {
|
||||
CEF_API_REQUIRE_ADDED(CEF_NEXT);
|
||||
CEF_API_REQUIRE_ADDED(14600);
|
||||
CEF_REQUIRE_UIT_RETURN(nullptr);
|
||||
|
||||
static base::NoDestructor<CefRefPtr<CefComponentUpdaterImpl>> instance(
|
||||
|
||||
@@ -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 ||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user