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=d466cd3a17a35074eedcb222b9acd2063c297fe2$
|
||||
// $hash=edbd66283dfde3f7129c189c7ca51c1d45dc804d$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/v8interceptor_ctocpp.h"
|
||||
@@ -23,24 +23,28 @@ bool CefV8InterceptorCToCpp::Get(const CefString& name,
|
||||
CefRefPtr<CefV8Value>& retval,
|
||||
CefString& exception) {
|
||||
cef_v8interceptor_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_byname))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_byname)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: name; type: string_byref_const
|
||||
DCHECK(!name.empty());
|
||||
if (name.empty())
|
||||
if (name.empty()) {
|
||||
return false;
|
||||
}
|
||||
// Verify param: object; type: refptr_diff
|
||||
DCHECK(object.get());
|
||||
if (!object.get())
|
||||
if (!object.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Translate param: retval; type: refptr_diff_byref
|
||||
cef_v8value_t* retvalStruct = NULL;
|
||||
if (retval.get())
|
||||
if (retval.get()) {
|
||||
retvalStruct = CefV8ValueCppToC::Wrap(retval);
|
||||
}
|
||||
cef_v8value_t* retvalOrig = retvalStruct;
|
||||
|
||||
// Execute
|
||||
@@ -67,24 +71,28 @@ bool CefV8InterceptorCToCpp::Get(int index,
|
||||
CefRefPtr<CefV8Value>& retval,
|
||||
CefString& exception) {
|
||||
cef_v8interceptor_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_byindex))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_byindex)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: index; type: simple_byval
|
||||
DCHECK_GE(index, 0);
|
||||
if (index < 0)
|
||||
if (index < 0) {
|
||||
return false;
|
||||
}
|
||||
// Verify param: object; type: refptr_diff
|
||||
DCHECK(object.get());
|
||||
if (!object.get())
|
||||
if (!object.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Translate param: retval; type: refptr_diff_byref
|
||||
cef_v8value_t* retvalStruct = NULL;
|
||||
if (retval.get())
|
||||
if (retval.get()) {
|
||||
retvalStruct = CefV8ValueCppToC::Wrap(retval);
|
||||
}
|
||||
cef_v8value_t* retvalOrig = retvalStruct;
|
||||
|
||||
// Execute
|
||||
@@ -111,23 +119,27 @@ bool CefV8InterceptorCToCpp::Set(const CefString& name,
|
||||
const CefRefPtr<CefV8Value> value,
|
||||
CefString& exception) {
|
||||
cef_v8interceptor_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_byname))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_byname)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: name; type: string_byref_const
|
||||
DCHECK(!name.empty());
|
||||
if (name.empty())
|
||||
if (name.empty()) {
|
||||
return false;
|
||||
}
|
||||
// Verify param: object; type: refptr_diff
|
||||
DCHECK(object.get());
|
||||
if (!object.get())
|
||||
if (!object.get()) {
|
||||
return false;
|
||||
}
|
||||
// Verify param: value; type: refptr_diff
|
||||
DCHECK(value.get());
|
||||
if (!value.get())
|
||||
if (!value.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->set_byname(
|
||||
@@ -144,23 +156,27 @@ bool CefV8InterceptorCToCpp::Set(int index,
|
||||
const CefRefPtr<CefV8Value> value,
|
||||
CefString& exception) {
|
||||
cef_v8interceptor_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_byindex))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_byindex)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: index; type: simple_byval
|
||||
DCHECK_GE(index, 0);
|
||||
if (index < 0)
|
||||
if (index < 0) {
|
||||
return false;
|
||||
}
|
||||
// Verify param: object; type: refptr_diff
|
||||
DCHECK(object.get());
|
||||
if (!object.get())
|
||||
if (!object.get()) {
|
||||
return false;
|
||||
}
|
||||
// Verify param: value; type: refptr_diff
|
||||
DCHECK(value.get());
|
||||
if (!value.get())
|
||||
if (!value.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->set_byindex(
|
||||
|
Reference in New Issue
Block a user