mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Tag 13401 API version
This commit is contained in:
@@ -62,7 +62,7 @@ CefRefPtr<CefRegistration>
|
||||
CefGlobalPreferenceManagerImpl::AddPreferenceObserver(
|
||||
const CefString& name,
|
||||
CefRefPtr<CefPreferenceObserver> observer) {
|
||||
CEF_API_REQUIRE_ADDED(CEF_NEXT);
|
||||
CEF_API_REQUIRE_ADDED(13401);
|
||||
CEF_REQUIRE_UIT_RETURN(nullptr);
|
||||
return CefContext::Get()->GetPrefRegistrar()->AddObserver(name, observer);
|
||||
}
|
||||
@@ -70,7 +70,7 @@ CefGlobalPreferenceManagerImpl::AddPreferenceObserver(
|
||||
// static
|
||||
void CefPreferenceManager::GetChromeVariationsAsSwitches(
|
||||
std::vector<CefString>& switches) {
|
||||
CEF_API_REQUIRE_ADDED(CEF_NEXT);
|
||||
CEF_API_REQUIRE_ADDED(13401);
|
||||
|
||||
// Verify that the context is in a valid state.
|
||||
if (!CONTEXT_STATE_VALID()) {
|
||||
@@ -98,7 +98,7 @@ void CefPreferenceManager::GetChromeVariationsAsSwitches(
|
||||
// static
|
||||
void CefPreferenceManager::GetChromeVariationsAsStrings(
|
||||
std::vector<CefString>& strings) {
|
||||
CEF_API_REQUIRE_ADDED(CEF_NEXT);
|
||||
CEF_API_REQUIRE_ADDED(13401);
|
||||
|
||||
// Verify that the context is in a valid state.
|
||||
if (!CONTEXT_STATE_VALID()) {
|
||||
|
@@ -464,7 +464,7 @@ bool CefRequestContextImpl::SetPreference(const CefString& name,
|
||||
CefRefPtr<CefRegistration> CefRequestContextImpl::AddPreferenceObserver(
|
||||
const CefString& name,
|
||||
CefRefPtr<CefPreferenceObserver> observer) {
|
||||
CEF_API_REQUIRE_ADDED(CEF_NEXT);
|
||||
CEF_API_REQUIRE_ADDED(13401);
|
||||
if (!VerifyBrowserContext()) {
|
||||
return nullptr;
|
||||
}
|
||||
@@ -608,7 +608,7 @@ void CefRequestContextImpl::SetContentSetting(
|
||||
|
||||
CefRefPtr<CefRegistration> CefRequestContextImpl::AddSettingObserver(
|
||||
CefRefPtr<CefSettingObserver> observer) {
|
||||
CEF_API_REQUIRE_ADDED(CEF_NEXT);
|
||||
CEF_API_REQUIRE_ADDED(13401);
|
||||
if (!VerifyBrowserContext()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user