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=60978f71bb9089d32a89bed17af584bd83a4678d$
|
||||
// $hash=f104fb8a49bd3ad2cfc7f638995bbd04e1bbbd5b$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/overlay_controller_ctocpp.h"
|
||||
@@ -23,8 +23,9 @@ NO_SANITIZE("cfi-icall") bool CefOverlayControllerCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_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
|
||||
|
||||
@@ -40,15 +41,17 @@ bool CefOverlayControllerCToCpp::IsSame(CefRefPtr<CefOverlayController> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_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 =
|
||||
@@ -63,8 +66,9 @@ CefRefPtr<CefView> CefOverlayControllerCToCpp::GetContentsView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_contents_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_contents_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -80,8 +84,9 @@ CefRefPtr<CefWindow> CefOverlayControllerCToCpp::GetWindow() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -97,8 +102,9 @@ cef_docking_mode_t CefOverlayControllerCToCpp::GetDockingMode() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_docking_mode))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_docking_mode)) {
|
||||
return CEF_DOCKING_MODE_TOP_LEFT;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -113,8 +119,9 @@ NO_SANITIZE("cfi-icall") void CefOverlayControllerCToCpp::Destroy() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, destroy))
|
||||
if (CEF_MEMBER_MISSING(_struct, destroy)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -127,8 +134,9 @@ void CefOverlayControllerCToCpp::SetBounds(const CefRect& bounds) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -140,8 +148,9 @@ NO_SANITIZE("cfi-icall") CefRect CefOverlayControllerCToCpp::GetBounds() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -157,8 +166,9 @@ CefRect CefOverlayControllerCToCpp::GetBoundsInScreen() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -174,8 +184,9 @@ void CefOverlayControllerCToCpp::SetSize(const CefSize& size) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -187,8 +198,9 @@ NO_SANITIZE("cfi-icall") CefSize CefOverlayControllerCToCpp::GetSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -204,8 +216,9 @@ void CefOverlayControllerCToCpp::SetPosition(const CefPoint& position) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -217,8 +230,9 @@ NO_SANITIZE("cfi-icall") CefPoint CefOverlayControllerCToCpp::GetPosition() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position)) {
|
||||
return CefPoint();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -234,8 +248,9 @@ void CefOverlayControllerCToCpp::SetInsets(const CefInsets& insets) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -247,8 +262,9 @@ NO_SANITIZE("cfi-icall") CefInsets CefOverlayControllerCToCpp::GetInsets() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets)) {
|
||||
return CefInsets();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -264,8 +280,9 @@ void CefOverlayControllerCToCpp::SizeToPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -278,8 +295,9 @@ void CefOverlayControllerCToCpp::SetVisible(bool visible) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -291,8 +309,9 @@ NO_SANITIZE("cfi-icall") bool CefOverlayControllerCToCpp::IsVisible() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -307,8 +326,9 @@ NO_SANITIZE("cfi-icall") bool CefOverlayControllerCToCpp::IsDrawn() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
Reference in New Issue
Block a user