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=6821e9d7130f828fba356cd7a7980f638c8ecf3e$
|
||||
// $hash=2ecf87822e0901130b8738a0e6b0d663129404a2$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/menu_button_ctocpp.h"
|
||||
@@ -39,8 +39,9 @@ CefRefPtr<CefMenuButton> CefMenuButton::CreateMenuButton(
|
||||
|
||||
// Verify param: delegate; type: refptr_diff
|
||||
DCHECK(delegate.get());
|
||||
if (!delegate.get())
|
||||
if (!delegate.get()) {
|
||||
return nullptr;
|
||||
}
|
||||
// Unverified params: text
|
||||
|
||||
// Execute
|
||||
@@ -60,15 +61,17 @@ void CefMenuButtonCToCpp::ShowMenu(CefRefPtr<CefMenuModel> menu_model,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_menu_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, show_menu))
|
||||
if (CEF_MEMBER_MISSING(_struct, show_menu)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: menu_model; type: refptr_same
|
||||
DCHECK(menu_model.get());
|
||||
if (!menu_model.get())
|
||||
if (!menu_model.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->show_menu(_struct, CefMenuModelCToCpp::Unwrap(menu_model),
|
||||
@@ -79,8 +82,9 @@ NO_SANITIZE("cfi-icall") void CefMenuButtonCToCpp::TriggerMenu() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_menu_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, trigger_menu))
|
||||
if (CEF_MEMBER_MISSING(_struct, trigger_menu)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -94,8 +98,9 @@ CefRefPtr<CefMenuButton> CefMenuButtonCToCpp::AsMenuButton() {
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_menu_button))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_menu_button)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -112,15 +117,17 @@ void CefMenuButtonCToCpp::SetText(const CefString& text) {
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_text)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: text; type: string_byref_const
|
||||
DCHECK(!text.empty());
|
||||
if (text.empty())
|
||||
if (text.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_text(_struct, text.GetStruct());
|
||||
@@ -131,8 +138,9 @@ NO_SANITIZE("cfi-icall") CefString CefMenuButtonCToCpp::GetText() {
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_text)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -152,8 +160,9 @@ void CefMenuButtonCToCpp::SetImage(cef_button_state_t button_state,
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_image))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_image)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -170,8 +179,9 @@ CefRefPtr<CefImage> CefMenuButtonCToCpp::GetImage(
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(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
|
||||
|
||||
@@ -189,8 +199,9 @@ void CefMenuButtonCToCpp::SetTextColor(cef_button_state_t for_state,
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_text_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_text_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -204,8 +215,9 @@ void CefMenuButtonCToCpp::SetEnabledTextColors(cef_color_t color) {
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled_text_colors))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled_text_colors)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -219,15 +231,17 @@ void CefMenuButtonCToCpp::SetFontList(const CefString& font_list) {
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_font_list))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_font_list)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: font_list; type: string_byref_const
|
||||
DCHECK(!font_list.empty());
|
||||
if (font_list.empty())
|
||||
if (font_list.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_font_list(_struct, font_list.GetStruct());
|
||||
@@ -240,8 +254,9 @@ void CefMenuButtonCToCpp::SetHorizontalAlignment(
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_horizontal_alignment))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_horizontal_alignment)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -255,8 +270,9 @@ void CefMenuButtonCToCpp::SetMinimumSize(const CefSize& size) {
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_minimum_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -270,8 +286,9 @@ void CefMenuButtonCToCpp::SetMaximumSize(const CefSize& size) {
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_maximum_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -284,8 +301,9 @@ CefRefPtr<CefLabelButton> CefMenuButtonCToCpp::AsLabelButton() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(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
|
||||
|
||||
@@ -301,8 +319,9 @@ void CefMenuButtonCToCpp::SetState(cef_button_state_t state) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_state))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_state)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -314,8 +333,9 @@ NO_SANITIZE("cfi-icall") cef_button_state_t CefMenuButtonCToCpp::GetState() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(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
|
||||
|
||||
@@ -331,8 +351,9 @@ void CefMenuButtonCToCpp::SetInkDropEnabled(bool enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(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
|
||||
|
||||
@@ -345,15 +366,17 @@ void CefMenuButtonCToCpp::SetTooltipText(const CefString& tooltip_text) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(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());
|
||||
@@ -364,15 +387,17 @@ void CefMenuButtonCToCpp::SetAccessibleName(const CefString& name) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(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());
|
||||
@@ -383,8 +408,9 @@ CefRefPtr<CefBrowserView> CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -399,8 +425,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefButton> CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -415,8 +442,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefPanel> CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -432,8 +460,9 @@ CefRefPtr<CefScrollView> CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -449,8 +478,9 @@ CefRefPtr<CefTextfield> CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -465,8 +495,9 @@ NO_SANITIZE("cfi-icall") CefString CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -484,8 +515,9 @@ CefString CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -502,8 +534,9 @@ NO_SANITIZE("cfi-icall") bool CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -518,8 +551,9 @@ NO_SANITIZE("cfi-icall") bool CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -535,15 +569,17 @@ bool CefMenuButtonCToCpp::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));
|
||||
@@ -557,8 +593,9 @@ CefRefPtr<CefViewDelegate> CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -573,8 +610,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefWindow> CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -589,8 +627,9 @@ NO_SANITIZE("cfi-icall") int CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -605,8 +644,9 @@ NO_SANITIZE("cfi-icall") void CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -618,8 +658,9 @@ NO_SANITIZE("cfi-icall") int CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -634,8 +675,9 @@ NO_SANITIZE("cfi-icall") void CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -648,8 +690,9 @@ CefRefPtr<CefView> CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -665,8 +708,9 @@ CefRefPtr<CefView> CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -682,8 +726,9 @@ void CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -695,8 +740,9 @@ NO_SANITIZE("cfi-icall") CefRect CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -711,8 +757,9 @@ NO_SANITIZE("cfi-icall") CefRect CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -728,8 +775,9 @@ void CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -741,8 +789,9 @@ NO_SANITIZE("cfi-icall") CefSize CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -758,8 +807,9 @@ void CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -771,8 +821,9 @@ NO_SANITIZE("cfi-icall") CefPoint CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -788,8 +839,9 @@ void CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -801,8 +853,9 @@ NO_SANITIZE("cfi-icall") CefInsets CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -817,8 +870,9 @@ NO_SANITIZE("cfi-icall") CefSize CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -833,8 +887,9 @@ NO_SANITIZE("cfi-icall") void CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -846,8 +901,9 @@ NO_SANITIZE("cfi-icall") CefSize CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -862,8 +918,9 @@ NO_SANITIZE("cfi-icall") CefSize CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -878,8 +935,9 @@ NO_SANITIZE("cfi-icall") int CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -894,8 +952,9 @@ NO_SANITIZE("cfi-icall") void CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -907,8 +966,9 @@ NO_SANITIZE("cfi-icall") void CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -920,8 +980,9 @@ NO_SANITIZE("cfi-icall") bool CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -936,8 +997,9 @@ NO_SANITIZE("cfi-icall") bool CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -952,8 +1014,9 @@ NO_SANITIZE("cfi-icall") void CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -965,8 +1028,9 @@ NO_SANITIZE("cfi-icall") bool CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -982,8 +1046,9 @@ void CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -995,8 +1060,9 @@ NO_SANITIZE("cfi-icall") bool CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -1011,8 +1077,9 @@ NO_SANITIZE("cfi-icall") bool CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -1027,8 +1094,9 @@ NO_SANITIZE("cfi-icall") void CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -1041,8 +1109,9 @@ void CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -1054,8 +1123,9 @@ NO_SANITIZE("cfi-icall") cef_color_t CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -1071,8 +1141,9 @@ bool CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -1088,8 +1159,9 @@ bool CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -1105,8 +1177,9 @@ bool CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -1122,8 +1195,9 @@ bool CefMenuButtonCToCpp::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
|
||||
|
||||
@@ -1140,15 +1214,17 @@ bool CefMenuButtonCToCpp::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(
|
||||
@@ -1164,15 +1240,17 @@ bool CefMenuButtonCToCpp::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