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=7d9a55e1e8779d677d34e2b6c9277db7e6b75d3d$
|
||||
// $hash=c4cce4949cab252b568fc4dd34755b0b0908636b$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/drag_data_ctocpp.h"
|
||||
@ -38,8 +38,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefDragData> CefDragDataCToCpp::Clone() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, clone))
|
||||
if (CEF_MEMBER_MISSING(_struct, clone)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -54,8 +55,9 @@ NO_SANITIZE("cfi-icall") bool CefDragDataCToCpp::IsReadOnly() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_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
|
||||
|
||||
@ -70,8 +72,9 @@ NO_SANITIZE("cfi-icall") bool CefDragDataCToCpp::IsLink() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_link))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_link)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -86,8 +89,9 @@ NO_SANITIZE("cfi-icall") bool CefDragDataCToCpp::IsFragment() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_fragment))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_fragment)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -102,8 +106,9 @@ NO_SANITIZE("cfi-icall") bool CefDragDataCToCpp::IsFile() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_file))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_file)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -118,8 +123,9 @@ NO_SANITIZE("cfi-icall") CefString CefDragDataCToCpp::GetLinkURL() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_link_url))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_link_url)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -136,8 +142,9 @@ NO_SANITIZE("cfi-icall") CefString CefDragDataCToCpp::GetLinkTitle() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_link_title))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_link_title)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -154,8 +161,9 @@ NO_SANITIZE("cfi-icall") CefString CefDragDataCToCpp::GetLinkMetadata() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_link_metadata))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_link_metadata)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -172,8 +180,9 @@ NO_SANITIZE("cfi-icall") CefString CefDragDataCToCpp::GetFragmentText() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_fragment_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_fragment_text)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -190,8 +199,9 @@ NO_SANITIZE("cfi-icall") CefString CefDragDataCToCpp::GetFragmentHtml() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_fragment_html))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_fragment_html)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -208,8 +218,9 @@ NO_SANITIZE("cfi-icall") CefString CefDragDataCToCpp::GetFragmentBaseURL() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_fragment_base_url))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_fragment_base_url)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -226,8 +237,9 @@ NO_SANITIZE("cfi-icall") CefString CefDragDataCToCpp::GetFileName() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_file_name))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_file_name)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -245,8 +257,9 @@ size_t CefDragDataCToCpp::GetFileContents(CefRefPtr<CefStreamWriter> writer) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_file_contents))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_file_contents)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -265,16 +278,18 @@ bool CefDragDataCToCpp::GetFileNames(std::vector<CefString>& names) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_file_names))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_file_names)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Translate param: names; type: string_vec_byref
|
||||
cef_string_list_t namesList = cef_string_list_alloc();
|
||||
DCHECK(namesList);
|
||||
if (namesList)
|
||||
if (namesList) {
|
||||
transfer_string_list_contents(names, namesList);
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->get_file_names(_struct, namesList);
|
||||
@ -295,8 +310,9 @@ void CefDragDataCToCpp::SetLinkURL(const CefString& url) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_link_url))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_link_url)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -311,8 +327,9 @@ void CefDragDataCToCpp::SetLinkTitle(const CefString& title) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_link_title))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_link_title)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -327,8 +344,9 @@ void CefDragDataCToCpp::SetLinkMetadata(const CefString& data) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_link_metadata))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_link_metadata)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -343,8 +361,9 @@ void CefDragDataCToCpp::SetFragmentText(const CefString& text) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_fragment_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_fragment_text)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -359,8 +378,9 @@ void CefDragDataCToCpp::SetFragmentHtml(const CefString& html) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_fragment_html))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_fragment_html)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -375,8 +395,9 @@ void CefDragDataCToCpp::SetFragmentBaseURL(const CefString& base_url) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_fragment_base_url))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_fragment_base_url)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -390,8 +411,9 @@ NO_SANITIZE("cfi-icall") void CefDragDataCToCpp::ResetFileContents() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, reset_file_contents))
|
||||
if (CEF_MEMBER_MISSING(_struct, reset_file_contents)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -405,15 +427,17 @@ void CefDragDataCToCpp::AddFile(const CefString& path,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, add_file))
|
||||
if (CEF_MEMBER_MISSING(_struct, add_file)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: path; type: string_byref_const
|
||||
DCHECK(!path.empty());
|
||||
if (path.empty())
|
||||
if (path.empty()) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: display_name
|
||||
|
||||
// Execute
|
||||
@ -424,8 +448,9 @@ NO_SANITIZE("cfi-icall") void CefDragDataCToCpp::ClearFilenames() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, clear_filenames))
|
||||
if (CEF_MEMBER_MISSING(_struct, clear_filenames)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -437,8 +462,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefImage> CefDragDataCToCpp::GetImage() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_image))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_image)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -453,8 +479,9 @@ NO_SANITIZE("cfi-icall") CefPoint CefDragDataCToCpp::GetImageHotspot() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_image_hotspot))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_image_hotspot)) {
|
||||
return CefPoint();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -469,8 +496,9 @@ NO_SANITIZE("cfi-icall") bool CefDragDataCToCpp::HasImage() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_image))
|
||||
if (CEF_MEMBER_MISSING(_struct, has_image)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
Reference in New Issue
Block a user