Update generated files for copyright year and bracket style

This commit is contained in:
Marshall Greenblatt
2023-01-02 17:47:15 -05:00
parent c7ffa3a122
commit d84b07a5cb
759 changed files with 12777 additions and 7149 deletions

View File

@@ -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=4e776c8db93f07efd47e80fe380071539e94ec81$
// $hash=87511af5e1a3eebefe2fa90759274ac14cdbda62$
//
#include "libcef_dll/cpptoc/views/button_delegate_cpptoc.h"
@@ -30,12 +30,14 @@ button_delegate_on_button_pressed(struct _cef_button_delegate_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Verify param: button; type: refptr_diff
DCHECK(button);
if (!button)
if (!button) {
return;
}
// Execute
CefButtonDelegateCppToC::Get(self)->OnButtonPressed(
@@ -50,12 +52,14 @@ button_delegate_on_button_state_changed(struct _cef_button_delegate_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Verify param: button; type: refptr_diff
DCHECK(button);
if (!button)
if (!button) {
return;
}
// Execute
CefButtonDelegateCppToC::Get(self)->OnButtonStateChanged(
@@ -70,12 +74,14 @@ button_delegate_get_preferred_size(struct _cef_view_delegate_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return CefSize();
}
// Verify param: view; type: refptr_diff
DCHECK(view);
if (!view)
if (!view) {
return CefSize();
}
// Execute
cef_size_t _retval = CefButtonDelegateCppToC::Get(
@@ -94,12 +100,14 @@ button_delegate_get_minimum_size(struct _cef_view_delegate_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return CefSize();
}
// Verify param: view; type: refptr_diff
DCHECK(view);
if (!view)
if (!view) {
return CefSize();
}
// Execute
cef_size_t _retval = CefButtonDelegateCppToC::Get(
@@ -118,12 +126,14 @@ button_delegate_get_maximum_size(struct _cef_view_delegate_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return CefSize();
}
// Verify param: view; type: refptr_diff
DCHECK(view);
if (!view)
if (!view) {
return CefSize();
}
// Execute
cef_size_t _retval = CefButtonDelegateCppToC::Get(
@@ -143,12 +153,14 @@ button_delegate_get_height_for_width(struct _cef_view_delegate_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return 0;
}
// Verify param: view; type: refptr_diff
DCHECK(view);
if (!view)
if (!view) {
return 0;
}
// Execute
int _retval = CefButtonDelegateCppToC::Get(
@@ -169,16 +181,19 @@ button_delegate_on_parent_view_changed(struct _cef_view_delegate_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Verify param: view; type: refptr_diff
DCHECK(view);
if (!view)
if (!view) {
return;
}
// Verify param: parent; type: refptr_diff
DCHECK(parent);
if (!parent)
if (!parent) {
return;
}
// Execute
CefButtonDelegateCppToC::Get(reinterpret_cast<cef_button_delegate_t*>(self))
@@ -196,16 +211,19 @@ button_delegate_on_child_view_changed(struct _cef_view_delegate_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Verify param: view; type: refptr_diff
DCHECK(view);
if (!view)
if (!view) {
return;
}
// Verify param: child; type: refptr_diff
DCHECK(child);
if (!child)
if (!child) {
return;
}
// Execute
CefButtonDelegateCppToC::Get(reinterpret_cast<cef_button_delegate_t*>(self))
@@ -222,12 +240,14 @@ button_delegate_on_window_changed(struct _cef_view_delegate_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Verify param: view; type: refptr_diff
DCHECK(view);
if (!view)
if (!view) {
return;
}
// Execute
CefButtonDelegateCppToC::Get(reinterpret_cast<cef_button_delegate_t*>(self))
@@ -243,16 +263,19 @@ button_delegate_on_layout_changed(struct _cef_view_delegate_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Verify param: view; type: refptr_diff
DCHECK(view);
if (!view)
if (!view) {
return;
}
// Verify param: new_bounds; type: simple_byref_const
DCHECK(new_bounds);
if (!new_bounds)
if (!new_bounds) {
return;
}
// Translate param: new_bounds; type: simple_byref_const
CefRect new_boundsVal = new_bounds ? *new_bounds : CefRect();
@@ -269,12 +292,14 @@ void CEF_CALLBACK button_delegate_on_focus(struct _cef_view_delegate_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Verify param: view; type: refptr_diff
DCHECK(view);
if (!view)
if (!view) {
return;
}
// Execute
CefButtonDelegateCppToC::Get(reinterpret_cast<cef_button_delegate_t*>(self))
@@ -288,12 +313,14 @@ void CEF_CALLBACK button_delegate_on_blur(struct _cef_view_delegate_t* self,
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
if (!self)
if (!self) {
return;
}
// Verify param: view; type: refptr_diff
DCHECK(view);
if (!view)
if (!view) {
return;
}
// Execute
CefButtonDelegateCppToC::Get(reinterpret_cast<cef_button_delegate_t*>(self))