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=9b1509d1105e3075a13563aa5e892833abcda54a$
|
||||
// $hash=21ad12e2611fc02420e4105826b5e38fed399c1c$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/button_ctocpp.h"
|
||||
@@ -31,8 +31,9 @@ CefRefPtr<CefLabelButton> CefButtonCToCpp::AsLabelButton() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, as_label_button))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_label_button)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -48,8 +49,9 @@ void CefButtonCToCpp::SetState(cef_button_state_t state) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_state))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_state)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -61,8 +63,9 @@ NO_SANITIZE("cfi-icall") cef_button_state_t CefButtonCToCpp::GetState() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_state))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_state)) {
|
||||
return CEF_BUTTON_STATE_NORMAL;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -77,8 +80,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::SetInkDropEnabled(bool enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_ink_drop_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_ink_drop_enabled)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -91,15 +95,17 @@ void CefButtonCToCpp::SetTooltipText(const CefString& tooltip_text) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_tooltip_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_tooltip_text)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: tooltip_text; type: string_byref_const
|
||||
DCHECK(!tooltip_text.empty());
|
||||
if (tooltip_text.empty())
|
||||
if (tooltip_text.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_tooltip_text(_struct, tooltip_text.GetStruct());
|
||||
@@ -110,15 +116,17 @@ void CefButtonCToCpp::SetAccessibleName(const CefString& name) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_accessible_name))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_accessible_name)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_accessible_name(_struct, name.GetStruct());
|
||||
@@ -129,8 +137,9 @@ CefRefPtr<CefBrowserView> CefButtonCToCpp::AsBrowserView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -145,8 +154,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefButton> CefButtonCToCpp::AsButton() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -161,8 +171,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefPanel> CefButtonCToCpp::AsPanel() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -178,8 +189,9 @@ CefRefPtr<CefScrollView> CefButtonCToCpp::AsScrollView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -195,8 +207,9 @@ CefRefPtr<CefTextfield> CefButtonCToCpp::AsTextfield() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -211,8 +224,9 @@ NO_SANITIZE("cfi-icall") CefString CefButtonCToCpp::GetTypeString() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -230,8 +244,9 @@ CefString CefButtonCToCpp::ToString(bool include_children) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -248,8 +263,9 @@ NO_SANITIZE("cfi-icall") bool CefButtonCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(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
|
||||
|
||||
@@ -264,8 +280,9 @@ NO_SANITIZE("cfi-icall") bool CefButtonCToCpp::IsAttached() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -280,15 +297,17 @@ NO_SANITIZE("cfi-icall") bool CefButtonCToCpp::IsSame(CefRefPtr<CefView> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(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, CefViewCToCpp::Unwrap(that));
|
||||
@@ -302,8 +321,9 @@ CefRefPtr<CefViewDelegate> CefButtonCToCpp::GetDelegate() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -318,8 +338,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefWindow> CefButtonCToCpp::GetWindow() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(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
|
||||
|
||||
@@ -334,8 +355,9 @@ NO_SANITIZE("cfi-icall") int CefButtonCToCpp::GetID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -350,8 +372,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::SetID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -363,8 +386,9 @@ NO_SANITIZE("cfi-icall") int CefButtonCToCpp::GetGroupID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -379,8 +403,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::SetGroupID(int group_id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -392,8 +417,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefView> CefButtonCToCpp::GetParentView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -409,8 +435,9 @@ CefRefPtr<CefView> CefButtonCToCpp::GetViewForID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -426,8 +453,9 @@ void CefButtonCToCpp::SetBounds(const CefRect& bounds) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -439,8 +467,9 @@ NO_SANITIZE("cfi-icall") CefRect CefButtonCToCpp::GetBounds() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(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
|
||||
|
||||
@@ -455,8 +484,9 @@ NO_SANITIZE("cfi-icall") CefRect CefButtonCToCpp::GetBoundsInScreen() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(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
|
||||
|
||||
@@ -471,8 +501,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::SetSize(const CefSize& size) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -484,8 +515,9 @@ NO_SANITIZE("cfi-icall") CefSize CefButtonCToCpp::GetSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(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
|
||||
|
||||
@@ -501,8 +533,9 @@ void CefButtonCToCpp::SetPosition(const CefPoint& position) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -514,8 +547,9 @@ NO_SANITIZE("cfi-icall") CefPoint CefButtonCToCpp::GetPosition() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(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
|
||||
|
||||
@@ -531,8 +565,9 @@ void CefButtonCToCpp::SetInsets(const CefInsets& insets) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -544,8 +579,9 @@ NO_SANITIZE("cfi-icall") CefInsets CefButtonCToCpp::GetInsets() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(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
|
||||
|
||||
@@ -560,8 +596,9 @@ NO_SANITIZE("cfi-icall") CefSize CefButtonCToCpp::GetPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -576,8 +613,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::SizeToPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(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
|
||||
|
||||
@@ -589,8 +627,9 @@ NO_SANITIZE("cfi-icall") CefSize CefButtonCToCpp::GetMinimumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -605,8 +644,9 @@ NO_SANITIZE("cfi-icall") CefSize CefButtonCToCpp::GetMaximumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -621,8 +661,9 @@ NO_SANITIZE("cfi-icall") int CefButtonCToCpp::GetHeightForWidth(int width) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -637,8 +678,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::InvalidateLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -650,8 +692,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::SetVisible(bool visible) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -663,8 +706,9 @@ NO_SANITIZE("cfi-icall") bool CefButtonCToCpp::IsVisible() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(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
|
||||
|
||||
@@ -679,8 +723,9 @@ NO_SANITIZE("cfi-icall") bool CefButtonCToCpp::IsDrawn() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(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
|
||||
|
||||
@@ -695,8 +740,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::SetEnabled(bool enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -708,8 +754,9 @@ NO_SANITIZE("cfi-icall") bool CefButtonCToCpp::IsEnabled() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -724,8 +771,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::SetFocusable(bool focusable) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -737,8 +785,9 @@ NO_SANITIZE("cfi-icall") bool CefButtonCToCpp::IsFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -753,8 +802,9 @@ NO_SANITIZE("cfi-icall") bool CefButtonCToCpp::IsAccessibilityFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -769,8 +819,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::RequestFocus() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -783,8 +834,9 @@ void CefButtonCToCpp::SetBackgroundColor(cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -796,8 +848,9 @@ NO_SANITIZE("cfi-icall") cef_color_t CefButtonCToCpp::GetBackgroundColor() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -813,8 +866,9 @@ bool CefButtonCToCpp::ConvertPointToScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -830,8 +884,9 @@ bool CefButtonCToCpp::ConvertPointFromScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -847,8 +902,9 @@ bool CefButtonCToCpp::ConvertPointToWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -864,8 +920,9 @@ bool CefButtonCToCpp::ConvertPointFromWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -882,15 +939,17 @@ bool CefButtonCToCpp::ConvertPointToView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_to_view(
|
||||
@@ -906,15 +965,17 @@ bool CefButtonCToCpp::ConvertPointFromView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_from_view(
|
||||
|
Reference in New Issue
Block a user