mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Implement new approach for debugging leaked wrapper object references (issue #2593)
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=22646f79cfb1cb3ecfdb36df6110c3942363da48$
|
||||
// $hash=2be3b25e13c832868534bcebfad46e357abc4b91$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/views/textfield_cpptoc.h"
|
||||
@ -21,11 +21,14 @@
|
||||
#include "libcef_dll/cpptoc/views/window_cpptoc.h"
|
||||
#include "libcef_dll/ctocpp/views/textfield_delegate_ctocpp.h"
|
||||
#include "libcef_dll/ctocpp/views/view_delegate_ctocpp.h"
|
||||
#include "libcef_dll/shutdown_checker.h"
|
||||
|
||||
// GLOBAL FUNCTIONS - Body may be edited by hand.
|
||||
|
||||
CEF_EXPORT cef_textfield_t* cef_textfield_create(
|
||||
cef_textfield_delegate_t* delegate) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Unverified params: delegate
|
||||
@ -44,6 +47,8 @@ namespace {
|
||||
|
||||
void CEF_CALLBACK textfield_set_password_input(struct _cef_textfield_t* self,
|
||||
int password_input) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -56,6 +61,8 @@ void CEF_CALLBACK textfield_set_password_input(struct _cef_textfield_t* self,
|
||||
}
|
||||
|
||||
int CEF_CALLBACK textfield_is_password_input(struct _cef_textfield_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -71,6 +78,8 @@ int CEF_CALLBACK textfield_is_password_input(struct _cef_textfield_t* self) {
|
||||
|
||||
void CEF_CALLBACK textfield_set_read_only(struct _cef_textfield_t* self,
|
||||
int read_only) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -82,6 +91,8 @@ void CEF_CALLBACK textfield_set_read_only(struct _cef_textfield_t* self,
|
||||
}
|
||||
|
||||
int CEF_CALLBACK textfield_is_read_only(struct _cef_textfield_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -97,6 +108,8 @@ int CEF_CALLBACK textfield_is_read_only(struct _cef_textfield_t* self) {
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK
|
||||
textfield_get_text(struct _cef_textfield_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -112,6 +125,8 @@ textfield_get_text(struct _cef_textfield_t* self) {
|
||||
|
||||
void CEF_CALLBACK textfield_set_text(struct _cef_textfield_t* self,
|
||||
const cef_string_t* text) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -128,6 +143,8 @@ void CEF_CALLBACK textfield_set_text(struct _cef_textfield_t* self,
|
||||
|
||||
void CEF_CALLBACK textfield_append_text(struct _cef_textfield_t* self,
|
||||
const cef_string_t* text) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -145,6 +162,8 @@ void CEF_CALLBACK textfield_append_text(struct _cef_textfield_t* self,
|
||||
void CEF_CALLBACK
|
||||
textfield_insert_or_replace_text(struct _cef_textfield_t* self,
|
||||
const cef_string_t* text) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -160,6 +179,8 @@ textfield_insert_or_replace_text(struct _cef_textfield_t* self,
|
||||
}
|
||||
|
||||
int CEF_CALLBACK textfield_has_selection(struct _cef_textfield_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -175,6 +196,8 @@ int CEF_CALLBACK textfield_has_selection(struct _cef_textfield_t* self) {
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK
|
||||
textfield_get_selected_text(struct _cef_textfield_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -190,6 +213,8 @@ textfield_get_selected_text(struct _cef_textfield_t* self) {
|
||||
|
||||
void CEF_CALLBACK textfield_select_all(struct _cef_textfield_t* self,
|
||||
int reversed) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -201,6 +226,8 @@ void CEF_CALLBACK textfield_select_all(struct _cef_textfield_t* self,
|
||||
}
|
||||
|
||||
void CEF_CALLBACK textfield_clear_selection(struct _cef_textfield_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -213,6 +240,8 @@ void CEF_CALLBACK textfield_clear_selection(struct _cef_textfield_t* self) {
|
||||
|
||||
cef_range_t CEF_CALLBACK
|
||||
textfield_get_selected_range(struct _cef_textfield_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -228,6 +257,8 @@ textfield_get_selected_range(struct _cef_textfield_t* self) {
|
||||
|
||||
void CEF_CALLBACK textfield_select_range(struct _cef_textfield_t* self,
|
||||
const cef_range_t* range) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -247,6 +278,8 @@ void CEF_CALLBACK textfield_select_range(struct _cef_textfield_t* self,
|
||||
|
||||
size_t CEF_CALLBACK
|
||||
textfield_get_cursor_position(struct _cef_textfield_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -262,6 +295,8 @@ textfield_get_cursor_position(struct _cef_textfield_t* self) {
|
||||
|
||||
void CEF_CALLBACK textfield_set_text_color(struct _cef_textfield_t* self,
|
||||
cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -274,6 +309,8 @@ void CEF_CALLBACK textfield_set_text_color(struct _cef_textfield_t* self,
|
||||
|
||||
cef_color_t CEF_CALLBACK
|
||||
textfield_get_text_color(struct _cef_textfield_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -290,6 +327,8 @@ textfield_get_text_color(struct _cef_textfield_t* self) {
|
||||
void CEF_CALLBACK
|
||||
textfield_set_selection_text_color(struct _cef_textfield_t* self,
|
||||
cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -302,6 +341,8 @@ textfield_set_selection_text_color(struct _cef_textfield_t* self,
|
||||
|
||||
cef_color_t CEF_CALLBACK
|
||||
textfield_get_selection_text_color(struct _cef_textfield_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -318,6 +359,8 @@ textfield_get_selection_text_color(struct _cef_textfield_t* self) {
|
||||
void CEF_CALLBACK
|
||||
textfield_set_selection_background_color(struct _cef_textfield_t* self,
|
||||
cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -330,6 +373,8 @@ textfield_set_selection_background_color(struct _cef_textfield_t* self,
|
||||
|
||||
cef_color_t CEF_CALLBACK
|
||||
textfield_get_selection_background_color(struct _cef_textfield_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -346,6 +391,8 @@ textfield_get_selection_background_color(struct _cef_textfield_t* self) {
|
||||
|
||||
void CEF_CALLBACK textfield_set_font_list(struct _cef_textfield_t* self,
|
||||
const cef_string_t* font_list) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -363,6 +410,8 @@ void CEF_CALLBACK textfield_set_font_list(struct _cef_textfield_t* self,
|
||||
void CEF_CALLBACK textfield_apply_text_color(struct _cef_textfield_t* self,
|
||||
cef_color_t color,
|
||||
const cef_range_t* range) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -384,6 +433,8 @@ void CEF_CALLBACK textfield_apply_text_style(struct _cef_textfield_t* self,
|
||||
cef_text_style_t style,
|
||||
int add,
|
||||
const cef_range_t* range) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -404,6 +455,8 @@ void CEF_CALLBACK textfield_apply_text_style(struct _cef_textfield_t* self,
|
||||
|
||||
int CEF_CALLBACK textfield_is_command_enabled(struct _cef_textfield_t* self,
|
||||
int command_id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -419,6 +472,8 @@ int CEF_CALLBACK textfield_is_command_enabled(struct _cef_textfield_t* self,
|
||||
|
||||
void CEF_CALLBACK textfield_execute_command(struct _cef_textfield_t* self,
|
||||
int command_id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -430,6 +485,8 @@ void CEF_CALLBACK textfield_execute_command(struct _cef_textfield_t* self,
|
||||
}
|
||||
|
||||
void CEF_CALLBACK textfield_clear_edit_history(struct _cef_textfield_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -442,6 +499,8 @@ void CEF_CALLBACK textfield_clear_edit_history(struct _cef_textfield_t* self) {
|
||||
|
||||
void CEF_CALLBACK textfield_set_placeholder_text(struct _cef_textfield_t* self,
|
||||
const cef_string_t* text) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -458,6 +517,8 @@ void CEF_CALLBACK textfield_set_placeholder_text(struct _cef_textfield_t* self,
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK
|
||||
textfield_get_placeholder_text(struct _cef_textfield_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -474,6 +535,8 @@ textfield_get_placeholder_text(struct _cef_textfield_t* self) {
|
||||
void CEF_CALLBACK
|
||||
textfield_set_placeholder_text_color(struct _cef_textfield_t* self,
|
||||
cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -486,6 +549,8 @@ textfield_set_placeholder_text_color(struct _cef_textfield_t* self,
|
||||
|
||||
void CEF_CALLBACK textfield_set_accessible_name(struct _cef_textfield_t* self,
|
||||
const cef_string_t* name) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -502,6 +567,8 @@ void CEF_CALLBACK textfield_set_accessible_name(struct _cef_textfield_t* self,
|
||||
|
||||
cef_browser_view_t* CEF_CALLBACK
|
||||
textfield_as_browser_view(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -518,6 +585,8 @@ textfield_as_browser_view(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
cef_button_t* CEF_CALLBACK textfield_as_button(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -534,6 +603,8 @@ cef_button_t* CEF_CALLBACK textfield_as_button(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
cef_panel_t* CEF_CALLBACK textfield_as_panel(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -551,6 +622,8 @@ cef_panel_t* CEF_CALLBACK textfield_as_panel(struct _cef_view_t* self) {
|
||||
|
||||
cef_scroll_view_t* CEF_CALLBACK
|
||||
textfield_as_scroll_view(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -567,6 +640,8 @@ textfield_as_scroll_view(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
cef_textfield_t* CEF_CALLBACK textfield_as_textfield(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -584,6 +659,8 @@ cef_textfield_t* CEF_CALLBACK textfield_as_textfield(struct _cef_view_t* self) {
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK
|
||||
textfield_get_type_string(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -601,6 +678,8 @@ textfield_get_type_string(struct _cef_view_t* self) {
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK textfield_to_string(struct _cef_view_t* self,
|
||||
int include_children) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -617,6 +696,8 @@ cef_string_userfree_t CEF_CALLBACK textfield_to_string(struct _cef_view_t* self,
|
||||
}
|
||||
|
||||
int CEF_CALLBACK textfield_is_valid(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -633,6 +714,8 @@ int CEF_CALLBACK textfield_is_valid(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
int CEF_CALLBACK textfield_is_attached(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -650,6 +733,8 @@ int CEF_CALLBACK textfield_is_attached(struct _cef_view_t* self) {
|
||||
|
||||
int CEF_CALLBACK textfield_is_same(struct _cef_view_t* self,
|
||||
struct _cef_view_t* that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -671,6 +756,8 @@ int CEF_CALLBACK textfield_is_same(struct _cef_view_t* self,
|
||||
|
||||
struct _cef_view_delegate_t* CEF_CALLBACK
|
||||
textfield_get_delegate(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -688,6 +775,8 @@ textfield_get_delegate(struct _cef_view_t* self) {
|
||||
|
||||
struct _cef_window_t* CEF_CALLBACK
|
||||
textfield_get_window(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -704,6 +793,8 @@ textfield_get_window(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
int CEF_CALLBACK textfield_get_id(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -720,6 +811,8 @@ int CEF_CALLBACK textfield_get_id(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
void CEF_CALLBACK textfield_set_id(struct _cef_view_t* self, int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -731,6 +824,8 @@ void CEF_CALLBACK textfield_set_id(struct _cef_view_t* self, int id) {
|
||||
}
|
||||
|
||||
int CEF_CALLBACK textfield_get_group_id(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -748,6 +843,8 @@ int CEF_CALLBACK textfield_get_group_id(struct _cef_view_t* self) {
|
||||
|
||||
void CEF_CALLBACK textfield_set_group_id(struct _cef_view_t* self,
|
||||
int group_id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -761,6 +858,8 @@ void CEF_CALLBACK textfield_set_group_id(struct _cef_view_t* self,
|
||||
|
||||
struct _cef_view_t* CEF_CALLBACK
|
||||
textfield_get_parent_view(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -778,6 +877,8 @@ textfield_get_parent_view(struct _cef_view_t* self) {
|
||||
|
||||
struct _cef_view_t* CEF_CALLBACK
|
||||
textfield_get_view_for_id(struct _cef_view_t* self, int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -795,6 +896,8 @@ textfield_get_view_for_id(struct _cef_view_t* self, int id) {
|
||||
|
||||
void CEF_CALLBACK textfield_set_bounds(struct _cef_view_t* self,
|
||||
const cef_rect_t* bounds) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -814,6 +917,8 @@ void CEF_CALLBACK textfield_set_bounds(struct _cef_view_t* self,
|
||||
}
|
||||
|
||||
cef_rect_t CEF_CALLBACK textfield_get_bounds(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -831,6 +936,8 @@ cef_rect_t CEF_CALLBACK textfield_get_bounds(struct _cef_view_t* self) {
|
||||
|
||||
cef_rect_t CEF_CALLBACK
|
||||
textfield_get_bounds_in_screen(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -848,6 +955,8 @@ textfield_get_bounds_in_screen(struct _cef_view_t* self) {
|
||||
|
||||
void CEF_CALLBACK textfield_set_size(struct _cef_view_t* self,
|
||||
const cef_size_t* size) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -867,6 +976,8 @@ void CEF_CALLBACK textfield_set_size(struct _cef_view_t* self,
|
||||
}
|
||||
|
||||
cef_size_t CEF_CALLBACK textfield_get_size(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -884,6 +995,8 @@ cef_size_t CEF_CALLBACK textfield_get_size(struct _cef_view_t* self) {
|
||||
|
||||
void CEF_CALLBACK textfield_set_position(struct _cef_view_t* self,
|
||||
const cef_point_t* position) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -903,6 +1016,8 @@ void CEF_CALLBACK textfield_set_position(struct _cef_view_t* self,
|
||||
}
|
||||
|
||||
cef_point_t CEF_CALLBACK textfield_get_position(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -919,6 +1034,8 @@ cef_point_t CEF_CALLBACK textfield_get_position(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
cef_size_t CEF_CALLBACK textfield_get_preferred_size(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -935,6 +1052,8 @@ cef_size_t CEF_CALLBACK textfield_get_preferred_size(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
void CEF_CALLBACK textfield_size_to_preferred_size(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -947,6 +1066,8 @@ void CEF_CALLBACK textfield_size_to_preferred_size(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
cef_size_t CEF_CALLBACK textfield_get_minimum_size(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -963,6 +1084,8 @@ cef_size_t CEF_CALLBACK textfield_get_minimum_size(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
cef_size_t CEF_CALLBACK textfield_get_maximum_size(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -980,6 +1103,8 @@ cef_size_t CEF_CALLBACK textfield_get_maximum_size(struct _cef_view_t* self) {
|
||||
|
||||
int CEF_CALLBACK textfield_get_height_for_width(struct _cef_view_t* self,
|
||||
int width) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -996,6 +1121,8 @@ int CEF_CALLBACK textfield_get_height_for_width(struct _cef_view_t* self,
|
||||
}
|
||||
|
||||
void CEF_CALLBACK textfield_invalidate_layout(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1008,6 +1135,8 @@ void CEF_CALLBACK textfield_invalidate_layout(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
void CEF_CALLBACK textfield_set_visible(struct _cef_view_t* self, int visible) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1020,6 +1149,8 @@ void CEF_CALLBACK textfield_set_visible(struct _cef_view_t* self, int visible) {
|
||||
}
|
||||
|
||||
int CEF_CALLBACK textfield_is_visible(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1036,6 +1167,8 @@ int CEF_CALLBACK textfield_is_visible(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
int CEF_CALLBACK textfield_is_drawn(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1052,6 +1185,8 @@ int CEF_CALLBACK textfield_is_drawn(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
void CEF_CALLBACK textfield_set_enabled(struct _cef_view_t* self, int enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1064,6 +1199,8 @@ void CEF_CALLBACK textfield_set_enabled(struct _cef_view_t* self, int enabled) {
|
||||
}
|
||||
|
||||
int CEF_CALLBACK textfield_is_enabled(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1081,6 +1218,8 @@ int CEF_CALLBACK textfield_is_enabled(struct _cef_view_t* self) {
|
||||
|
||||
void CEF_CALLBACK textfield_set_focusable(struct _cef_view_t* self,
|
||||
int focusable) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1093,6 +1232,8 @@ void CEF_CALLBACK textfield_set_focusable(struct _cef_view_t* self,
|
||||
}
|
||||
|
||||
int CEF_CALLBACK textfield_is_focusable(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1110,6 +1251,8 @@ int CEF_CALLBACK textfield_is_focusable(struct _cef_view_t* self) {
|
||||
|
||||
int CEF_CALLBACK
|
||||
textfield_is_accessibility_focusable(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1126,6 +1269,8 @@ textfield_is_accessibility_focusable(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
void CEF_CALLBACK textfield_request_focus(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1139,6 +1284,8 @@ void CEF_CALLBACK textfield_request_focus(struct _cef_view_t* self) {
|
||||
|
||||
void CEF_CALLBACK textfield_set_background_color(struct _cef_view_t* self,
|
||||
cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1152,6 +1299,8 @@ void CEF_CALLBACK textfield_set_background_color(struct _cef_view_t* self,
|
||||
|
||||
cef_color_t CEF_CALLBACK
|
||||
textfield_get_background_color(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1169,6 +1318,8 @@ textfield_get_background_color(struct _cef_view_t* self) {
|
||||
|
||||
int CEF_CALLBACK textfield_convert_point_to_screen(struct _cef_view_t* self,
|
||||
cef_point_t* point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1197,6 +1348,8 @@ int CEF_CALLBACK textfield_convert_point_to_screen(struct _cef_view_t* self,
|
||||
|
||||
int CEF_CALLBACK textfield_convert_point_from_screen(struct _cef_view_t* self,
|
||||
cef_point_t* point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1225,6 +1378,8 @@ int CEF_CALLBACK textfield_convert_point_from_screen(struct _cef_view_t* self,
|
||||
|
||||
int CEF_CALLBACK textfield_convert_point_to_window(struct _cef_view_t* self,
|
||||
cef_point_t* point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1253,6 +1408,8 @@ int CEF_CALLBACK textfield_convert_point_to_window(struct _cef_view_t* self,
|
||||
|
||||
int CEF_CALLBACK textfield_convert_point_from_window(struct _cef_view_t* self,
|
||||
cef_point_t* point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1282,6 +1439,8 @@ int CEF_CALLBACK textfield_convert_point_from_window(struct _cef_view_t* self,
|
||||
int CEF_CALLBACK textfield_convert_point_to_view(struct _cef_view_t* self,
|
||||
struct _cef_view_t* view,
|
||||
cef_point_t* point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1315,6 +1474,8 @@ int CEF_CALLBACK textfield_convert_point_to_view(struct _cef_view_t* self,
|
||||
int CEF_CALLBACK textfield_convert_point_from_view(struct _cef_view_t* self,
|
||||
struct _cef_view_t* view,
|
||||
cef_point_t* point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -1437,6 +1598,12 @@ CefTextfieldCppToC::CefTextfieldCppToC() {
|
||||
GetStruct()->base.convert_point_from_view = textfield_convert_point_from_view;
|
||||
}
|
||||
|
||||
// DESTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefTextfieldCppToC::~CefTextfieldCppToC() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
}
|
||||
|
||||
template <>
|
||||
CefRefPtr<CefTextfield>
|
||||
CefCppToCRefCounted<CefTextfieldCppToC, CefTextfield, cef_textfield_t>::
|
||||
|
Reference in New Issue
Block a user