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=923f9d903634b18aff96ca61d9d4bc402e3be551$
|
||||
// $hash=21ebfcd36a54d1b3004b6e4e1b2ab3760f23110a$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/views/button_cpptoc.h"
|
||||
@ -22,6 +22,7 @@
|
||||
#include "libcef_dll/cpptoc/views/view_cpptoc.h"
|
||||
#include "libcef_dll/cpptoc/views/window_cpptoc.h"
|
||||
#include "libcef_dll/ctocpp/views/view_delegate_ctocpp.h"
|
||||
#include "libcef_dll/shutdown_checker.h"
|
||||
|
||||
namespace {
|
||||
|
||||
@ -29,6 +30,8 @@ namespace {
|
||||
|
||||
cef_label_button_t* CEF_CALLBACK
|
||||
button_as_label_button(struct _cef_button_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -45,6 +48,8 @@ button_as_label_button(struct _cef_button_t* self) {
|
||||
|
||||
void CEF_CALLBACK button_set_state(struct _cef_button_t* self,
|
||||
cef_button_state_t state) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -56,6 +61,8 @@ void CEF_CALLBACK button_set_state(struct _cef_button_t* self,
|
||||
}
|
||||
|
||||
cef_button_state_t CEF_CALLBACK button_get_state(struct _cef_button_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -71,6 +78,8 @@ cef_button_state_t CEF_CALLBACK button_get_state(struct _cef_button_t* self) {
|
||||
|
||||
void CEF_CALLBACK button_set_ink_drop_enabled(struct _cef_button_t* self,
|
||||
int enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -83,6 +92,8 @@ void CEF_CALLBACK button_set_ink_drop_enabled(struct _cef_button_t* self,
|
||||
|
||||
void CEF_CALLBACK button_set_tooltip_text(struct _cef_button_t* self,
|
||||
const cef_string_t* tooltip_text) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -99,6 +110,8 @@ void CEF_CALLBACK button_set_tooltip_text(struct _cef_button_t* self,
|
||||
|
||||
void CEF_CALLBACK button_set_accessible_name(struct _cef_button_t* self,
|
||||
const cef_string_t* name) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -115,6 +128,8 @@ void CEF_CALLBACK button_set_accessible_name(struct _cef_button_t* self,
|
||||
|
||||
cef_browser_view_t* CEF_CALLBACK
|
||||
button_as_browser_view(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -131,6 +146,8 @@ button_as_browser_view(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
cef_button_t* CEF_CALLBACK button_as_button(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -146,6 +163,8 @@ cef_button_t* CEF_CALLBACK button_as_button(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
cef_panel_t* CEF_CALLBACK button_as_panel(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -162,6 +181,8 @@ cef_panel_t* CEF_CALLBACK button_as_panel(struct _cef_view_t* self) {
|
||||
|
||||
cef_scroll_view_t* CEF_CALLBACK
|
||||
button_as_scroll_view(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -178,6 +199,8 @@ button_as_scroll_view(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
cef_textfield_t* CEF_CALLBACK button_as_textfield(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -195,6 +218,8 @@ cef_textfield_t* CEF_CALLBACK button_as_textfield(struct _cef_view_t* self) {
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK
|
||||
button_get_type_string(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -212,6 +237,8 @@ button_get_type_string(struct _cef_view_t* self) {
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK button_to_string(struct _cef_view_t* self,
|
||||
int include_children) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -228,6 +255,8 @@ cef_string_userfree_t CEF_CALLBACK button_to_string(struct _cef_view_t* self,
|
||||
}
|
||||
|
||||
int CEF_CALLBACK button_is_valid(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -243,6 +272,8 @@ int CEF_CALLBACK button_is_valid(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
int CEF_CALLBACK button_is_attached(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -259,6 +290,8 @@ int CEF_CALLBACK button_is_attached(struct _cef_view_t* self) {
|
||||
|
||||
int CEF_CALLBACK button_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);
|
||||
@ -279,6 +312,8 @@ int CEF_CALLBACK button_is_same(struct _cef_view_t* self,
|
||||
|
||||
struct _cef_view_delegate_t* CEF_CALLBACK
|
||||
button_get_delegate(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -295,6 +330,8 @@ button_get_delegate(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
struct _cef_window_t* CEF_CALLBACK button_get_window(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -310,6 +347,8 @@ struct _cef_window_t* CEF_CALLBACK button_get_window(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
int CEF_CALLBACK button_get_id(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -325,6 +364,8 @@ int CEF_CALLBACK button_get_id(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
void CEF_CALLBACK button_set_id(struct _cef_view_t* self, int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -336,6 +377,8 @@ void CEF_CALLBACK button_set_id(struct _cef_view_t* self, int id) {
|
||||
}
|
||||
|
||||
int CEF_CALLBACK button_get_group_id(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -351,6 +394,8 @@ int CEF_CALLBACK button_get_group_id(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
void CEF_CALLBACK button_set_group_id(struct _cef_view_t* self, int group_id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -364,6 +409,8 @@ void CEF_CALLBACK button_set_group_id(struct _cef_view_t* self, int group_id) {
|
||||
|
||||
struct _cef_view_t* CEF_CALLBACK
|
||||
button_get_parent_view(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -381,6 +428,8 @@ button_get_parent_view(struct _cef_view_t* self) {
|
||||
|
||||
struct _cef_view_t* CEF_CALLBACK
|
||||
button_get_view_for_id(struct _cef_view_t* self, int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -398,6 +447,8 @@ button_get_view_for_id(struct _cef_view_t* self, int id) {
|
||||
|
||||
void CEF_CALLBACK button_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);
|
||||
@ -417,6 +468,8 @@ void CEF_CALLBACK button_set_bounds(struct _cef_view_t* self,
|
||||
}
|
||||
|
||||
cef_rect_t CEF_CALLBACK button_get_bounds(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -432,6 +485,8 @@ cef_rect_t CEF_CALLBACK button_get_bounds(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
cef_rect_t CEF_CALLBACK button_get_bounds_in_screen(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -449,6 +504,8 @@ cef_rect_t CEF_CALLBACK button_get_bounds_in_screen(struct _cef_view_t* self) {
|
||||
|
||||
void CEF_CALLBACK button_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);
|
||||
@ -467,6 +524,8 @@ void CEF_CALLBACK button_set_size(struct _cef_view_t* self,
|
||||
}
|
||||
|
||||
cef_size_t CEF_CALLBACK button_get_size(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -483,6 +542,8 @@ cef_size_t CEF_CALLBACK button_get_size(struct _cef_view_t* self) {
|
||||
|
||||
void CEF_CALLBACK button_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);
|
||||
@ -502,6 +563,8 @@ void CEF_CALLBACK button_set_position(struct _cef_view_t* self,
|
||||
}
|
||||
|
||||
cef_point_t CEF_CALLBACK button_get_position(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -518,6 +581,8 @@ cef_point_t CEF_CALLBACK button_get_position(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
cef_size_t CEF_CALLBACK button_get_preferred_size(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -534,6 +599,8 @@ cef_size_t CEF_CALLBACK button_get_preferred_size(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
void CEF_CALLBACK button_size_to_preferred_size(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -546,6 +613,8 @@ void CEF_CALLBACK button_size_to_preferred_size(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
cef_size_t CEF_CALLBACK button_get_minimum_size(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -562,6 +631,8 @@ cef_size_t CEF_CALLBACK button_get_minimum_size(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
cef_size_t CEF_CALLBACK button_get_maximum_size(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -579,6 +650,8 @@ cef_size_t CEF_CALLBACK button_get_maximum_size(struct _cef_view_t* self) {
|
||||
|
||||
int CEF_CALLBACK button_get_height_for_width(struct _cef_view_t* self,
|
||||
int width) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -594,6 +667,8 @@ int CEF_CALLBACK button_get_height_for_width(struct _cef_view_t* self,
|
||||
}
|
||||
|
||||
void CEF_CALLBACK button_invalidate_layout(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -606,6 +681,8 @@ void CEF_CALLBACK button_invalidate_layout(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
void CEF_CALLBACK button_set_visible(struct _cef_view_t* self, int visible) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -618,6 +695,8 @@ void CEF_CALLBACK button_set_visible(struct _cef_view_t* self, int visible) {
|
||||
}
|
||||
|
||||
int CEF_CALLBACK button_is_visible(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -633,6 +712,8 @@ int CEF_CALLBACK button_is_visible(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
int CEF_CALLBACK button_is_drawn(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -648,6 +729,8 @@ int CEF_CALLBACK button_is_drawn(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
void CEF_CALLBACK button_set_enabled(struct _cef_view_t* self, int enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -660,6 +743,8 @@ void CEF_CALLBACK button_set_enabled(struct _cef_view_t* self, int enabled) {
|
||||
}
|
||||
|
||||
int CEF_CALLBACK button_is_enabled(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -676,6 +761,8 @@ int CEF_CALLBACK button_is_enabled(struct _cef_view_t* self) {
|
||||
|
||||
void CEF_CALLBACK button_set_focusable(struct _cef_view_t* self,
|
||||
int focusable) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -688,6 +775,8 @@ void CEF_CALLBACK button_set_focusable(struct _cef_view_t* self,
|
||||
}
|
||||
|
||||
int CEF_CALLBACK button_is_focusable(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -703,6 +792,8 @@ int CEF_CALLBACK button_is_focusable(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
int CEF_CALLBACK button_is_accessibility_focusable(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -718,6 +809,8 @@ int CEF_CALLBACK button_is_accessibility_focusable(struct _cef_view_t* self) {
|
||||
}
|
||||
|
||||
void CEF_CALLBACK button_request_focus(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -730,6 +823,8 @@ void CEF_CALLBACK button_request_focus(struct _cef_view_t* self) {
|
||||
|
||||
void CEF_CALLBACK button_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);
|
||||
@ -742,6 +837,8 @@ void CEF_CALLBACK button_set_background_color(struct _cef_view_t* self,
|
||||
}
|
||||
|
||||
cef_color_t CEF_CALLBACK button_get_background_color(struct _cef_view_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -759,6 +856,8 @@ cef_color_t CEF_CALLBACK button_get_background_color(struct _cef_view_t* self) {
|
||||
|
||||
int CEF_CALLBACK button_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);
|
||||
@ -786,6 +885,8 @@ int CEF_CALLBACK button_convert_point_to_screen(struct _cef_view_t* self,
|
||||
|
||||
int CEF_CALLBACK button_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);
|
||||
@ -813,6 +914,8 @@ int CEF_CALLBACK button_convert_point_from_screen(struct _cef_view_t* self,
|
||||
|
||||
int CEF_CALLBACK button_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);
|
||||
@ -840,6 +943,8 @@ int CEF_CALLBACK button_convert_point_to_window(struct _cef_view_t* self,
|
||||
|
||||
int CEF_CALLBACK button_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);
|
||||
@ -868,6 +973,8 @@ int CEF_CALLBACK button_convert_point_from_window(struct _cef_view_t* self,
|
||||
int CEF_CALLBACK button_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);
|
||||
@ -901,6 +1008,8 @@ int CEF_CALLBACK button_convert_point_to_view(struct _cef_view_t* self,
|
||||
int CEF_CALLBACK button_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);
|
||||
@ -995,6 +1104,12 @@ CefButtonCppToC::CefButtonCppToC() {
|
||||
GetStruct()->base.convert_point_from_view = button_convert_point_from_view;
|
||||
}
|
||||
|
||||
// DESTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefButtonCppToC::~CefButtonCppToC() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
}
|
||||
|
||||
template <>
|
||||
CefRefPtr<CefButton>
|
||||
CefCppToCRefCounted<CefButtonCppToC, CefButton, cef_button_t>::UnwrapDerived(
|
||||
|
Reference in New Issue
Block a user