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=c32cf44685b993619659ae5f6fb681e40d0b4cd9$
|
||||
// $hash=b82103e68fffd36a97aa8d9784a1f2def77a6fab$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/views/label_button_cpptoc.h"
|
||||
@ -37,8 +37,9 @@ CEF_EXPORT cef_label_button_t* cef_label_button_create(
|
||||
|
||||
// Verify param: delegate; type: refptr_diff
|
||||
DCHECK(delegate);
|
||||
if (!delegate)
|
||||
if (!delegate) {
|
||||
return NULL;
|
||||
}
|
||||
// Unverified params: text
|
||||
|
||||
// Execute
|
||||
@ -60,8 +61,9 @@ label_button_as_menu_button(struct _cef_label_button_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefMenuButton> _retval =
|
||||
@ -78,12 +80,14 @@ void CEF_CALLBACK label_button_set_text(struct _cef_label_button_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: text; type: string_byref_const
|
||||
DCHECK(text);
|
||||
if (!text)
|
||||
if (!text) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(self)->SetText(CefString(text));
|
||||
@ -96,8 +100,9 @@ label_button_get_text(struct _cef_label_button_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefLabelButtonCppToC::Get(self)->GetText();
|
||||
@ -114,8 +119,9 @@ void CEF_CALLBACK label_button_set_image(struct _cef_label_button_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: image
|
||||
|
||||
// Execute
|
||||
@ -131,8 +137,9 @@ label_button_get_image(struct _cef_label_button_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefImage> _retval =
|
||||
@ -150,8 +157,9 @@ void CEF_CALLBACK label_button_set_text_color(struct _cef_label_button_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(self)->SetTextColor(for_state, color);
|
||||
@ -165,8 +173,9 @@ label_button_set_enabled_text_colors(struct _cef_label_button_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(self)->SetEnabledTextColors(color);
|
||||
@ -179,12 +188,14 @@ void CEF_CALLBACK label_button_set_font_list(struct _cef_label_button_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: font_list; type: string_byref_const
|
||||
DCHECK(font_list);
|
||||
if (!font_list)
|
||||
if (!font_list) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(self)->SetFontList(CefString(font_list));
|
||||
@ -198,8 +209,9 @@ label_button_set_horizontal_alignment(struct _cef_label_button_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(self)->SetHorizontalAlignment(alignment);
|
||||
@ -213,12 +225,14 @@ label_button_set_minimum_size(struct _cef_label_button_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: size; type: simple_byref_const
|
||||
DCHECK(size);
|
||||
if (!size)
|
||||
if (!size) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: size; type: simple_byref_const
|
||||
CefSize sizeVal = size ? *size : CefSize();
|
||||
@ -235,12 +249,14 @@ label_button_set_maximum_size(struct _cef_label_button_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: size; type: simple_byref_const
|
||||
DCHECK(size);
|
||||
if (!size)
|
||||
if (!size) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: size; type: simple_byref_const
|
||||
CefSize sizeVal = size ? *size : CefSize();
|
||||
@ -256,8 +272,9 @@ label_button_as_label_button(struct _cef_button_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefLabelButton> _retval =
|
||||
@ -275,8 +292,9 @@ void CEF_CALLBACK label_button_set_state(struct _cef_button_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(reinterpret_cast<cef_label_button_t*>(self))
|
||||
@ -290,8 +308,9 @@ label_button_get_state(struct _cef_button_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CEF_BUTTON_STATE_NORMAL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_button_state_t _retval =
|
||||
@ -309,8 +328,9 @@ void CEF_CALLBACK label_button_set_ink_drop_enabled(struct _cef_button_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(reinterpret_cast<cef_label_button_t*>(self))
|
||||
@ -325,12 +345,14 @@ label_button_set_tooltip_text(struct _cef_button_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: tooltip_text; type: string_byref_const
|
||||
DCHECK(tooltip_text);
|
||||
if (!tooltip_text)
|
||||
if (!tooltip_text) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(reinterpret_cast<cef_label_button_t*>(self))
|
||||
@ -344,12 +366,14 @@ void CEF_CALLBACK label_button_set_accessible_name(struct _cef_button_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: name; type: string_byref_const
|
||||
DCHECK(name);
|
||||
if (!name)
|
||||
if (!name) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(reinterpret_cast<cef_label_button_t*>(self))
|
||||
@ -363,8 +387,9 @@ label_button_as_browser_view(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefBrowserView> _retval =
|
||||
@ -381,8 +406,9 @@ cef_button_t* CEF_CALLBACK label_button_as_button(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefButton> _retval =
|
||||
@ -399,8 +425,9 @@ cef_panel_t* CEF_CALLBACK label_button_as_panel(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefPanel> _retval =
|
||||
@ -418,8 +445,9 @@ label_button_as_scroll_view(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefScrollView> _retval =
|
||||
@ -437,8 +465,9 @@ label_button_as_textfield(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefTextfield> _retval =
|
||||
@ -456,8 +485,9 @@ label_button_get_type_string(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval =
|
||||
@ -475,8 +505,9 @@ label_button_to_string(struct _cef_view_t* self, int include_children) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval =
|
||||
@ -493,8 +524,9 @@ int CEF_CALLBACK label_button_is_valid(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@ -511,8 +543,9 @@ int CEF_CALLBACK label_button_is_attached(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@ -530,12 +563,14 @@ int CEF_CALLBACK label_button_is_same(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that);
|
||||
if (!that)
|
||||
if (!that) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@ -553,8 +588,9 @@ label_button_get_delegate(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefViewDelegate> _retval =
|
||||
@ -572,8 +608,9 @@ label_button_get_window(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefWindow> _retval =
|
||||
@ -590,8 +627,9 @@ int CEF_CALLBACK label_button_get_id(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@ -608,8 +646,9 @@ void CEF_CALLBACK label_button_set_id(struct _cef_view_t* self, int id) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(reinterpret_cast<cef_label_button_t*>(self))
|
||||
@ -622,8 +661,9 @@ int CEF_CALLBACK label_button_get_group_id(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@ -641,8 +681,9 @@ void CEF_CALLBACK label_button_set_group_id(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(reinterpret_cast<cef_label_button_t*>(self))
|
||||
@ -656,8 +697,9 @@ label_button_get_parent_view(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefView> _retval =
|
||||
@ -675,8 +717,9 @@ label_button_get_view_for_id(struct _cef_view_t* self, int id) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefView> _retval =
|
||||
@ -694,12 +737,14 @@ void CEF_CALLBACK label_button_set_bounds(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: bounds; type: simple_byref_const
|
||||
DCHECK(bounds);
|
||||
if (!bounds)
|
||||
if (!bounds) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: bounds; type: simple_byref_const
|
||||
CefRect boundsVal = bounds ? *bounds : CefRect();
|
||||
@ -715,8 +760,9 @@ cef_rect_t CEF_CALLBACK label_button_get_bounds(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_rect_t _retval =
|
||||
@ -734,8 +780,9 @@ label_button_get_bounds_in_screen(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_rect_t _retval =
|
||||
@ -753,12 +800,14 @@ void CEF_CALLBACK label_button_set_size(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: size; type: simple_byref_const
|
||||
DCHECK(size);
|
||||
if (!size)
|
||||
if (!size) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: size; type: simple_byref_const
|
||||
CefSize sizeVal = size ? *size : CefSize();
|
||||
@ -774,8 +823,9 @@ cef_size_t CEF_CALLBACK label_button_get_size(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@ -793,12 +843,14 @@ void CEF_CALLBACK label_button_set_position(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: position; type: simple_byref_const
|
||||
DCHECK(position);
|
||||
if (!position)
|
||||
if (!position) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: position; type: simple_byref_const
|
||||
CefPoint positionVal = position ? *position : CefPoint();
|
||||
@ -814,8 +866,9 @@ cef_point_t CEF_CALLBACK label_button_get_position(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CefPoint();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_point_t _retval =
|
||||
@ -833,12 +886,14 @@ void CEF_CALLBACK label_button_set_insets(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: insets; type: simple_byref_const
|
||||
DCHECK(insets);
|
||||
if (!insets)
|
||||
if (!insets) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: insets; type: simple_byref_const
|
||||
CefInsets insetsVal = insets ? *insets : CefInsets();
|
||||
@ -854,8 +909,9 @@ cef_insets_t CEF_CALLBACK label_button_get_insets(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CefInsets();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_insets_t _retval =
|
||||
@ -873,8 +929,9 @@ label_button_get_preferred_size(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@ -892,8 +949,9 @@ label_button_size_to_preferred_size(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(reinterpret_cast<cef_label_button_t*>(self))
|
||||
@ -907,8 +965,9 @@ label_button_get_minimum_size(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@ -926,8 +985,9 @@ label_button_get_maximum_size(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@ -945,8 +1005,9 @@ int CEF_CALLBACK label_button_get_height_for_width(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@ -963,8 +1024,9 @@ void CEF_CALLBACK label_button_invalidate_layout(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(reinterpret_cast<cef_label_button_t*>(self))
|
||||
@ -978,8 +1040,9 @@ void CEF_CALLBACK label_button_set_visible(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(reinterpret_cast<cef_label_button_t*>(self))
|
||||
@ -992,8 +1055,9 @@ int CEF_CALLBACK label_button_is_visible(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@ -1010,8 +1074,9 @@ int CEF_CALLBACK label_button_is_drawn(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@ -1029,8 +1094,9 @@ void CEF_CALLBACK label_button_set_enabled(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(reinterpret_cast<cef_label_button_t*>(self))
|
||||
@ -1043,8 +1109,9 @@ int CEF_CALLBACK label_button_is_enabled(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@ -1062,8 +1129,9 @@ void CEF_CALLBACK label_button_set_focusable(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(reinterpret_cast<cef_label_button_t*>(self))
|
||||
@ -1076,8 +1144,9 @@ int CEF_CALLBACK label_button_is_focusable(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@ -1095,8 +1164,9 @@ label_button_is_accessibility_focusable(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@ -1113,8 +1183,9 @@ void CEF_CALLBACK label_button_request_focus(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(reinterpret_cast<cef_label_button_t*>(self))
|
||||
@ -1128,8 +1199,9 @@ void CEF_CALLBACK label_button_set_background_color(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLabelButtonCppToC::Get(reinterpret_cast<cef_label_button_t*>(self))
|
||||
@ -1143,8 +1215,9 @@ label_button_get_background_color(struct _cef_view_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_color_t _retval =
|
||||
@ -1162,12 +1235,14 @@ int CEF_CALLBACK label_button_convert_point_to_screen(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: point; type: simple_byref
|
||||
DCHECK(point);
|
||||
if (!point)
|
||||
if (!point) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: point; type: simple_byref
|
||||
CefPoint pointVal = point ? *point : CefPoint();
|
||||
@ -1178,8 +1253,9 @@ int CEF_CALLBACK label_button_convert_point_to_screen(struct _cef_view_t* self,
|
||||
->ConvertPointToScreen(pointVal);
|
||||
|
||||
// Restore param: point; type: simple_byref
|
||||
if (point)
|
||||
if (point) {
|
||||
*point = pointVal;
|
||||
}
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
@ -1193,12 +1269,14 @@ label_button_convert_point_from_screen(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: point; type: simple_byref
|
||||
DCHECK(point);
|
||||
if (!point)
|
||||
if (!point) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: point; type: simple_byref
|
||||
CefPoint pointVal = point ? *point : CefPoint();
|
||||
@ -1209,8 +1287,9 @@ label_button_convert_point_from_screen(struct _cef_view_t* self,
|
||||
->ConvertPointFromScreen(pointVal);
|
||||
|
||||
// Restore param: point; type: simple_byref
|
||||
if (point)
|
||||
if (point) {
|
||||
*point = pointVal;
|
||||
}
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
@ -1223,12 +1302,14 @@ int CEF_CALLBACK label_button_convert_point_to_window(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: point; type: simple_byref
|
||||
DCHECK(point);
|
||||
if (!point)
|
||||
if (!point) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: point; type: simple_byref
|
||||
CefPoint pointVal = point ? *point : CefPoint();
|
||||
@ -1239,8 +1320,9 @@ int CEF_CALLBACK label_button_convert_point_to_window(struct _cef_view_t* self,
|
||||
->ConvertPointToWindow(pointVal);
|
||||
|
||||
// Restore param: point; type: simple_byref
|
||||
if (point)
|
||||
if (point) {
|
||||
*point = pointVal;
|
||||
}
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
@ -1254,12 +1336,14 @@ label_button_convert_point_from_window(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: point; type: simple_byref
|
||||
DCHECK(point);
|
||||
if (!point)
|
||||
if (!point) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: point; type: simple_byref
|
||||
CefPoint pointVal = point ? *point : CefPoint();
|
||||
@ -1270,8 +1354,9 @@ label_button_convert_point_from_window(struct _cef_view_t* self,
|
||||
->ConvertPointFromWindow(pointVal);
|
||||
|
||||
// Restore param: point; type: simple_byref
|
||||
if (point)
|
||||
if (point) {
|
||||
*point = pointVal;
|
||||
}
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
@ -1285,16 +1370,19 @@ int CEF_CALLBACK label_button_convert_point_to_view(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view);
|
||||
if (!view)
|
||||
if (!view) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: point; type: simple_byref
|
||||
DCHECK(point);
|
||||
if (!point)
|
||||
if (!point) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: point; type: simple_byref
|
||||
CefPoint pointVal = point ? *point : CefPoint();
|
||||
@ -1305,8 +1393,9 @@ int CEF_CALLBACK label_button_convert_point_to_view(struct _cef_view_t* self,
|
||||
->ConvertPointToView(CefViewCppToC::Unwrap(view), pointVal);
|
||||
|
||||
// Restore param: point; type: simple_byref
|
||||
if (point)
|
||||
if (point) {
|
||||
*point = pointVal;
|
||||
}
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
@ -1320,16 +1409,19 @@ int CEF_CALLBACK label_button_convert_point_from_view(struct _cef_view_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view);
|
||||
if (!view)
|
||||
if (!view) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: point; type: simple_byref
|
||||
DCHECK(point);
|
||||
if (!point)
|
||||
if (!point) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: point; type: simple_byref
|
||||
CefPoint pointVal = point ? *point : CefPoint();
|
||||
@ -1340,8 +1432,9 @@ int CEF_CALLBACK label_button_convert_point_from_view(struct _cef_view_t* self,
|
||||
->ConvertPointFromView(CefViewCppToC::Unwrap(view), pointVal);
|
||||
|
||||
// Restore param: point; type: simple_byref
|
||||
if (point)
|
||||
if (point) {
|
||||
*point = pointVal;
|
||||
}
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
|
Reference in New Issue
Block a user