mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update generated files for copyright year and bracket style
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=93f45c1e39dc2ba72a6cb44bc3d762f3870f2ef2$
|
||||
// $hash=84d7a315d04726c8f80067ea2207618d7dfdd798$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/list_value_ctocpp.h"
|
||||
@@ -38,8 +38,9 @@ NO_SANITIZE("cfi-icall") bool CefListValueCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -54,8 +55,9 @@ NO_SANITIZE("cfi-icall") bool CefListValueCToCpp::IsOwned() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_owned))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_owned)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -70,8 +72,9 @@ NO_SANITIZE("cfi-icall") bool CefListValueCToCpp::IsReadOnly() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_read_only))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_read_only)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -87,15 +90,17 @@ bool CefListValueCToCpp::IsSame(CefRefPtr<CefListValue> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that.get());
|
||||
if (!that.get())
|
||||
if (!that.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->is_same(_struct, CefListValueCToCpp::Unwrap(that));
|
||||
@@ -109,15 +114,17 @@ bool CefListValueCToCpp::IsEqual(CefRefPtr<CefListValue> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_equal))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_equal)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that.get());
|
||||
if (!that.get())
|
||||
if (!that.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->is_equal(_struct, CefListValueCToCpp::Unwrap(that));
|
||||
@@ -130,8 +137,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefListValue> CefListValueCToCpp::Copy() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, copy))
|
||||
if (CEF_MEMBER_MISSING(_struct, copy)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -146,8 +154,9 @@ NO_SANITIZE("cfi-icall") bool CefListValueCToCpp::SetSize(size_t size) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -162,8 +171,9 @@ NO_SANITIZE("cfi-icall") size_t CefListValueCToCpp::GetSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -178,8 +188,9 @@ NO_SANITIZE("cfi-icall") bool CefListValueCToCpp::Clear() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, clear))
|
||||
if (CEF_MEMBER_MISSING(_struct, clear)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -194,8 +205,9 @@ NO_SANITIZE("cfi-icall") bool CefListValueCToCpp::Remove(size_t index) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, remove))
|
||||
if (CEF_MEMBER_MISSING(_struct, remove)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -211,8 +223,9 @@ CefValueType CefListValueCToCpp::GetType(size_t index) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type)) {
|
||||
return VTYPE_INVALID;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -228,8 +241,9 @@ CefRefPtr<CefValue> CefListValueCToCpp::GetValue(size_t index) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_value))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_value)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -244,8 +258,9 @@ NO_SANITIZE("cfi-icall") bool CefListValueCToCpp::GetBool(size_t index) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bool))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bool)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -260,8 +275,9 @@ NO_SANITIZE("cfi-icall") int CefListValueCToCpp::GetInt(size_t index) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_int))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_int)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -276,8 +292,9 @@ NO_SANITIZE("cfi-icall") double CefListValueCToCpp::GetDouble(size_t index) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_double))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_double)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -292,8 +309,9 @@ NO_SANITIZE("cfi-icall") CefString CefListValueCToCpp::GetString(size_t index) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -311,8 +329,9 @@ CefRefPtr<CefBinaryValue> CefListValueCToCpp::GetBinary(size_t index) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_binary))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_binary)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -328,8 +347,9 @@ CefRefPtr<CefDictionaryValue> CefListValueCToCpp::GetDictionary(size_t index) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_dictionary))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_dictionary)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -345,8 +365,9 @@ CefRefPtr<CefListValue> CefListValueCToCpp::GetList(size_t index) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_list))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_list)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -362,15 +383,17 @@ bool CefListValueCToCpp::SetValue(size_t index, CefRefPtr<CefValue> value) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_value))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_value)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: value; type: refptr_same
|
||||
DCHECK(value.get());
|
||||
if (!value.get())
|
||||
if (!value.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@@ -384,8 +407,9 @@ NO_SANITIZE("cfi-icall") bool CefListValueCToCpp::SetNull(size_t index) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_null))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_null)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -401,8 +425,9 @@ bool CefListValueCToCpp::SetBool(size_t index, bool value) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bool))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bool)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -418,8 +443,9 @@ bool CefListValueCToCpp::SetInt(size_t index, int value) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_int))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_int)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -435,8 +461,9 @@ bool CefListValueCToCpp::SetDouble(size_t index, double value) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_double))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_double)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -452,8 +479,9 @@ bool CefListValueCToCpp::SetString(size_t index, const CefString& value) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_string)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -472,15 +500,17 @@ bool CefListValueCToCpp::SetBinary(size_t index,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_binary))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_binary)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: value; type: refptr_same
|
||||
DCHECK(value.get());
|
||||
if (!value.get())
|
||||
if (!value.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@@ -496,15 +526,17 @@ bool CefListValueCToCpp::SetDictionary(size_t index,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_dictionary))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_dictionary)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: value; type: refptr_same
|
||||
DCHECK(value.get());
|
||||
if (!value.get())
|
||||
if (!value.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->set_dictionary(
|
||||
@@ -519,15 +551,17 @@ bool CefListValueCToCpp::SetList(size_t index, CefRefPtr<CefListValue> value) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_list))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_list)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: value; type: refptr_same
|
||||
DCHECK(value.get());
|
||||
if (!value.get())
|
||||
if (!value.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
|
Reference in New Issue
Block a user