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=33aeaefa103664f5cead6898d2f957d8a9a97a92$
|
||||
// $hash=d679c42dea71a6b726ac967998a9a0cb1571d2b9$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/image_ctocpp.h"
|
||||
@@ -36,8 +36,9 @@ NO_SANITIZE("cfi-icall") bool CefImageCToCpp::IsEmpty() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_empty))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_empty)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -52,15 +53,17 @@ NO_SANITIZE("cfi-icall") bool CefImageCToCpp::IsSame(CefRefPtr<CefImage> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_image_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, CefImageCToCpp::Unwrap(that));
|
||||
@@ -80,15 +83,17 @@ bool CefImageCToCpp::AddBitmap(float scale_factor,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, add_bitmap))
|
||||
if (CEF_MEMBER_MISSING(_struct, add_bitmap)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: pixel_data; type: simple_byaddr
|
||||
DCHECK(pixel_data);
|
||||
if (!pixel_data)
|
||||
if (!pixel_data) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@@ -106,15 +111,17 @@ bool CefImageCToCpp::AddPNG(float scale_factor,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, add_png))
|
||||
if (CEF_MEMBER_MISSING(_struct, add_png)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: png_data; type: simple_byaddr
|
||||
DCHECK(png_data);
|
||||
if (!png_data)
|
||||
if (!png_data) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@@ -131,15 +138,17 @@ bool CefImageCToCpp::AddJPEG(float scale_factor,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, add_jpeg))
|
||||
if (CEF_MEMBER_MISSING(_struct, add_jpeg)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: jpeg_data; type: simple_byaddr
|
||||
DCHECK(jpeg_data);
|
||||
if (!jpeg_data)
|
||||
if (!jpeg_data) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@@ -153,8 +162,9 @@ NO_SANITIZE("cfi-icall") size_t CefImageCToCpp::GetWidth() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -169,8 +179,9 @@ NO_SANITIZE("cfi-icall") size_t CefImageCToCpp::GetHeight() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -186,8 +197,9 @@ bool CefImageCToCpp::HasRepresentation(float scale_factor) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_representation))
|
||||
if (CEF_MEMBER_MISSING(_struct, has_representation)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -203,8 +215,9 @@ bool CefImageCToCpp::RemoveRepresentation(float scale_factor) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, remove_representation))
|
||||
if (CEF_MEMBER_MISSING(_struct, remove_representation)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -223,8 +236,9 @@ bool CefImageCToCpp::GetRepresentationInfo(float scale_factor,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_representation_info))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_representation_info)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -246,8 +260,9 @@ CefRefPtr<CefBinaryValue> CefImageCToCpp::GetAsBitmap(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_as_bitmap))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_as_bitmap)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -268,8 +283,9 @@ CefRefPtr<CefBinaryValue> CefImageCToCpp::GetAsPNG(float scale_factor,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_as_png))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_as_png)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -289,8 +305,9 @@ CefRefPtr<CefBinaryValue> CefImageCToCpp::GetAsJPEG(float scale_factor,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_as_jpeg))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_as_jpeg)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
Reference in New Issue
Block a user