Implement new approach for debugging leaked wrapper object references (issue #2593)

This commit is contained in:
Marshall Greenblatt 2019-01-23 16:42:12 +01:00
parent 176e14d451
commit 3fe062a5b6
576 changed files with 8806 additions and 733 deletions

View File

@ -103,6 +103,8 @@
'libcef_dll/libcef_dll2.cc',
'libcef_dll/ptr_util.h',
'libcef_dll/resource.h',
'libcef_dll/shutdown_checker.cc',
'libcef_dll/shutdown_checker.h',
'libcef_dll/transfer_util.cc',
'libcef_dll/transfer_util.h',
'libcef_dll/wrapper_types.h',
@ -130,6 +132,8 @@
'libcef_dll/ctocpp/ctocpp_ref_counted.h',
'libcef_dll/ctocpp/ctocpp_scoped.h',
'libcef_dll/ptr_util.h',
'libcef_dll/shutdown_checker.cc',
'libcef_dll/shutdown_checker.h',
'libcef_dll/transfer_util.cc',
'libcef_dll/transfer_util.h',
'libcef_dll/wrapper_types.h',

View File

@ -47,7 +47,7 @@
// Class used to implement browser process callbacks. The methods of this class
// will be called on the browser process main thread unless otherwise indicated.
///
/*--cef(source=client)--*/
/*--cef(source=client,no_debugct_check)--*/
class CefBrowserProcessHandler : public virtual CefBaseRefCounted {
public:
///

View File

@ -52,7 +52,7 @@
// will be called on the render process main thread (TID_RENDERER) unless
// otherwise indicated.
///
/*--cef(source=client)--*/
/*--cef(source=client,no_debugct_check)--*/
class CefRenderProcessHandler : public virtual CefBaseRefCounted {
public:
typedef cef_navigation_type_t NavigationType;

View File

@ -158,7 +158,7 @@ class CefSchemeRegistrar : public CefBaseScoped {
// Class that creates CefResourceHandler instances for handling scheme requests.
// The methods of this class will always be called on the IO thread.
///
/*--cef(source=client)--*/
/*--cef(source=client,no_debugct_check)--*/
class CefSchemeHandlerFactory : public virtual CefBaseRefCounted {
public:
///

View File

@ -49,7 +49,7 @@ typedef cef_thread_id_t CefThreadId;
// the target thread. For this reason be cautious when performing work in the
// task object destructor.
///
/*--cef(source=client)--*/
/*--cef(source=client,no_debugct_check)--*/
class CefTask : public virtual CefBaseRefCounted {
public:
///

View File

@ -120,7 +120,7 @@ bool CefRegisterExtension(const CefString& extension_name,
// A task runner for posting tasks on the associated thread can be retrieved via
// the CefV8Context::GetTaskRunner() method.
///
/*--cef(source=library)--*/
/*--cef(source=library,no_debugct_check)--*/
class CefV8Context : public virtual CefBaseRefCounted {
public:
///
@ -224,7 +224,7 @@ typedef std::vector<CefRefPtr<CefV8Value>> CefV8ValueList;
// Interface that should be implemented to handle V8 function calls. The methods
// of this class will be called on the thread associated with the V8 function.
///
/*--cef(source=client)--*/
/*--cef(source=client,no_debugct_check)--*/
class CefV8Handler : public virtual CefBaseRefCounted {
public:
///
@ -247,7 +247,7 @@ class CefV8Handler : public virtual CefBaseRefCounted {
// identifiers are registered by calling CefV8Value::SetValue(). The methods
// of this class will be called on the thread associated with the V8 accessor.
///
/*--cef(source=client)--*/
/*--cef(source=client,no_debugct_check)--*/
class CefV8Accessor : public virtual CefBaseRefCounted {
public:
///
@ -285,7 +285,7 @@ class CefV8Accessor : public virtual CefBaseRefCounted {
// handlers (with first argument of type int) are called when object is indexed
// by integer.
///
/*--cef(source=client)--*/
/*--cef(source=client,no_debugct_check)--*/
class CefV8Interceptor : public virtual CefBaseRefCounted {
public:
///
@ -349,7 +349,7 @@ class CefV8Interceptor : public virtual CefBaseRefCounted {
// Class representing a V8 exception. The methods of this class may be called on
// any render process thread.
///
/*--cef(source=library)--*/
/*--cef(source=library,no_debugct_check)--*/
class CefV8Exception : public virtual CefBaseRefCounted {
public:
///
@ -410,7 +410,7 @@ class CefV8Exception : public virtual CefBaseRefCounted {
///
// Callback interface that is passed to CefV8Value::CreateArrayBuffer.
///
/*--cef(source=client)--*/
/*--cef(source=client,no_debugct_check)--*/
class CefV8ArrayBufferReleaseCallback : public virtual CefBaseRefCounted {
public:
///
@ -429,7 +429,7 @@ class CefV8ArrayBufferReleaseCallback : public virtual CefBaseRefCounted {
// A task runner for posting tasks on the associated thread can be retrieved via
// the CefV8Context::GetTaskRunner() method.
///
/*--cef(source=library)--*/
/*--cef(source=library,no_debugct_check)--*/
class CefV8Value : public virtual CefBaseRefCounted {
public:
typedef cef_v8_accesscontrol_t AccessControl;
@ -938,7 +938,7 @@ class CefV8StackTrace : public virtual CefBaseRefCounted {
// threads. A task runner for posting tasks on the associated thread can be
// retrieved via the CefV8Context::GetTaskRunner() method.
///
/*--cef(source=library)--*/
/*--cef(source=library,no_debugct_check)--*/
class CefV8StackFrame : public virtual CefBaseRefCounted {
public:
///

View File

@ -9,11 +9,12 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=39933d7b184df9c48a64f3aeabd4be6d8365b44a$
// $hash=5524afc164e5f8baf765fa91e5064105dd34b212$
//
#include "libcef_dll/cpptoc/accessibility_handler_cpptoc.h"
#include "libcef_dll/ctocpp/value_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -22,6 +23,8 @@ namespace {
void CEF_CALLBACK accessibility_handler_on_accessibility_tree_change(
struct _cef_accessibility_handler_t* self,
struct _cef_value_t* value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -40,6 +43,8 @@ void CEF_CALLBACK accessibility_handler_on_accessibility_tree_change(
void CEF_CALLBACK accessibility_handler_on_accessibility_location_change(
struct _cef_accessibility_handler_t* self,
struct _cef_value_t* value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -66,6 +71,12 @@ CefAccessibilityHandlerCppToC::CefAccessibilityHandlerCppToC() {
accessibility_handler_on_accessibility_location_change;
}
// DESTRUCTOR - Do not edit by hand.
CefAccessibilityHandlerCppToC::~CefAccessibilityHandlerCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefAccessibilityHandler> CefCppToCRefCounted<
CefAccessibilityHandlerCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=a7bd53b0f936750abeded7f96d1bd9b08743b210$
// $hash=9e3dc01d67ab9ee155d338f458363e8a3025d733$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_ACCESSIBILITY_HANDLER_CPPTOC_H_
@ -32,6 +32,7 @@ class CefAccessibilityHandlerCppToC
cef_accessibility_handler_t> {
public:
CefAccessibilityHandlerCppToC();
virtual ~CefAccessibilityHandlerCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_ACCESSIBILITY_HANDLER_CPPTOC_H_

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=717cb62ab007871b500dc42b4ec07ee898ecd9af$
// $hash=7a1d9167c083721572cedc99f89ace69364abca8$
//
#include "libcef_dll/cpptoc/app_cpptoc.h"
@ -125,6 +125,10 @@ CefAppCppToC::CefAppCppToC() {
GetStruct()->get_render_process_handler = app_get_render_process_handler;
}
// DESTRUCTOR - Do not edit by hand.
CefAppCppToC::~CefAppCppToC() {}
template <>
CefRefPtr<CefApp>
CefCppToCRefCounted<CefAppCppToC, CefApp, cef_app_t>::UnwrapDerived(

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=3bc80135e0d4ddbfcd992b0f611ce2de9217819f$
// $hash=157d19ebda820053932102f3c69eff9415d628ad$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_APP_CPPTOC_H_
@ -30,6 +30,7 @@ class CefAppCppToC
: public CefCppToCRefCounted<CefAppCppToC, CefApp, cef_app_t> {
public:
CefAppCppToC();
virtual ~CefAppCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_APP_CPPTOC_H_

View File

@ -9,10 +9,11 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=97fbe821be0b86728980f0694894a66d4bb7afc2$
// $hash=103cb371ed4b96f94928587d464f1c5b459ca24c$
//
#include "libcef_dll/cpptoc/auth_callback_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -21,6 +22,8 @@ namespace {
void CEF_CALLBACK auth_callback_cont(struct _cef_auth_callback_t* self,
const cef_string_t* username,
const cef_string_t* password) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -34,6 +37,8 @@ void CEF_CALLBACK auth_callback_cont(struct _cef_auth_callback_t* self,
}
void CEF_CALLBACK auth_callback_cancel(struct _cef_auth_callback_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -53,6 +58,12 @@ CefAuthCallbackCppToC::CefAuthCallbackCppToC() {
GetStruct()->cancel = auth_callback_cancel;
}
// DESTRUCTOR - Do not edit by hand.
CefAuthCallbackCppToC::~CefAuthCallbackCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefAuthCallback> CefCppToCRefCounted<
CefAuthCallbackCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=f653271e88b2c40b1fcfc331a4dc54f4b77b5921$
// $hash=0d2e25f73053bccb5dee306ed2f71473b43eb3ab$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_AUTH_CALLBACK_CPPTOC_H_
@ -31,6 +31,7 @@ class CefAuthCallbackCppToC : public CefCppToCRefCounted<CefAuthCallbackCppToC,
cef_auth_callback_t> {
public:
CefAuthCallbackCppToC();
virtual ~CefAuthCallbackCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_AUTH_CALLBACK_CPPTOC_H_

View File

@ -9,10 +9,11 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=dc4a3c132fd8fd1c82998a7da135ed672b93b6cc$
// $hash=65ff24a6eea2a6f55773a4e8117fd56ecb8d5d8a$
//
#include "libcef_dll/cpptoc/before_download_callback_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -22,6 +23,8 @@ void CEF_CALLBACK
before_download_callback_cont(struct _cef_before_download_callback_t* self,
const cef_string_t* download_path,
int show_dialog) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -42,6 +45,12 @@ CefBeforeDownloadCallbackCppToC::CefBeforeDownloadCallbackCppToC() {
GetStruct()->cont = before_download_callback_cont;
}
// DESTRUCTOR - Do not edit by hand.
CefBeforeDownloadCallbackCppToC::~CefBeforeDownloadCallbackCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefBeforeDownloadCallback>
CefCppToCRefCounted<CefBeforeDownloadCallbackCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=539c6ddba61ba523f696cd8988586cf79970fe11$
// $hash=9f75a7fb8e74c8a2fa9309351af25628b33d6679$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_BEFORE_DOWNLOAD_CALLBACK_CPPTOC_H_
@ -32,6 +32,7 @@ class CefBeforeDownloadCallbackCppToC
cef_before_download_callback_t> {
public:
CefBeforeDownloadCallbackCppToC();
virtual ~CefBeforeDownloadCallbackCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_BEFORE_DOWNLOAD_CALLBACK_CPPTOC_H_

View File

@ -9,15 +9,18 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=ed48afaf59f8bb35ad3f437e2b4617d6eb631de5$
// $hash=1a09058e8a846ec1ecb223d7883d44e6d36600f1$
//
#include "libcef_dll/cpptoc/binary_value_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
// GLOBAL FUNCTIONS - Body may be edited by hand.
CEF_EXPORT cef_binary_value_t* cef_binary_value_create(const void* data,
size_t data_size) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: data; type: simple_byaddr
@ -37,6 +40,8 @@ namespace {
// MEMBER FUNCTIONS - Body may be edited by hand.
int CEF_CALLBACK binary_value_is_valid(struct _cef_binary_value_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -51,6 +56,8 @@ int CEF_CALLBACK binary_value_is_valid(struct _cef_binary_value_t* self) {
}
int CEF_CALLBACK binary_value_is_owned(struct _cef_binary_value_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -66,6 +73,8 @@ int CEF_CALLBACK binary_value_is_owned(struct _cef_binary_value_t* self) {
int CEF_CALLBACK binary_value_is_same(struct _cef_binary_value_t* self,
struct _cef_binary_value_t* that) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -86,6 +95,8 @@ int CEF_CALLBACK binary_value_is_same(struct _cef_binary_value_t* self,
int CEF_CALLBACK binary_value_is_equal(struct _cef_binary_value_t* self,
struct _cef_binary_value_t* that) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -106,6 +117,8 @@ int CEF_CALLBACK binary_value_is_equal(struct _cef_binary_value_t* self,
struct _cef_binary_value_t* CEF_CALLBACK
binary_value_copy(struct _cef_binary_value_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -120,6 +133,8 @@ binary_value_copy(struct _cef_binary_value_t* self) {
}
size_t CEF_CALLBACK binary_value_get_size(struct _cef_binary_value_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -137,6 +152,8 @@ size_t CEF_CALLBACK binary_value_get_data(struct _cef_binary_value_t* self,
void* buffer,
size_t buffer_size,
size_t data_offset) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -169,6 +186,12 @@ CefBinaryValueCppToC::CefBinaryValueCppToC() {
GetStruct()->get_data = binary_value_get_data;
}
// DESTRUCTOR - Do not edit by hand.
CefBinaryValueCppToC::~CefBinaryValueCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefBinaryValue>
CefCppToCRefCounted<CefBinaryValueCppToC, CefBinaryValue, cef_binary_value_t>::

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=1573678e3b5bc9179346a871cd944046719b2875$
// $hash=1a8a2164afef6788e2adf5705ee3a247daa1c09e$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_BINARY_VALUE_CPPTOC_H_
@ -31,6 +31,7 @@ class CefBinaryValueCppToC : public CefCppToCRefCounted<CefBinaryValueCppToC,
cef_binary_value_t> {
public:
CefBinaryValueCppToC();
virtual ~CefBinaryValueCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_BINARY_VALUE_CPPTOC_H_

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=3234ba2fa2ca9fcb4e5062ad1e8f048cee0a2043$
// $hash=d670b45c86f780e4113755c97679cafe089680fb$
//
#include "libcef_dll/cpptoc/browser_cpptoc.h"
@ -17,6 +17,7 @@
#include "libcef_dll/cpptoc/browser_host_cpptoc.h"
#include "libcef_dll/cpptoc/frame_cpptoc.h"
#include "libcef_dll/cpptoc/process_message_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
#include "libcef_dll/transfer_util.h"
namespace {
@ -25,6 +26,8 @@ namespace {
struct _cef_browser_host_t* CEF_CALLBACK
browser_get_host(struct _cef_browser_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -39,6 +42,8 @@ browser_get_host(struct _cef_browser_t* self) {
}
int CEF_CALLBACK browser_can_go_back(struct _cef_browser_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -53,6 +58,8 @@ int CEF_CALLBACK browser_can_go_back(struct _cef_browser_t* self) {
}
void CEF_CALLBACK browser_go_back(struct _cef_browser_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -64,6 +71,8 @@ void CEF_CALLBACK browser_go_back(struct _cef_browser_t* self) {
}
int CEF_CALLBACK browser_can_go_forward(struct _cef_browser_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -78,6 +87,8 @@ int CEF_CALLBACK browser_can_go_forward(struct _cef_browser_t* self) {
}
void CEF_CALLBACK browser_go_forward(struct _cef_browser_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -89,6 +100,8 @@ void CEF_CALLBACK browser_go_forward(struct _cef_browser_t* self) {
}
int CEF_CALLBACK browser_is_loading(struct _cef_browser_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -103,6 +116,8 @@ int CEF_CALLBACK browser_is_loading(struct _cef_browser_t* self) {
}
void CEF_CALLBACK browser_reload(struct _cef_browser_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -114,6 +129,8 @@ void CEF_CALLBACK browser_reload(struct _cef_browser_t* self) {
}
void CEF_CALLBACK browser_reload_ignore_cache(struct _cef_browser_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -125,6 +142,8 @@ void CEF_CALLBACK browser_reload_ignore_cache(struct _cef_browser_t* self) {
}
void CEF_CALLBACK browser_stop_load(struct _cef_browser_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -136,6 +155,8 @@ void CEF_CALLBACK browser_stop_load(struct _cef_browser_t* self) {
}
int CEF_CALLBACK browser_get_identifier(struct _cef_browser_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -151,6 +172,8 @@ int CEF_CALLBACK browser_get_identifier(struct _cef_browser_t* self) {
int CEF_CALLBACK browser_is_same(struct _cef_browser_t* self,
struct _cef_browser_t* that) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -170,6 +193,8 @@ int CEF_CALLBACK browser_is_same(struct _cef_browser_t* self,
}
int CEF_CALLBACK browser_is_popup(struct _cef_browser_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -184,6 +209,8 @@ int CEF_CALLBACK browser_is_popup(struct _cef_browser_t* self) {
}
int CEF_CALLBACK browser_has_document(struct _cef_browser_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -199,6 +226,8 @@ int CEF_CALLBACK browser_has_document(struct _cef_browser_t* self) {
struct _cef_frame_t* CEF_CALLBACK
browser_get_main_frame(struct _cef_browser_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -214,6 +243,8 @@ browser_get_main_frame(struct _cef_browser_t* self) {
struct _cef_frame_t* CEF_CALLBACK
browser_get_focused_frame(struct _cef_browser_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -229,6 +260,8 @@ browser_get_focused_frame(struct _cef_browser_t* self) {
struct _cef_frame_t* CEF_CALLBACK
browser_get_frame_byident(struct _cef_browser_t* self, int64 identifier) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -245,6 +278,8 @@ browser_get_frame_byident(struct _cef_browser_t* self, int64 identifier) {
struct _cef_frame_t* CEF_CALLBACK browser_get_frame(struct _cef_browser_t* self,
const cef_string_t* name) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -261,6 +296,8 @@ struct _cef_frame_t* CEF_CALLBACK browser_get_frame(struct _cef_browser_t* self,
}
size_t CEF_CALLBACK browser_get_frame_count(struct _cef_browser_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -277,6 +314,8 @@ size_t CEF_CALLBACK browser_get_frame_count(struct _cef_browser_t* self) {
void CEF_CALLBACK browser_get_frame_identifiers(struct _cef_browser_t* self,
size_t* identifiersCount,
int64* identifiers) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -311,6 +350,8 @@ void CEF_CALLBACK browser_get_frame_identifiers(struct _cef_browser_t* self,
void CEF_CALLBACK browser_get_frame_names(struct _cef_browser_t* self,
cef_string_list_t names) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -337,6 +378,8 @@ int CEF_CALLBACK
browser_send_process_message(struct _cef_browser_t* self,
cef_process_id_t target_process,
struct _cef_process_message_t* message) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -383,6 +426,12 @@ CefBrowserCppToC::CefBrowserCppToC() {
GetStruct()->send_process_message = browser_send_process_message;
}
// DESTRUCTOR - Do not edit by hand.
CefBrowserCppToC::~CefBrowserCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefBrowser>
CefCppToCRefCounted<CefBrowserCppToC, CefBrowser, cef_browser_t>::UnwrapDerived(

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=c01a93eb2a8e099475939d20b060b6ff9faeb591$
// $hash=6c9c804c068f1bf40184f7564b48a874a1668f3c$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_BROWSER_CPPTOC_H_
@ -32,6 +32,7 @@ class CefBrowserCppToC
: public CefCppToCRefCounted<CefBrowserCppToC, CefBrowser, cef_browser_t> {
public:
CefBrowserCppToC();
virtual ~CefBrowserCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_BROWSER_CPPTOC_H_

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=24122606bad0381fccb91003b12c14fc24f355de$
// $hash=40639710b864280e2288d7532309f327c92f2216$
//
#include "libcef_dll/cpptoc/browser_host_cpptoc.h"
@ -23,6 +23,7 @@
#include "libcef_dll/ctocpp/navigation_entry_visitor_ctocpp.h"
#include "libcef_dll/ctocpp/pdf_print_callback_ctocpp.h"
#include "libcef_dll/ctocpp/run_file_dialog_callback_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
#include "libcef_dll/transfer_util.h"
// GLOBAL FUNCTIONS - Body may be edited by hand.
@ -33,6 +34,8 @@ CEF_EXPORT int cef_browser_host_create_browser(
const cef_string_t* url,
const struct _cef_browser_settings_t* settings,
struct _cef_request_context_t* request_context) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: windowInfo; type: struct_byref_const
@ -69,6 +72,8 @@ CEF_EXPORT cef_browser_t* cef_browser_host_create_browser_sync(
const cef_string_t* url,
const struct _cef_browser_settings_t* settings,
struct _cef_request_context_t* request_context) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: windowInfo; type: struct_byref_const
@ -105,6 +110,8 @@ namespace {
cef_browser_t* CEF_CALLBACK
browser_host_get_browser(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -120,6 +127,8 @@ browser_host_get_browser(struct _cef_browser_host_t* self) {
void CEF_CALLBACK browser_host_close_browser(struct _cef_browser_host_t* self,
int force_close) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -132,6 +141,8 @@ void CEF_CALLBACK browser_host_close_browser(struct _cef_browser_host_t* self,
int CEF_CALLBACK
browser_host_try_close_browser(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -147,6 +158,8 @@ browser_host_try_close_browser(struct _cef_browser_host_t* self) {
void CEF_CALLBACK browser_host_set_focus(struct _cef_browser_host_t* self,
int focus) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -159,6 +172,8 @@ void CEF_CALLBACK browser_host_set_focus(struct _cef_browser_host_t* self,
cef_window_handle_t CEF_CALLBACK
browser_host_get_window_handle(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -175,6 +190,8 @@ browser_host_get_window_handle(struct _cef_browser_host_t* self) {
cef_window_handle_t CEF_CALLBACK
browser_host_get_opener_window_handle(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -190,6 +207,8 @@ browser_host_get_opener_window_handle(struct _cef_browser_host_t* self) {
}
int CEF_CALLBACK browser_host_has_view(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -205,6 +224,8 @@ int CEF_CALLBACK browser_host_has_view(struct _cef_browser_host_t* self) {
struct _cef_client_t* CEF_CALLBACK
browser_host_get_client(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -220,6 +241,8 @@ browser_host_get_client(struct _cef_browser_host_t* self) {
struct _cef_request_context_t* CEF_CALLBACK
browser_host_get_request_context(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -236,6 +259,8 @@ browser_host_get_request_context(struct _cef_browser_host_t* self) {
double CEF_CALLBACK
browser_host_get_zoom_level(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -251,6 +276,8 @@ browser_host_get_zoom_level(struct _cef_browser_host_t* self) {
void CEF_CALLBACK browser_host_set_zoom_level(struct _cef_browser_host_t* self,
double zoomLevel) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -269,6 +296,8 @@ browser_host_run_file_dialog(struct _cef_browser_host_t* self,
cef_string_list_t accept_filters,
int selected_accept_filter,
cef_run_file_dialog_callback_t* callback) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -296,6 +325,8 @@ browser_host_run_file_dialog(struct _cef_browser_host_t* self,
void CEF_CALLBACK browser_host_start_download(struct _cef_browser_host_t* self,
const cef_string_t* url) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -317,6 +348,8 @@ browser_host_download_image(struct _cef_browser_host_t* self,
uint32 max_image_size,
int bypass_cache,
cef_download_image_callback_t* callback) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -339,6 +372,8 @@ browser_host_download_image(struct _cef_browser_host_t* self,
}
void CEF_CALLBACK browser_host_print(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -354,6 +389,8 @@ browser_host_print_to_pdf(struct _cef_browser_host_t* self,
const cef_string_t* path,
const struct _cef_pdf_print_settings_t* settings,
cef_pdf_print_callback_t* callback) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -385,6 +422,8 @@ void CEF_CALLBACK browser_host_find(struct _cef_browser_host_t* self,
int forward,
int matchCase,
int findNext) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -403,6 +442,8 @@ void CEF_CALLBACK browser_host_find(struct _cef_browser_host_t* self,
void CEF_CALLBACK browser_host_stop_finding(struct _cef_browser_host_t* self,
int clearSelection) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -419,6 +460,8 @@ browser_host_show_dev_tools(struct _cef_browser_host_t* self,
struct _cef_client_t* client,
const struct _cef_browser_settings_t* settings,
const cef_point_t* inspect_element_at) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -446,6 +489,8 @@ browser_host_show_dev_tools(struct _cef_browser_host_t* self,
void CEF_CALLBACK
browser_host_close_dev_tools(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -457,6 +502,8 @@ browser_host_close_dev_tools(struct _cef_browser_host_t* self) {
}
int CEF_CALLBACK browser_host_has_dev_tools(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -474,6 +521,8 @@ void CEF_CALLBACK
browser_host_get_navigation_entries(struct _cef_browser_host_t* self,
cef_navigation_entry_visitor_t* visitor,
int current_only) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -493,6 +542,8 @@ browser_host_get_navigation_entries(struct _cef_browser_host_t* self,
void CEF_CALLBACK
browser_host_set_mouse_cursor_change_disabled(struct _cef_browser_host_t* self,
int disabled) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -506,6 +557,8 @@ browser_host_set_mouse_cursor_change_disabled(struct _cef_browser_host_t* self,
int CEF_CALLBACK
browser_host_is_mouse_cursor_change_disabled(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -522,6 +575,8 @@ browser_host_is_mouse_cursor_change_disabled(struct _cef_browser_host_t* self) {
void CEF_CALLBACK
browser_host_replace_misspelling(struct _cef_browser_host_t* self,
const cef_string_t* word) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -539,6 +594,8 @@ browser_host_replace_misspelling(struct _cef_browser_host_t* self,
void CEF_CALLBACK
browser_host_add_word_to_dictionary(struct _cef_browser_host_t* self,
const cef_string_t* word) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -555,6 +612,8 @@ browser_host_add_word_to_dictionary(struct _cef_browser_host_t* self,
int CEF_CALLBACK
browser_host_is_window_rendering_disabled(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -569,6 +628,8 @@ browser_host_is_window_rendering_disabled(struct _cef_browser_host_t* self) {
}
void CEF_CALLBACK browser_host_was_resized(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -581,6 +642,8 @@ void CEF_CALLBACK browser_host_was_resized(struct _cef_browser_host_t* self) {
void CEF_CALLBACK browser_host_was_hidden(struct _cef_browser_host_t* self,
int hidden) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -593,6 +656,8 @@ void CEF_CALLBACK browser_host_was_hidden(struct _cef_browser_host_t* self,
void CEF_CALLBACK
browser_host_notify_screen_info_changed(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -605,6 +670,8 @@ browser_host_notify_screen_info_changed(struct _cef_browser_host_t* self) {
void CEF_CALLBACK browser_host_invalidate(struct _cef_browser_host_t* self,
cef_paint_element_type_t type) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -617,6 +684,8 @@ void CEF_CALLBACK browser_host_invalidate(struct _cef_browser_host_t* self,
void CEF_CALLBACK
browser_host_send_external_begin_frame(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -630,6 +699,8 @@ browser_host_send_external_begin_frame(struct _cef_browser_host_t* self) {
void CEF_CALLBACK
browser_host_send_key_event(struct _cef_browser_host_t* self,
const struct _cef_key_event_t* event) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -655,6 +726,8 @@ browser_host_send_mouse_click_event(struct _cef_browser_host_t* self,
cef_mouse_button_type_t type,
int mouseUp,
int clickCount) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -679,6 +752,8 @@ void CEF_CALLBACK
browser_host_send_mouse_move_event(struct _cef_browser_host_t* self,
const struct _cef_mouse_event_t* event,
int mouseLeave) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -704,6 +779,8 @@ browser_host_send_mouse_wheel_event(struct _cef_browser_host_t* self,
const struct _cef_mouse_event_t* event,
int deltaX,
int deltaY) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -726,6 +803,8 @@ browser_host_send_mouse_wheel_event(struct _cef_browser_host_t* self,
void CEF_CALLBACK
browser_host_send_focus_event(struct _cef_browser_host_t* self, int setFocus) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -738,6 +817,8 @@ browser_host_send_focus_event(struct _cef_browser_host_t* self, int setFocus) {
void CEF_CALLBACK
browser_host_send_capture_lost_event(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -750,6 +831,8 @@ browser_host_send_capture_lost_event(struct _cef_browser_host_t* self) {
void CEF_CALLBACK
browser_host_notify_move_or_resize_started(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -762,6 +845,8 @@ browser_host_notify_move_or_resize_started(struct _cef_browser_host_t* self) {
int CEF_CALLBACK
browser_host_get_windowless_frame_rate(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -778,6 +863,8 @@ browser_host_get_windowless_frame_rate(struct _cef_browser_host_t* self) {
void CEF_CALLBACK
browser_host_set_windowless_frame_rate(struct _cef_browser_host_t* self,
int frame_rate) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -795,6 +882,8 @@ browser_host_ime_set_composition(struct _cef_browser_host_t* self,
cef_composition_underline_t const* underlines,
const cef_range_t* replacement_range,
const cef_range_t* selection_range) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -835,6 +924,8 @@ browser_host_ime_commit_text(struct _cef_browser_host_t* self,
const cef_string_t* text,
const cef_range_t* replacement_range,
int relative_cursor_pos) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -858,6 +949,8 @@ browser_host_ime_commit_text(struct _cef_browser_host_t* self,
void CEF_CALLBACK
browser_host_ime_finish_composing_text(struct _cef_browser_host_t* self,
int keep_selection) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -871,6 +964,8 @@ browser_host_ime_finish_composing_text(struct _cef_browser_host_t* self,
void CEF_CALLBACK
browser_host_ime_cancel_composition(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -886,6 +981,8 @@ browser_host_drag_target_drag_enter(struct _cef_browser_host_t* self,
struct _cef_drag_data_t* drag_data,
const struct _cef_mouse_event_t* event,
cef_drag_operations_mask_t allowed_ops) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -914,6 +1011,8 @@ void CEF_CALLBACK
browser_host_drag_target_drag_over(struct _cef_browser_host_t* self,
const struct _cef_mouse_event_t* event,
cef_drag_operations_mask_t allowed_ops) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -935,6 +1034,8 @@ browser_host_drag_target_drag_over(struct _cef_browser_host_t* self,
void CEF_CALLBACK
browser_host_drag_target_drag_leave(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -948,6 +1049,8 @@ browser_host_drag_target_drag_leave(struct _cef_browser_host_t* self) {
void CEF_CALLBACK
browser_host_drag_target_drop(struct _cef_browser_host_t* self,
const struct _cef_mouse_event_t* event) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -972,6 +1075,8 @@ browser_host_drag_source_ended_at(struct _cef_browser_host_t* self,
int x,
int y,
cef_drag_operations_mask_t op) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -984,6 +1089,8 @@ browser_host_drag_source_ended_at(struct _cef_browser_host_t* self,
void CEF_CALLBACK
browser_host_drag_source_system_drag_ended(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -996,6 +1103,8 @@ browser_host_drag_source_system_drag_ended(struct _cef_browser_host_t* self) {
struct _cef_navigation_entry_t* CEF_CALLBACK
browser_host_get_visible_navigation_entry(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -1013,6 +1122,8 @@ browser_host_get_visible_navigation_entry(struct _cef_browser_host_t* self) {
void CEF_CALLBACK
browser_host_set_accessibility_state(struct _cef_browser_host_t* self,
cef_state_t accessibility_state) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -1028,6 +1139,8 @@ browser_host_set_auto_resize_enabled(struct _cef_browser_host_t* self,
int enabled,
const cef_size_t* min_size,
const cef_size_t* max_size) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -1054,6 +1167,8 @@ browser_host_set_auto_resize_enabled(struct _cef_browser_host_t* self,
struct _cef_extension_t* CEF_CALLBACK
browser_host_get_extension(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -1070,6 +1185,8 @@ browser_host_get_extension(struct _cef_browser_host_t* self) {
int CEF_CALLBACK
browser_host_is_background_host(struct _cef_browser_host_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -1157,6 +1274,12 @@ CefBrowserHostCppToC::CefBrowserHostCppToC() {
GetStruct()->is_background_host = browser_host_is_background_host;
}
// DESTRUCTOR - Do not edit by hand.
CefBrowserHostCppToC::~CefBrowserHostCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefBrowserHost>
CefCppToCRefCounted<CefBrowserHostCppToC, CefBrowserHost, cef_browser_host_t>::

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=df7d4e0f16542d5ffc5589ce39e92abef23c1fda$
// $hash=2928fe609c5ae619c6b6db81a62688900b440f20$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_BROWSER_HOST_CPPTOC_H_
@ -33,6 +33,7 @@ class CefBrowserHostCppToC : public CefCppToCRefCounted<CefBrowserHostCppToC,
cef_browser_host_t> {
public:
CefBrowserHostCppToC();
virtual ~CefBrowserHostCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_BROWSER_HOST_CPPTOC_H_

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=d74f2b562f5b8276bef67003cdc641bd6b0dc5b3$
// $hash=90d9d5420cb532a187a78fba2a29dc9e2933b114$
//
#include "libcef_dll/cpptoc/browser_process_handler_cpptoc.h"
@ -116,6 +116,10 @@ CefBrowserProcessHandlerCppToC::CefBrowserProcessHandlerCppToC() {
browser_process_handler_on_schedule_message_pump_work;
}
// DESTRUCTOR - Do not edit by hand.
CefBrowserProcessHandlerCppToC::~CefBrowserProcessHandlerCppToC() {}
template <>
CefRefPtr<CefBrowserProcessHandler> CefCppToCRefCounted<
CefBrowserProcessHandlerCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=bf4d037daf01402a27da95a1804ac7ee659178ef$
// $hash=379bec786c84a6b1ea1060a10a9a277369dc35ea$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_BROWSER_PROCESS_HANDLER_CPPTOC_H_
@ -32,6 +32,7 @@ class CefBrowserProcessHandlerCppToC
cef_browser_process_handler_t> {
public:
CefBrowserProcessHandlerCppToC();
virtual ~CefBrowserProcessHandlerCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_BROWSER_PROCESS_HANDLER_CPPTOC_H_

View File

@ -9,16 +9,19 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=334f209cf51e0659c0b0ab9196f7a404f01461e5$
// $hash=6703175d02d6a1fbbbe931ebc000081e037fb507$
//
#include "libcef_dll/cpptoc/callback_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
// MEMBER FUNCTIONS - Body may be edited by hand.
void CEF_CALLBACK callback_cont(struct _cef_callback_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -30,6 +33,8 @@ void CEF_CALLBACK callback_cont(struct _cef_callback_t* self) {
}
void CEF_CALLBACK callback_cancel(struct _cef_callback_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -49,6 +54,12 @@ CefCallbackCppToC::CefCallbackCppToC() {
GetStruct()->cancel = callback_cancel;
}
// DESTRUCTOR - Do not edit by hand.
CefCallbackCppToC::~CefCallbackCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefCallback>
CefCppToCRefCounted<CefCallbackCppToC, CefCallback, cef_callback_t>::

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=223d6219bab467db783dd58463a34444dd513ae2$
// $hash=c48abc409ae9bae3a8d47647db107320d543b528$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_CALLBACK_CPPTOC_H_
@ -31,6 +31,7 @@ class CefCallbackCppToC : public CefCppToCRefCounted<CefCallbackCppToC,
cef_callback_t> {
public:
CefCallbackCppToC();
virtual ~CefCallbackCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_CALLBACK_CPPTOC_H_

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=9a46adab7d328c9d33c759cc02f28d15fb23e2c2$
// $hash=ddbd026586c4d4cac686b8e046891d1d4363549b$
//
#include "libcef_dll/cpptoc/client_cpptoc.h"
@ -290,6 +290,10 @@ CefClientCppToC::CefClientCppToC() {
GetStruct()->on_process_message_received = client_on_process_message_received;
}
// DESTRUCTOR - Do not edit by hand.
CefClientCppToC::~CefClientCppToC() {}
template <>
CefRefPtr<CefClient>
CefCppToCRefCounted<CefClientCppToC, CefClient, cef_client_t>::UnwrapDerived(

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=9ac6fdead48b09acbc98b6f6fd3bbb8e194afb96$
// $hash=5d4c102c7afa917066d0a76cb41f758e86571b71$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_CLIENT_CPPTOC_H_
@ -30,6 +30,7 @@ class CefClientCppToC
: public CefCppToCRefCounted<CefClientCppToC, CefClient, cef_client_t> {
public:
CefClientCppToC();
virtual ~CefClientCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_CLIENT_CPPTOC_H_

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=97b50ed12b43f9807b67f716089da2477b58310a$
// $hash=745c869d4a8bb07633e5aff8a313a642503bd84f$
//
#include "libcef_dll/cpptoc/command_line_cpptoc.h"
@ -413,6 +413,10 @@ CefCommandLineCppToC::CefCommandLineCppToC() {
GetStruct()->prepend_wrapper = command_line_prepend_wrapper;
}
// DESTRUCTOR - Do not edit by hand.
CefCommandLineCppToC::~CefCommandLineCppToC() {}
template <>
CefRefPtr<CefCommandLine>
CefCppToCRefCounted<CefCommandLineCppToC, CefCommandLine, cef_command_line_t>::

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=562f3031673d13d45e465c300a1a8237197cccb0$
// $hash=0023e5e8ad31eb9b11590cc7d8b6d7da45db245c$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_COMMAND_LINE_CPPTOC_H_
@ -31,6 +31,7 @@ class CefCommandLineCppToC : public CefCppToCRefCounted<CefCommandLineCppToC,
cef_command_line_t> {
public:
CefCommandLineCppToC();
virtual ~CefCommandLineCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_COMMAND_LINE_CPPTOC_H_

View File

@ -9,10 +9,11 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=db9319896cf61ca39a127c00f4d6b0ee801d7938$
// $hash=e483812d8e14d27960b8b3ab2d4d8e9968c0bc5b$
//
#include "libcef_dll/cpptoc/completion_callback_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -20,6 +21,8 @@ namespace {
void CEF_CALLBACK
completion_callback_on_complete(struct _cef_completion_callback_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -38,6 +41,12 @@ CefCompletionCallbackCppToC::CefCompletionCallbackCppToC() {
GetStruct()->on_complete = completion_callback_on_complete;
}
// DESTRUCTOR - Do not edit by hand.
CefCompletionCallbackCppToC::~CefCompletionCallbackCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefCompletionCallback> CefCppToCRefCounted<
CefCompletionCallbackCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=268e0ee06157955b28718ffa2e77eb71cf7ef9da$
// $hash=cbc3105e5384f038d4dd174438e0b054437c5114$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_COMPLETION_CALLBACK_CPPTOC_H_
@ -32,6 +32,7 @@ class CefCompletionCallbackCppToC
cef_completion_callback_t> {
public:
CefCompletionCallbackCppToC();
virtual ~CefCompletionCallbackCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_COMPLETION_CALLBACK_CPPTOC_H_

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=fd97694fbfe9825b3d62200ae27fa0c4d1925791$
// $hash=e37ed0bb1da97f687f27b923ef1c3f9f3a5d2e21$
//
#include "libcef_dll/cpptoc/context_menu_handler_cpptoc.h"
@ -18,6 +18,7 @@
#include "libcef_dll/ctocpp/frame_ctocpp.h"
#include "libcef_dll/ctocpp/menu_model_ctocpp.h"
#include "libcef_dll/ctocpp/run_context_menu_callback_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -29,6 +30,8 @@ void CEF_CALLBACK context_menu_handler_on_before_context_menu(
struct _cef_frame_t* frame,
struct _cef_context_menu_params_t* params,
struct _cef_menu_model_t* model) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -65,6 +68,8 @@ int CEF_CALLBACK context_menu_handler_run_context_menu(
struct _cef_context_menu_params_t* params,
struct _cef_menu_model_t* model,
cef_run_context_menu_callback_t* callback) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -108,6 +113,8 @@ int CEF_CALLBACK context_menu_handler_on_context_menu_command(
struct _cef_context_menu_params_t* params,
int command_id,
cef_event_flags_t event_flags) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -139,6 +146,8 @@ void CEF_CALLBACK context_menu_handler_on_context_menu_dismissed(
struct _cef_context_menu_handler_t* self,
cef_browser_t* browser,
struct _cef_frame_t* frame) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -172,6 +181,12 @@ CefContextMenuHandlerCppToC::CefContextMenuHandlerCppToC() {
context_menu_handler_on_context_menu_dismissed;
}
// DESTRUCTOR - Do not edit by hand.
CefContextMenuHandlerCppToC::~CefContextMenuHandlerCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefContextMenuHandler> CefCppToCRefCounted<
CefContextMenuHandlerCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=2a398bf6e1a3ad03fae156e3ce4a06f752062c9d$
// $hash=bd182d62d1138afebe9555f38206758c9c642ef3$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_CONTEXT_MENU_HANDLER_CPPTOC_H_
@ -32,6 +32,7 @@ class CefContextMenuHandlerCppToC
cef_context_menu_handler_t> {
public:
CefContextMenuHandlerCppToC();
virtual ~CefContextMenuHandlerCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_CONTEXT_MENU_HANDLER_CPPTOC_H_

View File

@ -9,10 +9,11 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=428dea2f985aca5c8be568c2d5b58d5dd51ee208$
// $hash=b87f239858f915302b4922cb145021520e7ec6bc$
//
#include "libcef_dll/cpptoc/context_menu_params_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
#include "libcef_dll/transfer_util.h"
namespace {
@ -21,6 +22,8 @@ namespace {
int CEF_CALLBACK
context_menu_params_get_xcoord(struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -36,6 +39,8 @@ context_menu_params_get_xcoord(struct _cef_context_menu_params_t* self) {
int CEF_CALLBACK
context_menu_params_get_ycoord(struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -51,6 +56,8 @@ context_menu_params_get_ycoord(struct _cef_context_menu_params_t* self) {
cef_context_menu_type_flags_t CEF_CALLBACK
context_menu_params_get_type_flags(struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -67,6 +74,8 @@ context_menu_params_get_type_flags(struct _cef_context_menu_params_t* self) {
cef_string_userfree_t CEF_CALLBACK
context_menu_params_get_link_url(struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -82,6 +91,8 @@ context_menu_params_get_link_url(struct _cef_context_menu_params_t* self) {
cef_string_userfree_t CEF_CALLBACK context_menu_params_get_unfiltered_link_url(
struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -98,6 +109,8 @@ cef_string_userfree_t CEF_CALLBACK context_menu_params_get_unfiltered_link_url(
cef_string_userfree_t CEF_CALLBACK
context_menu_params_get_source_url(struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -113,6 +126,8 @@ context_menu_params_get_source_url(struct _cef_context_menu_params_t* self) {
int CEF_CALLBACK context_menu_params_has_image_contents(
struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -128,6 +143,8 @@ int CEF_CALLBACK context_menu_params_has_image_contents(
cef_string_userfree_t CEF_CALLBACK
context_menu_params_get_title_text(struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -143,6 +160,8 @@ context_menu_params_get_title_text(struct _cef_context_menu_params_t* self) {
cef_string_userfree_t CEF_CALLBACK
context_menu_params_get_page_url(struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -158,6 +177,8 @@ context_menu_params_get_page_url(struct _cef_context_menu_params_t* self) {
cef_string_userfree_t CEF_CALLBACK
context_menu_params_get_frame_url(struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -173,6 +194,8 @@ context_menu_params_get_frame_url(struct _cef_context_menu_params_t* self) {
cef_string_userfree_t CEF_CALLBACK
context_menu_params_get_frame_charset(struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -188,6 +211,8 @@ context_menu_params_get_frame_charset(struct _cef_context_menu_params_t* self) {
cef_context_menu_media_type_t CEF_CALLBACK
context_menu_params_get_media_type(struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -205,6 +230,8 @@ context_menu_params_get_media_type(struct _cef_context_menu_params_t* self) {
cef_context_menu_media_state_flags_t CEF_CALLBACK
context_menu_params_get_media_state_flags(
struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -221,6 +248,8 @@ context_menu_params_get_media_state_flags(
cef_string_userfree_t CEF_CALLBACK context_menu_params_get_selection_text(
struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -236,6 +265,8 @@ cef_string_userfree_t CEF_CALLBACK context_menu_params_get_selection_text(
cef_string_userfree_t CEF_CALLBACK context_menu_params_get_misspelled_word(
struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -253,6 +284,8 @@ cef_string_userfree_t CEF_CALLBACK context_menu_params_get_misspelled_word(
int CEF_CALLBACK context_menu_params_get_dictionary_suggestions(
struct _cef_context_menu_params_t* self,
cef_string_list_t suggestions) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -282,6 +315,8 @@ int CEF_CALLBACK context_menu_params_get_dictionary_suggestions(
int CEF_CALLBACK
context_menu_params_is_editable(struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -297,6 +332,8 @@ context_menu_params_is_editable(struct _cef_context_menu_params_t* self) {
int CEF_CALLBACK context_menu_params_is_spell_check_enabled(
struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -313,6 +350,8 @@ int CEF_CALLBACK context_menu_params_is_spell_check_enabled(
cef_context_menu_edit_state_flags_t CEF_CALLBACK
context_menu_params_get_edit_state_flags(
struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -329,6 +368,8 @@ context_menu_params_get_edit_state_flags(
int CEF_CALLBACK
context_menu_params_is_custom_menu(struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -344,6 +385,8 @@ context_menu_params_is_custom_menu(struct _cef_context_menu_params_t* self) {
int CEF_CALLBACK
context_menu_params_is_pepper_menu(struct _cef_context_menu_params_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -389,6 +432,12 @@ CefContextMenuParamsCppToC::CefContextMenuParamsCppToC() {
GetStruct()->is_pepper_menu = context_menu_params_is_pepper_menu;
}
// DESTRUCTOR - Do not edit by hand.
CefContextMenuParamsCppToC::~CefContextMenuParamsCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefContextMenuParams> CefCppToCRefCounted<
CefContextMenuParamsCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=b44164cc5471bfa19045cc8fb47f1cd402d10f9f$
// $hash=d8b0ff4ef1493f3e9bb536ea3c88b568a0dbf1ac$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_CONTEXT_MENU_PARAMS_CPPTOC_H_
@ -32,6 +32,7 @@ class CefContextMenuParamsCppToC
cef_context_menu_params_t> {
public:
CefContextMenuParamsCppToC();
virtual ~CefContextMenuParamsCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_CONTEXT_MENU_PARAMS_CPPTOC_H_

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=9928411a0fa0c4b8423e7bec6d42c5e6c291efb6$
// $hash=208b31bc64dd9d47ac6272304bce2dab1686f071$
//
#include "libcef_dll/cpptoc/cookie_manager_cpptoc.h"
@ -246,6 +246,10 @@ CefCookieManagerCppToC::CefCookieManagerCppToC() {
GetStruct()->flush_store = cookie_manager_flush_store;
}
// DESTRUCTOR - Do not edit by hand.
CefCookieManagerCppToC::~CefCookieManagerCppToC() {}
template <>
CefRefPtr<CefCookieManager> CefCppToCRefCounted<
CefCookieManagerCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=7d38f1590643afacc25127d79938ef0bbcba6317$
// $hash=5504193da129ccc183f585b0ae640cd4e32ce733$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_COOKIE_MANAGER_CPPTOC_H_
@ -32,6 +32,7 @@ class CefCookieManagerCppToC
cef_cookie_manager_t> {
public:
CefCookieManagerCppToC();
virtual ~CefCookieManagerCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_COOKIE_MANAGER_CPPTOC_H_

View File

@ -9,10 +9,11 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=ed863426c415b3afc459808cca150e7c4b60f29b$
// $hash=393d7d0a8816b40c26ee5fd8fb4d50664d606131$
//
#include "libcef_dll/cpptoc/cookie_visitor_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -23,6 +24,8 @@ int CEF_CALLBACK cookie_visitor_visit(struct _cef_cookie_visitor_t* self,
int count,
int total,
int* deleteCookie) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -64,6 +67,12 @@ CefCookieVisitorCppToC::CefCookieVisitorCppToC() {
GetStruct()->visit = cookie_visitor_visit;
}
// DESTRUCTOR - Do not edit by hand.
CefCookieVisitorCppToC::~CefCookieVisitorCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefCookieVisitor> CefCppToCRefCounted<
CefCookieVisitorCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=03763939a0ae7a4bed1368b21f76b33e6380640b$
// $hash=ca18debaaeb991a553ea497359b6c3a07ce504a3$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_COOKIE_VISITOR_CPPTOC_H_
@ -32,6 +32,7 @@ class CefCookieVisitorCppToC
cef_cookie_visitor_t> {
public:
CefCookieVisitorCppToC();
virtual ~CefCookieVisitorCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_COOKIE_VISITOR_CPPTOC_H_

View File

@ -9,10 +9,11 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=1064107d05675f032c5b64fb376f301af01e03c8$
// $hash=0c57a2898a260d61342066e6e923d2ae60007680$
//
#include "libcef_dll/cpptoc/delete_cookies_callback_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -21,6 +22,8 @@ namespace {
void CEF_CALLBACK
delete_cookies_callback_on_complete(struct _cef_delete_cookies_callback_t* self,
int num_deleted) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -39,6 +42,12 @@ CefDeleteCookiesCallbackCppToC::CefDeleteCookiesCallbackCppToC() {
GetStruct()->on_complete = delete_cookies_callback_on_complete;
}
// DESTRUCTOR - Do not edit by hand.
CefDeleteCookiesCallbackCppToC::~CefDeleteCookiesCallbackCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefDeleteCookiesCallback> CefCppToCRefCounted<
CefDeleteCookiesCallbackCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=eb833faeb559cbe9df0e45ba6893c9697e8c16df$
// $hash=fab2c4ba9d7170490d22b785b7f6f125c79e7a3b$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_DELETE_COOKIES_CALLBACK_CPPTOC_H_
@ -32,6 +32,7 @@ class CefDeleteCookiesCallbackCppToC
cef_delete_cookies_callback_t> {
public:
CefDeleteCookiesCallbackCppToC();
virtual ~CefDeleteCookiesCallbackCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_DELETE_COOKIES_CALLBACK_CPPTOC_H_

View File

@ -9,12 +9,13 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=3b87898a5d6b6e4c7ee74b63280a1599f8d1b16b$
// $hash=c9420b059e61e810cde99f46f1f162450c5e83c5$
//
#include "libcef_dll/cpptoc/dialog_handler_cpptoc.h"
#include "libcef_dll/ctocpp/browser_ctocpp.h"
#include "libcef_dll/ctocpp/file_dialog_callback_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
#include "libcef_dll/transfer_util.h"
namespace {
@ -30,6 +31,8 @@ dialog_handler_on_file_dialog(struct _cef_dialog_handler_t* self,
cef_string_list_t accept_filters,
int selected_accept_filter,
cef_file_dialog_callback_t* callback) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -71,6 +74,12 @@ CefDialogHandlerCppToC::CefDialogHandlerCppToC() {
GetStruct()->on_file_dialog = dialog_handler_on_file_dialog;
}
// DESTRUCTOR - Do not edit by hand.
CefDialogHandlerCppToC::~CefDialogHandlerCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefDialogHandler> CefCppToCRefCounted<
CefDialogHandlerCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=80b4a3a136c90bb0cecb745af603b60cb16ebb2d$
// $hash=149ef0ad3cd29c210c3ddfa923d546b3b1663be0$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_DIALOG_HANDLER_CPPTOC_H_
@ -32,6 +32,7 @@ class CefDialogHandlerCppToC
cef_dialog_handler_t> {
public:
CefDialogHandlerCppToC();
virtual ~CefDialogHandlerCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_DIALOG_HANDLER_CPPTOC_H_

View File

@ -9,18 +9,21 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=1fb303e08bb1bae37cd3e15947815d0f0020f663$
// $hash=5d4ac15bce882a74bb53fb52c0203475d596a2f7$
//
#include "libcef_dll/cpptoc/dictionary_value_cpptoc.h"
#include "libcef_dll/cpptoc/binary_value_cpptoc.h"
#include "libcef_dll/cpptoc/list_value_cpptoc.h"
#include "libcef_dll/cpptoc/value_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
#include "libcef_dll/transfer_util.h"
// GLOBAL FUNCTIONS - Body may be edited by hand.
CEF_EXPORT cef_dictionary_value_t* cef_dictionary_value_create() {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Execute
@ -36,6 +39,8 @@ namespace {
int CEF_CALLBACK
dictionary_value_is_valid(struct _cef_dictionary_value_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -51,6 +56,8 @@ dictionary_value_is_valid(struct _cef_dictionary_value_t* self) {
int CEF_CALLBACK
dictionary_value_is_owned(struct _cef_dictionary_value_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -66,6 +73,8 @@ dictionary_value_is_owned(struct _cef_dictionary_value_t* self) {
int CEF_CALLBACK
dictionary_value_is_read_only(struct _cef_dictionary_value_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -82,6 +91,8 @@ dictionary_value_is_read_only(struct _cef_dictionary_value_t* self) {
int CEF_CALLBACK
dictionary_value_is_same(struct _cef_dictionary_value_t* self,
struct _cef_dictionary_value_t* that) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -103,6 +114,8 @@ dictionary_value_is_same(struct _cef_dictionary_value_t* self,
int CEF_CALLBACK
dictionary_value_is_equal(struct _cef_dictionary_value_t* self,
struct _cef_dictionary_value_t* that) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -124,6 +137,8 @@ dictionary_value_is_equal(struct _cef_dictionary_value_t* self,
struct _cef_dictionary_value_t* CEF_CALLBACK
dictionary_value_copy(struct _cef_dictionary_value_t* self,
int exclude_empty_children) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -141,6 +156,8 @@ dictionary_value_copy(struct _cef_dictionary_value_t* self,
size_t CEF_CALLBACK
dictionary_value_get_size(struct _cef_dictionary_value_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -155,6 +172,8 @@ dictionary_value_get_size(struct _cef_dictionary_value_t* self) {
}
int CEF_CALLBACK dictionary_value_clear(struct _cef_dictionary_value_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -170,6 +189,8 @@ int CEF_CALLBACK dictionary_value_clear(struct _cef_dictionary_value_t* self) {
int CEF_CALLBACK dictionary_value_has_key(struct _cef_dictionary_value_t* self,
const cef_string_t* key) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -189,6 +210,8 @@ int CEF_CALLBACK dictionary_value_has_key(struct _cef_dictionary_value_t* self,
int CEF_CALLBACK dictionary_value_get_keys(struct _cef_dictionary_value_t* self,
cef_string_list_t keys) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -216,6 +239,8 @@ int CEF_CALLBACK dictionary_value_get_keys(struct _cef_dictionary_value_t* self,
int CEF_CALLBACK dictionary_value_remove(struct _cef_dictionary_value_t* self,
const cef_string_t* key) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -236,6 +261,8 @@ int CEF_CALLBACK dictionary_value_remove(struct _cef_dictionary_value_t* self,
cef_value_type_t CEF_CALLBACK
dictionary_value_get_type(struct _cef_dictionary_value_t* self,
const cef_string_t* key) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -257,6 +284,8 @@ dictionary_value_get_type(struct _cef_dictionary_value_t* self,
cef_value_t* CEF_CALLBACK
dictionary_value_get_value(struct _cef_dictionary_value_t* self,
const cef_string_t* key) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -277,6 +306,8 @@ dictionary_value_get_value(struct _cef_dictionary_value_t* self,
int CEF_CALLBACK dictionary_value_get_bool(struct _cef_dictionary_value_t* self,
const cef_string_t* key) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -296,6 +327,8 @@ int CEF_CALLBACK dictionary_value_get_bool(struct _cef_dictionary_value_t* self,
int CEF_CALLBACK dictionary_value_get_int(struct _cef_dictionary_value_t* self,
const cef_string_t* key) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -316,6 +349,8 @@ int CEF_CALLBACK dictionary_value_get_int(struct _cef_dictionary_value_t* self,
double CEF_CALLBACK
dictionary_value_get_double(struct _cef_dictionary_value_t* self,
const cef_string_t* key) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -337,6 +372,8 @@ dictionary_value_get_double(struct _cef_dictionary_value_t* self,
cef_string_userfree_t CEF_CALLBACK
dictionary_value_get_string(struct _cef_dictionary_value_t* self,
const cef_string_t* key) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -358,6 +395,8 @@ dictionary_value_get_string(struct _cef_dictionary_value_t* self,
cef_binary_value_t* CEF_CALLBACK
dictionary_value_get_binary(struct _cef_dictionary_value_t* self,
const cef_string_t* key) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -379,6 +418,8 @@ dictionary_value_get_binary(struct _cef_dictionary_value_t* self,
struct _cef_dictionary_value_t* CEF_CALLBACK
dictionary_value_get_dictionary(struct _cef_dictionary_value_t* self,
const cef_string_t* key) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -400,6 +441,8 @@ dictionary_value_get_dictionary(struct _cef_dictionary_value_t* self,
struct _cef_list_value_t* CEF_CALLBACK
dictionary_value_get_list(struct _cef_dictionary_value_t* self,
const cef_string_t* key) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -422,6 +465,8 @@ int CEF_CALLBACK
dictionary_value_set_value(struct _cef_dictionary_value_t* self,
const cef_string_t* key,
cef_value_t* value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -446,6 +491,8 @@ dictionary_value_set_value(struct _cef_dictionary_value_t* self,
int CEF_CALLBACK dictionary_value_set_null(struct _cef_dictionary_value_t* self,
const cef_string_t* key) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -466,6 +513,8 @@ int CEF_CALLBACK dictionary_value_set_null(struct _cef_dictionary_value_t* self,
int CEF_CALLBACK dictionary_value_set_bool(struct _cef_dictionary_value_t* self,
const cef_string_t* key,
int value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -487,6 +536,8 @@ int CEF_CALLBACK dictionary_value_set_bool(struct _cef_dictionary_value_t* self,
int CEF_CALLBACK dictionary_value_set_int(struct _cef_dictionary_value_t* self,
const cef_string_t* key,
int value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -509,6 +560,8 @@ int CEF_CALLBACK
dictionary_value_set_double(struct _cef_dictionary_value_t* self,
const cef_string_t* key,
double value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -531,6 +584,8 @@ int CEF_CALLBACK
dictionary_value_set_string(struct _cef_dictionary_value_t* self,
const cef_string_t* key,
const cef_string_t* value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -554,6 +609,8 @@ int CEF_CALLBACK
dictionary_value_set_binary(struct _cef_dictionary_value_t* self,
const cef_string_t* key,
cef_binary_value_t* value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -580,6 +637,8 @@ int CEF_CALLBACK
dictionary_value_set_dictionary(struct _cef_dictionary_value_t* self,
const cef_string_t* key,
struct _cef_dictionary_value_t* value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -605,6 +664,8 @@ dictionary_value_set_dictionary(struct _cef_dictionary_value_t* self,
int CEF_CALLBACK dictionary_value_set_list(struct _cef_dictionary_value_t* self,
const cef_string_t* key,
struct _cef_list_value_t* value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -663,6 +724,12 @@ CefDictionaryValueCppToC::CefDictionaryValueCppToC() {
GetStruct()->set_list = dictionary_value_set_list;
}
// DESTRUCTOR - Do not edit by hand.
CefDictionaryValueCppToC::~CefDictionaryValueCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefDictionaryValue> CefCppToCRefCounted<
CefDictionaryValueCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=ca1032baec7333c9b8565b481350ec1b73086790$
// $hash=2463eae0214d2f52564dbb760957c3141750fcbf$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_DICTIONARY_VALUE_CPPTOC_H_
@ -32,6 +32,7 @@ class CefDictionaryValueCppToC
cef_dictionary_value_t> {
public:
CefDictionaryValueCppToC();
virtual ~CefDictionaryValueCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_DICTIONARY_VALUE_CPPTOC_H_

View File

@ -9,12 +9,13 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=07ae3c3e3960a9dce5b6186173f76f765c564bc8$
// $hash=350b86d1f5e2912141666328a21b2d4498424cca$
//
#include "libcef_dll/cpptoc/display_handler_cpptoc.h"
#include "libcef_dll/ctocpp/browser_ctocpp.h"
#include "libcef_dll/ctocpp/frame_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
#include "libcef_dll/transfer_util.h"
namespace {
@ -26,6 +27,8 @@ display_handler_on_address_change(struct _cef_display_handler_t* self,
cef_browser_t* browser,
struct _cef_frame_t* frame,
const cef_string_t* url) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -54,6 +57,8 @@ void CEF_CALLBACK
display_handler_on_title_change(struct _cef_display_handler_t* self,
cef_browser_t* browser,
const cef_string_t* title) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -74,6 +79,8 @@ void CEF_CALLBACK
display_handler_on_favicon_urlchange(struct _cef_display_handler_t* self,
cef_browser_t* browser,
cef_string_list_t icon_urls) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -98,6 +105,8 @@ void CEF_CALLBACK
display_handler_on_fullscreen_mode_change(struct _cef_display_handler_t* self,
cef_browser_t* browser,
int fullscreen) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -116,6 +125,8 @@ display_handler_on_fullscreen_mode_change(struct _cef_display_handler_t* self,
int CEF_CALLBACK display_handler_on_tooltip(struct _cef_display_handler_t* self,
cef_browser_t* browser,
cef_string_t* text) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -142,6 +153,8 @@ void CEF_CALLBACK
display_handler_on_status_message(struct _cef_display_handler_t* self,
cef_browser_t* browser,
const cef_string_t* value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -165,6 +178,8 @@ display_handler_on_console_message(struct _cef_display_handler_t* self,
const cef_string_t* message,
const cef_string_t* source,
int line) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -189,6 +204,8 @@ int CEF_CALLBACK
display_handler_on_auto_resize(struct _cef_display_handler_t* self,
cef_browser_t* browser,
const cef_size_t* new_size) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -218,6 +235,8 @@ void CEF_CALLBACK
display_handler_on_loading_progress_change(struct _cef_display_handler_t* self,
cef_browser_t* browser,
double progress) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -251,6 +270,12 @@ CefDisplayHandlerCppToC::CefDisplayHandlerCppToC() {
display_handler_on_loading_progress_change;
}
// DESTRUCTOR - Do not edit by hand.
CefDisplayHandlerCppToC::~CefDisplayHandlerCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefDisplayHandler> CefCppToCRefCounted<
CefDisplayHandlerCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=94521cae896c3bafe81737cc4d42de4447767a46$
// $hash=7cfb499516b7e7d9872fe6b91cbc8802d56ebe07$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_DISPLAY_HANDLER_CPPTOC_H_
@ -32,6 +32,7 @@ class CefDisplayHandlerCppToC
cef_display_handler_t> {
public:
CefDisplayHandlerCppToC();
virtual ~CefDisplayHandlerCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_DISPLAY_HANDLER_CPPTOC_H_

View File

@ -9,11 +9,12 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=42a6d8df317712c8365e14536639f6df2012c6a4$
// $hash=b3574eb0dc0a5e5debb7428d24b799dac3a5bf9f$
//
#include "libcef_dll/cpptoc/domdocument_cpptoc.h"
#include "libcef_dll/cpptoc/domnode_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -21,6 +22,8 @@ namespace {
cef_dom_document_type_t CEF_CALLBACK
domdocument_get_type(struct _cef_domdocument_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -36,6 +39,8 @@ domdocument_get_type(struct _cef_domdocument_t* self) {
struct _cef_domnode_t* CEF_CALLBACK
domdocument_get_document(struct _cef_domdocument_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -52,6 +57,8 @@ domdocument_get_document(struct _cef_domdocument_t* self) {
struct _cef_domnode_t* CEF_CALLBACK
domdocument_get_body(struct _cef_domdocument_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -67,6 +74,8 @@ domdocument_get_body(struct _cef_domdocument_t* self) {
struct _cef_domnode_t* CEF_CALLBACK
domdocument_get_head(struct _cef_domdocument_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -82,6 +91,8 @@ domdocument_get_head(struct _cef_domdocument_t* self) {
cef_string_userfree_t CEF_CALLBACK
domdocument_get_title(struct _cef_domdocument_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -98,6 +109,8 @@ domdocument_get_title(struct _cef_domdocument_t* self) {
struct _cef_domnode_t* CEF_CALLBACK
domdocument_get_element_by_id(struct _cef_domdocument_t* self,
const cef_string_t* id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -118,6 +131,8 @@ domdocument_get_element_by_id(struct _cef_domdocument_t* self,
struct _cef_domnode_t* CEF_CALLBACK
domdocument_get_focused_node(struct _cef_domdocument_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -133,6 +148,8 @@ domdocument_get_focused_node(struct _cef_domdocument_t* self) {
}
int CEF_CALLBACK domdocument_has_selection(struct _cef_domdocument_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -148,6 +165,8 @@ int CEF_CALLBACK domdocument_has_selection(struct _cef_domdocument_t* self) {
int CEF_CALLBACK
domdocument_get_selection_start_offset(struct _cef_domdocument_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -163,6 +182,8 @@ domdocument_get_selection_start_offset(struct _cef_domdocument_t* self) {
int CEF_CALLBACK
domdocument_get_selection_end_offset(struct _cef_domdocument_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -178,6 +199,8 @@ domdocument_get_selection_end_offset(struct _cef_domdocument_t* self) {
cef_string_userfree_t CEF_CALLBACK
domdocument_get_selection_as_markup(struct _cef_domdocument_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -193,6 +216,8 @@ domdocument_get_selection_as_markup(struct _cef_domdocument_t* self) {
cef_string_userfree_t CEF_CALLBACK
domdocument_get_selection_as_text(struct _cef_domdocument_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -208,6 +233,8 @@ domdocument_get_selection_as_text(struct _cef_domdocument_t* self) {
cef_string_userfree_t CEF_CALLBACK
domdocument_get_base_url(struct _cef_domdocument_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -224,6 +251,8 @@ domdocument_get_base_url(struct _cef_domdocument_t* self) {
cef_string_userfree_t CEF_CALLBACK
domdocument_get_complete_url(struct _cef_domdocument_t* self,
const cef_string_t* partialURL) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -264,6 +293,12 @@ CefDOMDocumentCppToC::CefDOMDocumentCppToC() {
GetStruct()->get_complete_url = domdocument_get_complete_url;
}
// DESTRUCTOR - Do not edit by hand.
CefDOMDocumentCppToC::~CefDOMDocumentCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefDOMDocument>
CefCppToCRefCounted<CefDOMDocumentCppToC, CefDOMDocument, cef_domdocument_t>::

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=3965ee5c93c1e186b58dbbc28db91e1ad1274f97$
// $hash=1e63ea8bd5144f92f0f7d6f029b34a2672f337ae$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_DOMDOCUMENT_CPPTOC_H_
@ -31,6 +31,7 @@ class CefDOMDocumentCppToC : public CefCppToCRefCounted<CefDOMDocumentCppToC,
cef_domdocument_t> {
public:
CefDOMDocumentCppToC();
virtual ~CefDOMDocumentCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_DOMDOCUMENT_CPPTOC_H_

View File

@ -9,11 +9,12 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=fc5da1278ab101281eb914ebdbaadaaa6e13a5c5$
// $hash=a91cb2886c5b13c7d55d7700595ca7e9f60b07d4$
//
#include "libcef_dll/cpptoc/domnode_cpptoc.h"
#include "libcef_dll/cpptoc/domdocument_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
#include "libcef_dll/transfer_util.h"
namespace {
@ -21,6 +22,8 @@ namespace {
// MEMBER FUNCTIONS - Body may be edited by hand.
cef_dom_node_type_t CEF_CALLBACK domnode_get_type(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -35,6 +38,8 @@ cef_dom_node_type_t CEF_CALLBACK domnode_get_type(struct _cef_domnode_t* self) {
}
int CEF_CALLBACK domnode_is_text(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -49,6 +54,8 @@ int CEF_CALLBACK domnode_is_text(struct _cef_domnode_t* self) {
}
int CEF_CALLBACK domnode_is_element(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -63,6 +70,8 @@ int CEF_CALLBACK domnode_is_element(struct _cef_domnode_t* self) {
}
int CEF_CALLBACK domnode_is_editable(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -77,6 +86,8 @@ int CEF_CALLBACK domnode_is_editable(struct _cef_domnode_t* self) {
}
int CEF_CALLBACK domnode_is_form_control_element(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -92,6 +103,8 @@ int CEF_CALLBACK domnode_is_form_control_element(struct _cef_domnode_t* self) {
cef_string_userfree_t CEF_CALLBACK
domnode_get_form_control_element_type(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -107,6 +120,8 @@ domnode_get_form_control_element_type(struct _cef_domnode_t* self) {
int CEF_CALLBACK domnode_is_same(struct _cef_domnode_t* self,
struct _cef_domnode_t* that) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -127,6 +142,8 @@ int CEF_CALLBACK domnode_is_same(struct _cef_domnode_t* self,
cef_string_userfree_t CEF_CALLBACK
domnode_get_name(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -142,6 +159,8 @@ domnode_get_name(struct _cef_domnode_t* self) {
cef_string_userfree_t CEF_CALLBACK
domnode_get_value(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -157,6 +176,8 @@ domnode_get_value(struct _cef_domnode_t* self) {
int CEF_CALLBACK domnode_set_value(struct _cef_domnode_t* self,
const cef_string_t* value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -176,6 +197,8 @@ int CEF_CALLBACK domnode_set_value(struct _cef_domnode_t* self,
cef_string_userfree_t CEF_CALLBACK
domnode_get_as_markup(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -191,6 +214,8 @@ domnode_get_as_markup(struct _cef_domnode_t* self) {
cef_domdocument_t* CEF_CALLBACK
domnode_get_document(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -207,6 +232,8 @@ domnode_get_document(struct _cef_domnode_t* self) {
struct _cef_domnode_t* CEF_CALLBACK
domnode_get_parent(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -222,6 +249,8 @@ domnode_get_parent(struct _cef_domnode_t* self) {
struct _cef_domnode_t* CEF_CALLBACK
domnode_get_previous_sibling(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -238,6 +267,8 @@ domnode_get_previous_sibling(struct _cef_domnode_t* self) {
struct _cef_domnode_t* CEF_CALLBACK
domnode_get_next_sibling(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -252,6 +283,8 @@ domnode_get_next_sibling(struct _cef_domnode_t* self) {
}
int CEF_CALLBACK domnode_has_children(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -267,6 +300,8 @@ int CEF_CALLBACK domnode_has_children(struct _cef_domnode_t* self) {
struct _cef_domnode_t* CEF_CALLBACK
domnode_get_first_child(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -282,6 +317,8 @@ domnode_get_first_child(struct _cef_domnode_t* self) {
struct _cef_domnode_t* CEF_CALLBACK
domnode_get_last_child(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -297,6 +334,8 @@ domnode_get_last_child(struct _cef_domnode_t* self) {
cef_string_userfree_t CEF_CALLBACK
domnode_get_element_tag_name(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -311,6 +350,8 @@ domnode_get_element_tag_name(struct _cef_domnode_t* self) {
}
int CEF_CALLBACK domnode_has_element_attributes(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -326,6 +367,8 @@ int CEF_CALLBACK domnode_has_element_attributes(struct _cef_domnode_t* self) {
int CEF_CALLBACK domnode_has_element_attribute(struct _cef_domnode_t* self,
const cef_string_t* attrName) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -347,6 +390,8 @@ int CEF_CALLBACK domnode_has_element_attribute(struct _cef_domnode_t* self,
cef_string_userfree_t CEF_CALLBACK
domnode_get_element_attribute(struct _cef_domnode_t* self,
const cef_string_t* attrName) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -367,6 +412,8 @@ domnode_get_element_attribute(struct _cef_domnode_t* self,
void CEF_CALLBACK domnode_get_element_attributes(struct _cef_domnode_t* self,
cef_string_map_t attrMap) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -392,6 +439,8 @@ void CEF_CALLBACK domnode_get_element_attributes(struct _cef_domnode_t* self,
int CEF_CALLBACK domnode_set_element_attribute(struct _cef_domnode_t* self,
const cef_string_t* attrName,
const cef_string_t* value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -416,6 +465,8 @@ int CEF_CALLBACK domnode_set_element_attribute(struct _cef_domnode_t* self,
cef_string_userfree_t CEF_CALLBACK
domnode_get_element_inner_text(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -431,6 +482,8 @@ domnode_get_element_inner_text(struct _cef_domnode_t* self) {
cef_rect_t CEF_CALLBACK
domnode_get_element_bounds(struct _cef_domnode_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -478,6 +531,12 @@ CefDOMNodeCppToC::CefDOMNodeCppToC() {
GetStruct()->get_element_bounds = domnode_get_element_bounds;
}
// DESTRUCTOR - Do not edit by hand.
CefDOMNodeCppToC::~CefDOMNodeCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefDOMNode>
CefCppToCRefCounted<CefDOMNodeCppToC, CefDOMNode, cef_domnode_t>::UnwrapDerived(

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=ecd9741ad425bb313338dda911e05c785bc675d3$
// $hash=9f0cbd07c9499d106cce04e8c942e07b8ea68db4$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_DOMNODE_CPPTOC_H_
@ -30,6 +30,7 @@ class CefDOMNodeCppToC
: public CefCppToCRefCounted<CefDOMNodeCppToC, CefDOMNode, cef_domnode_t> {
public:
CefDOMNodeCppToC();
virtual ~CefDOMNodeCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_DOMNODE_CPPTOC_H_

View File

@ -9,11 +9,12 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=c3c67e360c98b7c1e94bfd50717acdcbee63d38c$
// $hash=57874472aeb7e1ba3d8fd2d1a5a8cd0a3a3d496f$
//
#include "libcef_dll/cpptoc/domvisitor_cpptoc.h"
#include "libcef_dll/ctocpp/domdocument_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -21,6 +22,8 @@ namespace {
void CEF_CALLBACK domvisitor_visit(struct _cef_domvisitor_t* self,
struct _cef_domdocument_t* document) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -43,6 +46,12 @@ CefDOMVisitorCppToC::CefDOMVisitorCppToC() {
GetStruct()->visit = domvisitor_visit;
}
// DESTRUCTOR - Do not edit by hand.
CefDOMVisitorCppToC::~CefDOMVisitorCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefDOMVisitor>
CefCppToCRefCounted<CefDOMVisitorCppToC, CefDOMVisitor, cef_domvisitor_t>::

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=c2a7ebb82765531e5de28cacfe52213f3890c57d$
// $hash=f30290b82fb925e9ac6cc7927d23d7d1fa929592$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_DOMVISITOR_CPPTOC_H_
@ -31,6 +31,7 @@ class CefDOMVisitorCppToC : public CefCppToCRefCounted<CefDOMVisitorCppToC,
cef_domvisitor_t> {
public:
CefDOMVisitorCppToC();
virtual ~CefDOMVisitorCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_DOMVISITOR_CPPTOC_H_

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=16902e43fbf58ed599ea8ff3c97129fa02d4dbf8$
// $hash=b6003acc60ff3f4271abc37847707254ddd5dd98$
//
#include "libcef_dll/cpptoc/download_handler_cpptoc.h"
@ -17,6 +17,7 @@
#include "libcef_dll/ctocpp/browser_ctocpp.h"
#include "libcef_dll/ctocpp/download_item_callback_ctocpp.h"
#include "libcef_dll/ctocpp/download_item_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -28,6 +29,8 @@ download_handler_on_before_download(struct _cef_download_handler_t* self,
struct _cef_download_item_t* download_item,
const cef_string_t* suggested_name,
cef_before_download_callback_t* callback) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -62,6 +65,8 @@ download_handler_on_download_updated(struct _cef_download_handler_t* self,
cef_browser_t* browser,
struct _cef_download_item_t* download_item,
cef_download_item_callback_t* callback) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -96,6 +101,12 @@ CefDownloadHandlerCppToC::CefDownloadHandlerCppToC() {
GetStruct()->on_download_updated = download_handler_on_download_updated;
}
// DESTRUCTOR - Do not edit by hand.
CefDownloadHandlerCppToC::~CefDownloadHandlerCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefDownloadHandler> CefCppToCRefCounted<
CefDownloadHandlerCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=27520878d8fae88d096cb8f2507a733b4e90cfc1$
// $hash=b4fc76252c6f97753ee46df6d4d5cd198cca82ff$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_DOWNLOAD_HANDLER_CPPTOC_H_
@ -32,6 +32,7 @@ class CefDownloadHandlerCppToC
cef_download_handler_t> {
public:
CefDownloadHandlerCppToC();
virtual ~CefDownloadHandlerCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_DOWNLOAD_HANDLER_CPPTOC_H_

View File

@ -9,11 +9,12 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=dad73b1e53163b971788f9f7c9a79fa1159218e8$
// $hash=6851cc688ae36e0355eb16cc6ef73c8273bed44e$
//
#include "libcef_dll/cpptoc/download_image_callback_cpptoc.h"
#include "libcef_dll/ctocpp/image_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -24,6 +25,8 @@ void CEF_CALLBACK download_image_callback_on_download_image_finished(
const cef_string_t* image_url,
int http_status_code,
struct _cef_image_t* image) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -49,6 +52,12 @@ CefDownloadImageCallbackCppToC::CefDownloadImageCallbackCppToC() {
download_image_callback_on_download_image_finished;
}
// DESTRUCTOR - Do not edit by hand.
CefDownloadImageCallbackCppToC::~CefDownloadImageCallbackCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefDownloadImageCallback> CefCppToCRefCounted<
CefDownloadImageCallbackCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=9b7f62192b7558b5fa9c4677b9bfdf1fb4a6e611$
// $hash=3f80fd4918db4d002c07c5bd6a4ea4a98c3d884a$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_DOWNLOAD_IMAGE_CALLBACK_CPPTOC_H_
@ -34,6 +34,7 @@ class CefDownloadImageCallbackCppToC
cef_download_image_callback_t> {
public:
CefDownloadImageCallbackCppToC();
virtual ~CefDownloadImageCallbackCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_DOWNLOAD_IMAGE_CALLBACK_CPPTOC_H_

View File

@ -9,10 +9,11 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=078b2fa07434acfcc3b9d604bd6bc26ca8feb2f6$
// $hash=078411b74defc684f7f7a56d04658585053e3683$
//
#include "libcef_dll/cpptoc/download_item_callback_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -20,6 +21,8 @@ namespace {
void CEF_CALLBACK
download_item_callback_cancel(struct _cef_download_item_callback_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -32,6 +35,8 @@ download_item_callback_cancel(struct _cef_download_item_callback_t* self) {
void CEF_CALLBACK
download_item_callback_pause(struct _cef_download_item_callback_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -44,6 +49,8 @@ download_item_callback_pause(struct _cef_download_item_callback_t* self) {
void CEF_CALLBACK
download_item_callback_resume(struct _cef_download_item_callback_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -64,6 +71,12 @@ CefDownloadItemCallbackCppToC::CefDownloadItemCallbackCppToC() {
GetStruct()->resume = download_item_callback_resume;
}
// DESTRUCTOR - Do not edit by hand.
CefDownloadItemCallbackCppToC::~CefDownloadItemCallbackCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefDownloadItemCallback> CefCppToCRefCounted<
CefDownloadItemCallbackCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=74ba8e3f96bc4f5fc58a2bab1d7449e3cfbb66de$
// $hash=167bb15eca8cd99005d04fc00ce1dde863eaeeab$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_DOWNLOAD_ITEM_CALLBACK_CPPTOC_H_
@ -32,6 +32,7 @@ class CefDownloadItemCallbackCppToC
cef_download_item_callback_t> {
public:
CefDownloadItemCallbackCppToC();
virtual ~CefDownloadItemCallbackCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_DOWNLOAD_ITEM_CALLBACK_CPPTOC_H_

View File

@ -9,16 +9,19 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=ff23ba3ab91188294f816fcadee929a0316846fc$
// $hash=904cfa3f93325c49918233b16163c7334beb454f$
//
#include "libcef_dll/cpptoc/download_item_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
// MEMBER FUNCTIONS - Body may be edited by hand.
int CEF_CALLBACK download_item_is_valid(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -34,6 +37,8 @@ int CEF_CALLBACK download_item_is_valid(struct _cef_download_item_t* self) {
int CEF_CALLBACK
download_item_is_in_progress(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -48,6 +53,8 @@ download_item_is_in_progress(struct _cef_download_item_t* self) {
}
int CEF_CALLBACK download_item_is_complete(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -62,6 +69,8 @@ int CEF_CALLBACK download_item_is_complete(struct _cef_download_item_t* self) {
}
int CEF_CALLBACK download_item_is_canceled(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -77,6 +86,8 @@ int CEF_CALLBACK download_item_is_canceled(struct _cef_download_item_t* self) {
int64 CEF_CALLBACK
download_item_get_current_speed(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -92,6 +103,8 @@ download_item_get_current_speed(struct _cef_download_item_t* self) {
int CEF_CALLBACK
download_item_get_percent_complete(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -107,6 +120,8 @@ download_item_get_percent_complete(struct _cef_download_item_t* self) {
int64 CEF_CALLBACK
download_item_get_total_bytes(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -122,6 +137,8 @@ download_item_get_total_bytes(struct _cef_download_item_t* self) {
int64 CEF_CALLBACK
download_item_get_received_bytes(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -137,6 +154,8 @@ download_item_get_received_bytes(struct _cef_download_item_t* self) {
cef_time_t CEF_CALLBACK
download_item_get_start_time(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -152,6 +171,8 @@ download_item_get_start_time(struct _cef_download_item_t* self) {
cef_time_t CEF_CALLBACK
download_item_get_end_time(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -167,6 +188,8 @@ download_item_get_end_time(struct _cef_download_item_t* self) {
cef_string_userfree_t CEF_CALLBACK
download_item_get_full_path(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -181,6 +204,8 @@ download_item_get_full_path(struct _cef_download_item_t* self) {
}
uint32 CEF_CALLBACK download_item_get_id(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -196,6 +221,8 @@ uint32 CEF_CALLBACK download_item_get_id(struct _cef_download_item_t* self) {
cef_string_userfree_t CEF_CALLBACK
download_item_get_url(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -211,6 +238,8 @@ download_item_get_url(struct _cef_download_item_t* self) {
cef_string_userfree_t CEF_CALLBACK
download_item_get_original_url(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -226,6 +255,8 @@ download_item_get_original_url(struct _cef_download_item_t* self) {
cef_string_userfree_t CEF_CALLBACK
download_item_get_suggested_file_name(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -241,6 +272,8 @@ download_item_get_suggested_file_name(struct _cef_download_item_t* self) {
cef_string_userfree_t CEF_CALLBACK
download_item_get_content_disposition(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -256,6 +289,8 @@ download_item_get_content_disposition(struct _cef_download_item_t* self) {
cef_string_userfree_t CEF_CALLBACK
download_item_get_mime_type(struct _cef_download_item_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -293,6 +328,12 @@ CefDownloadItemCppToC::CefDownloadItemCppToC() {
GetStruct()->get_mime_type = download_item_get_mime_type;
}
// DESTRUCTOR - Do not edit by hand.
CefDownloadItemCppToC::~CefDownloadItemCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefDownloadItem> CefCppToCRefCounted<
CefDownloadItemCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=bdc5428227801593f7ba0073207cc57ffd3a3765$
// $hash=9476e0585d9889fc9e51bc2e1ba837a43e16adb4$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_DOWNLOAD_ITEM_CPPTOC_H_
@ -31,6 +31,7 @@ class CefDownloadItemCppToC : public CefCppToCRefCounted<CefDownloadItemCppToC,
cef_download_item_t> {
public:
CefDownloadItemCppToC();
virtual ~CefDownloadItemCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_DOWNLOAD_ITEM_CPPTOC_H_

View File

@ -9,17 +9,20 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=b1cc282e9de9329406c9a2197a2d251d28412928$
// $hash=c61826a0c2b4f67e7c70b7dd7c734d0fc66062f8$
//
#include "libcef_dll/cpptoc/drag_data_cpptoc.h"
#include "libcef_dll/cpptoc/image_cpptoc.h"
#include "libcef_dll/cpptoc/stream_writer_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
#include "libcef_dll/transfer_util.h"
// GLOBAL FUNCTIONS - Body may be edited by hand.
CEF_EXPORT cef_drag_data_t* cef_drag_data_create() {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Execute
@ -35,6 +38,8 @@ namespace {
struct _cef_drag_data_t* CEF_CALLBACK
drag_data_clone(struct _cef_drag_data_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -49,6 +54,8 @@ drag_data_clone(struct _cef_drag_data_t* self) {
}
int CEF_CALLBACK drag_data_is_read_only(struct _cef_drag_data_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -63,6 +70,8 @@ int CEF_CALLBACK drag_data_is_read_only(struct _cef_drag_data_t* self) {
}
int CEF_CALLBACK drag_data_is_link(struct _cef_drag_data_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -77,6 +86,8 @@ int CEF_CALLBACK drag_data_is_link(struct _cef_drag_data_t* self) {
}
int CEF_CALLBACK drag_data_is_fragment(struct _cef_drag_data_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -91,6 +102,8 @@ int CEF_CALLBACK drag_data_is_fragment(struct _cef_drag_data_t* self) {
}
int CEF_CALLBACK drag_data_is_file(struct _cef_drag_data_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -106,6 +119,8 @@ int CEF_CALLBACK drag_data_is_file(struct _cef_drag_data_t* self) {
cef_string_userfree_t CEF_CALLBACK
drag_data_get_link_url(struct _cef_drag_data_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -121,6 +136,8 @@ drag_data_get_link_url(struct _cef_drag_data_t* self) {
cef_string_userfree_t CEF_CALLBACK
drag_data_get_link_title(struct _cef_drag_data_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -136,6 +153,8 @@ drag_data_get_link_title(struct _cef_drag_data_t* self) {
cef_string_userfree_t CEF_CALLBACK
drag_data_get_link_metadata(struct _cef_drag_data_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -151,6 +170,8 @@ drag_data_get_link_metadata(struct _cef_drag_data_t* self) {
cef_string_userfree_t CEF_CALLBACK
drag_data_get_fragment_text(struct _cef_drag_data_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -166,6 +187,8 @@ drag_data_get_fragment_text(struct _cef_drag_data_t* self) {
cef_string_userfree_t CEF_CALLBACK
drag_data_get_fragment_html(struct _cef_drag_data_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -181,6 +204,8 @@ drag_data_get_fragment_html(struct _cef_drag_data_t* self) {
cef_string_userfree_t CEF_CALLBACK
drag_data_get_fragment_base_url(struct _cef_drag_data_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -196,6 +221,8 @@ drag_data_get_fragment_base_url(struct _cef_drag_data_t* self) {
cef_string_userfree_t CEF_CALLBACK
drag_data_get_file_name(struct _cef_drag_data_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -212,6 +239,8 @@ drag_data_get_file_name(struct _cef_drag_data_t* self) {
size_t CEF_CALLBACK
drag_data_get_file_contents(struct _cef_drag_data_t* self,
struct _cef_stream_writer_t* writer) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -229,6 +258,8 @@ drag_data_get_file_contents(struct _cef_drag_data_t* self,
int CEF_CALLBACK drag_data_get_file_names(struct _cef_drag_data_t* self,
cef_string_list_t names) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -256,6 +287,8 @@ int CEF_CALLBACK drag_data_get_file_names(struct _cef_drag_data_t* self,
void CEF_CALLBACK drag_data_set_link_url(struct _cef_drag_data_t* self,
const cef_string_t* url) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -269,6 +302,8 @@ void CEF_CALLBACK drag_data_set_link_url(struct _cef_drag_data_t* self,
void CEF_CALLBACK drag_data_set_link_title(struct _cef_drag_data_t* self,
const cef_string_t* title) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -282,6 +317,8 @@ void CEF_CALLBACK drag_data_set_link_title(struct _cef_drag_data_t* self,
void CEF_CALLBACK drag_data_set_link_metadata(struct _cef_drag_data_t* self,
const cef_string_t* data) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -295,6 +332,8 @@ void CEF_CALLBACK drag_data_set_link_metadata(struct _cef_drag_data_t* self,
void CEF_CALLBACK drag_data_set_fragment_text(struct _cef_drag_data_t* self,
const cef_string_t* text) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -308,6 +347,8 @@ void CEF_CALLBACK drag_data_set_fragment_text(struct _cef_drag_data_t* self,
void CEF_CALLBACK drag_data_set_fragment_html(struct _cef_drag_data_t* self,
const cef_string_t* html) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -322,6 +363,8 @@ void CEF_CALLBACK drag_data_set_fragment_html(struct _cef_drag_data_t* self,
void CEF_CALLBACK
drag_data_set_fragment_base_url(struct _cef_drag_data_t* self,
const cef_string_t* base_url) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -334,6 +377,8 @@ drag_data_set_fragment_base_url(struct _cef_drag_data_t* self,
}
void CEF_CALLBACK drag_data_reset_file_contents(struct _cef_drag_data_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -347,6 +392,8 @@ void CEF_CALLBACK drag_data_reset_file_contents(struct _cef_drag_data_t* self) {
void CEF_CALLBACK drag_data_add_file(struct _cef_drag_data_t* self,
const cef_string_t* path,
const cef_string_t* display_name) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -365,6 +412,8 @@ void CEF_CALLBACK drag_data_add_file(struct _cef_drag_data_t* self,
struct _cef_image_t* CEF_CALLBACK
drag_data_get_image(struct _cef_drag_data_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -380,6 +429,8 @@ drag_data_get_image(struct _cef_drag_data_t* self) {
cef_point_t CEF_CALLBACK
drag_data_get_image_hotspot(struct _cef_drag_data_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -394,6 +445,8 @@ drag_data_get_image_hotspot(struct _cef_drag_data_t* self) {
}
int CEF_CALLBACK drag_data_has_image(struct _cef_drag_data_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -439,6 +492,12 @@ CefDragDataCppToC::CefDragDataCppToC() {
GetStruct()->has_image = drag_data_has_image;
}
// DESTRUCTOR - Do not edit by hand.
CefDragDataCppToC::~CefDragDataCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefDragData>
CefCppToCRefCounted<CefDragDataCppToC, CefDragData, cef_drag_data_t>::

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=1e1a8174dc3c0655245c12da94b57c2133d134b5$
// $hash=af7662cb4499269d80ca8d8ac73a4a73d856c689$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_DRAG_DATA_CPPTOC_H_
@ -31,6 +31,7 @@ class CefDragDataCppToC : public CefCppToCRefCounted<CefDragDataCppToC,
cef_drag_data_t> {
public:
CefDragDataCppToC();
virtual ~CefDragDataCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_DRAG_DATA_CPPTOC_H_

View File

@ -9,12 +9,13 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=b267b6f6b92f40479ba91e67f0981bd05063a29c$
// $hash=cc6ff684cc894dc40ea04848eb61ac4f3b87da20$
//
#include "libcef_dll/cpptoc/drag_handler_cpptoc.h"
#include "libcef_dll/ctocpp/browser_ctocpp.h"
#include "libcef_dll/ctocpp/drag_data_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -24,6 +25,8 @@ int CEF_CALLBACK drag_handler_on_drag_enter(struct _cef_drag_handler_t* self,
cef_browser_t* browser,
cef_drag_data_t* dragData,
cef_drag_operations_mask_t mask) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -51,6 +54,8 @@ void CEF_CALLBACK drag_handler_on_draggable_regions_changed(
cef_browser_t* browser,
size_t regionsCount,
cef_draggable_region_t const* regions) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -89,6 +94,12 @@ CefDragHandlerCppToC::CefDragHandlerCppToC() {
drag_handler_on_draggable_regions_changed;
}
// DESTRUCTOR - Do not edit by hand.
CefDragHandlerCppToC::~CefDragHandlerCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefDragHandler>
CefCppToCRefCounted<CefDragHandlerCppToC, CefDragHandler, cef_drag_handler_t>::

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=8f56aeb476b2f1e8c13d448f24557eb91d9b7e68$
// $hash=1d41c5fb4e26863326fd9597789afb7c0b33438f$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_DRAG_HANDLER_CPPTOC_H_
@ -31,6 +31,7 @@ class CefDragHandlerCppToC : public CefCppToCRefCounted<CefDragHandlerCppToC,
cef_drag_handler_t> {
public:
CefDragHandlerCppToC();
virtual ~CefDragHandlerCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_DRAG_HANDLER_CPPTOC_H_

View File

@ -9,10 +9,11 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=a19cac14ca6d1a334920a83e092ff2accb7a0d4c$
// $hash=be2c5bdbd772cac7345acb05b976a3cf2e05b8b0$
//
#include "libcef_dll/cpptoc/end_tracing_callback_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -21,6 +22,8 @@ namespace {
void CEF_CALLBACK end_tracing_callback_on_end_tracing_complete(
struct _cef_end_tracing_callback_t* self,
const cef_string_t* tracing_file) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -45,6 +48,12 @@ CefEndTracingCallbackCppToC::CefEndTracingCallbackCppToC() {
end_tracing_callback_on_end_tracing_complete;
}
// DESTRUCTOR - Do not edit by hand.
CefEndTracingCallbackCppToC::~CefEndTracingCallbackCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefEndTracingCallback> CefCppToCRefCounted<
CefEndTracingCallbackCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=ce1ac67bb16419c5f4f80ff7af7c06e87fae6c77$
// $hash=575d2bda3e2c0b6a811b102511e7444fcdc5f955$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_END_TRACING_CALLBACK_CPPTOC_H_
@ -32,6 +32,7 @@ class CefEndTracingCallbackCppToC
cef_end_tracing_callback_t> {
public:
CefEndTracingCallbackCppToC();
virtual ~CefEndTracingCallbackCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_END_TRACING_CALLBACK_CPPTOC_H_

View File

@ -9,13 +9,14 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=b56766a3f166ad3191d37815d12f83bd9da0690e$
// $hash=4527ed93583d01dd187f5f40e2adce17c613ca42$
//
#include "libcef_dll/cpptoc/extension_cpptoc.h"
#include "libcef_dll/cpptoc/dictionary_value_cpptoc.h"
#include "libcef_dll/cpptoc/request_context_cpptoc.h"
#include "libcef_dll/ctocpp/extension_handler_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -23,6 +24,8 @@ namespace {
cef_string_userfree_t CEF_CALLBACK
extension_get_identifier(struct _cef_extension_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -38,6 +41,8 @@ extension_get_identifier(struct _cef_extension_t* self) {
cef_string_userfree_t CEF_CALLBACK
extension_get_path(struct _cef_extension_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -53,6 +58,8 @@ extension_get_path(struct _cef_extension_t* self) {
struct _cef_dictionary_value_t* CEF_CALLBACK
extension_get_manifest(struct _cef_extension_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -69,6 +76,8 @@ extension_get_manifest(struct _cef_extension_t* self) {
int CEF_CALLBACK extension_is_same(struct _cef_extension_t* self,
struct _cef_extension_t* that) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -89,6 +98,8 @@ int CEF_CALLBACK extension_is_same(struct _cef_extension_t* self,
struct _cef_extension_handler_t* CEF_CALLBACK
extension_get_handler(struct _cef_extension_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -105,6 +116,8 @@ extension_get_handler(struct _cef_extension_t* self) {
struct _cef_request_context_t* CEF_CALLBACK
extension_get_loader_context(struct _cef_extension_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -120,6 +133,8 @@ extension_get_loader_context(struct _cef_extension_t* self) {
}
int CEF_CALLBACK extension_is_loaded(struct _cef_extension_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -134,6 +149,8 @@ int CEF_CALLBACK extension_is_loaded(struct _cef_extension_t* self) {
}
void CEF_CALLBACK extension_unload(struct _cef_extension_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -159,6 +176,12 @@ CefExtensionCppToC::CefExtensionCppToC() {
GetStruct()->unload = extension_unload;
}
// DESTRUCTOR - Do not edit by hand.
CefExtensionCppToC::~CefExtensionCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefExtension>
CefCppToCRefCounted<CefExtensionCppToC, CefExtension, cef_extension_t>::

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=dc3a7d0122346963b281f1e49d193c02ca09d4b4$
// $hash=905a73e6a0d3dc3a860a51d51d57ae0d11e5cabe$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_EXTENSION_CPPTOC_H_
@ -35,6 +35,7 @@ class CefExtensionCppToC : public CefCppToCRefCounted<CefExtensionCppToC,
cef_extension_t> {
public:
CefExtensionCppToC();
virtual ~CefExtensionCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_EXTENSION_CPPTOC_H_

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=b74169ee8c5e71b8694165115c8d27a309ee8cfc$
// $hash=b8d389ef550832084c478aa5fd6844f8cd09e3ef$
//
#include "libcef_dll/cpptoc/extension_handler_cpptoc.h"
@ -17,6 +17,7 @@
#include "libcef_dll/ctocpp/browser_ctocpp.h"
#include "libcef_dll/ctocpp/extension_ctocpp.h"
#include "libcef_dll/ctocpp/get_extension_resource_callback_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -25,6 +26,8 @@ namespace {
void CEF_CALLBACK extension_handler_on_extension_load_failed(
struct _cef_extension_handler_t* self,
cef_errorcode_t result) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -38,6 +41,8 @@ void CEF_CALLBACK extension_handler_on_extension_load_failed(
void CEF_CALLBACK
extension_handler_on_extension_loaded(struct _cef_extension_handler_t* self,
cef_extension_t* extension) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -56,6 +61,8 @@ extension_handler_on_extension_loaded(struct _cef_extension_handler_t* self,
void CEF_CALLBACK
extension_handler_on_extension_unloaded(struct _cef_extension_handler_t* self,
cef_extension_t* extension) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -77,6 +84,8 @@ int CEF_CALLBACK extension_handler_on_before_background_browser(
const cef_string_t* url,
cef_client_t** client,
struct _cef_browser_settings_t* settings) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -144,6 +153,8 @@ extension_handler_on_before_browser(struct _cef_extension_handler_t* self,
cef_window_info_t* windowInfo,
cef_client_t** client,
struct _cef_browser_settings_t* settings) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -224,6 +235,8 @@ extension_handler_get_active_browser(struct _cef_extension_handler_t* self,
cef_extension_t* extension,
cef_browser_t* browser,
int include_incognito) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -254,6 +267,8 @@ extension_handler_can_access_browser(struct _cef_extension_handler_t* self,
cef_browser_t* browser,
int include_incognito,
cef_browser_t* target_browser) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -287,6 +302,8 @@ int CEF_CALLBACK extension_handler_get_extension_resource(
cef_browser_t* browser,
const cef_string_t* file,
cef_get_extension_resource_callback_t* callback) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -336,6 +353,12 @@ CefExtensionHandlerCppToC::CefExtensionHandlerCppToC() {
extension_handler_get_extension_resource;
}
// DESTRUCTOR - Do not edit by hand.
CefExtensionHandlerCppToC::~CefExtensionHandlerCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefExtensionHandler> CefCppToCRefCounted<
CefExtensionHandlerCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=750e896f7b97f8de103e420e4698ee30f8d8399d$
// $hash=c1afd088ce7dd292c2d4e057bac6050e8da00880$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_EXTENSION_HANDLER_CPPTOC_H_
@ -34,6 +34,7 @@ class CefExtensionHandlerCppToC
cef_extension_handler_t> {
public:
CefExtensionHandlerCppToC();
virtual ~CefExtensionHandlerCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_EXTENSION_HANDLER_CPPTOC_H_

View File

@ -9,10 +9,11 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=b3e7dd73edf957adb75d82ef517e242561212cc7$
// $hash=b5a14bd3df9a4712d5cb68686bac8c4dfb3bfeba$
//
#include "libcef_dll/cpptoc/file_dialog_callback_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
#include "libcef_dll/transfer_util.h"
namespace {
@ -23,6 +24,8 @@ void CEF_CALLBACK
file_dialog_callback_cont(struct _cef_file_dialog_callback_t* self,
int selected_accept_filter,
cef_string_list_t file_paths) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -45,6 +48,8 @@ file_dialog_callback_cont(struct _cef_file_dialog_callback_t* self,
void CEF_CALLBACK
file_dialog_callback_cancel(struct _cef_file_dialog_callback_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -64,6 +69,12 @@ CefFileDialogCallbackCppToC::CefFileDialogCallbackCppToC() {
GetStruct()->cancel = file_dialog_callback_cancel;
}
// DESTRUCTOR - Do not edit by hand.
CefFileDialogCallbackCppToC::~CefFileDialogCallbackCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefFileDialogCallback> CefCppToCRefCounted<
CefFileDialogCallbackCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=e702a6fb33fcb57d66cdedfa0e3e6eea0db20b2f$
// $hash=87b1e03f22df20330840330bfd6b9e873b57753e$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_FILE_DIALOG_CALLBACK_CPPTOC_H_
@ -32,6 +32,7 @@ class CefFileDialogCallbackCppToC
cef_file_dialog_callback_t> {
public:
CefFileDialogCallbackCppToC();
virtual ~CefFileDialogCallbackCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_FILE_DIALOG_CALLBACK_CPPTOC_H_

View File

@ -9,11 +9,12 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=a4f6021bc0bdc310c849364e52dad35ccb82dd6d$
// $hash=1030036a2a5b321e8fd22f7913c827c5b7b9cea1$
//
#include "libcef_dll/cpptoc/find_handler_cpptoc.h"
#include "libcef_dll/ctocpp/browser_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -26,6 +27,8 @@ void CEF_CALLBACK find_handler_on_find_result(struct _cef_find_handler_t* self,
const cef_rect_t* selectionRect,
int activeMatchOrdinal,
int finalUpdate) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -57,6 +60,12 @@ CefFindHandlerCppToC::CefFindHandlerCppToC() {
GetStruct()->on_find_result = find_handler_on_find_result;
}
// DESTRUCTOR - Do not edit by hand.
CefFindHandlerCppToC::~CefFindHandlerCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefFindHandler>
CefCppToCRefCounted<CefFindHandlerCppToC, CefFindHandler, cef_find_handler_t>::

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=a057b8eb4034f0729ae4bc116f9551dbad8b0c83$
// $hash=b86619b4f41af3789ebda417d82762b7e53fb1c5$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_FIND_HANDLER_CPPTOC_H_
@ -31,6 +31,7 @@ class CefFindHandlerCppToC : public CefCppToCRefCounted<CefFindHandlerCppToC,
cef_find_handler_t> {
public:
CefFindHandlerCppToC();
virtual ~CefFindHandlerCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_FIND_HANDLER_CPPTOC_H_

View File

@ -9,11 +9,12 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=461272d12d9d2eff32f8a7d04c8177efb6c0b6a0$
// $hash=f20894b110772883b57dbb90bf2361525c2669aa$
//
#include "libcef_dll/cpptoc/focus_handler_cpptoc.h"
#include "libcef_dll/ctocpp/browser_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -22,6 +23,8 @@ namespace {
void CEF_CALLBACK focus_handler_on_take_focus(struct _cef_focus_handler_t* self,
cef_browser_t* browser,
int next) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -40,6 +43,8 @@ void CEF_CALLBACK focus_handler_on_take_focus(struct _cef_focus_handler_t* self,
int CEF_CALLBACK focus_handler_on_set_focus(struct _cef_focus_handler_t* self,
cef_browser_t* browser,
cef_focus_source_t source) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -60,6 +65,8 @@ int CEF_CALLBACK focus_handler_on_set_focus(struct _cef_focus_handler_t* self,
void CEF_CALLBACK focus_handler_on_got_focus(struct _cef_focus_handler_t* self,
cef_browser_t* browser) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -84,6 +91,12 @@ CefFocusHandlerCppToC::CefFocusHandlerCppToC() {
GetStruct()->on_got_focus = focus_handler_on_got_focus;
}
// DESTRUCTOR - Do not edit by hand.
CefFocusHandlerCppToC::~CefFocusHandlerCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefFocusHandler> CefCppToCRefCounted<
CefFocusHandlerCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=b201e99260bd005c9821dab9e9b6148e4561cfa6$
// $hash=194e063e6eeec677a002179d90340efcdbc05744$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_FOCUS_HANDLER_CPPTOC_H_
@ -31,6 +31,7 @@ class CefFocusHandlerCppToC : public CefCppToCRefCounted<CefFocusHandlerCppToC,
cef_focus_handler_t> {
public:
CefFocusHandlerCppToC();
virtual ~CefFocusHandlerCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_FOCUS_HANDLER_CPPTOC_H_

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=12cd68fcf89a3cdccf4651f709796357f0159fa8$
// $hash=aaaa5a4d0301d39b0a7c4c8f5dcf49b3ac899d9c$
//
#include "libcef_dll/cpptoc/frame_cpptoc.h"
@ -18,12 +18,15 @@
#include "libcef_dll/cpptoc/v8context_cpptoc.h"
#include "libcef_dll/ctocpp/domvisitor_ctocpp.h"
#include "libcef_dll/ctocpp/string_visitor_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
// MEMBER FUNCTIONS - Body may be edited by hand.
int CEF_CALLBACK frame_is_valid(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -38,6 +41,8 @@ int CEF_CALLBACK frame_is_valid(struct _cef_frame_t* self) {
}
void CEF_CALLBACK frame_undo(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -49,6 +54,8 @@ void CEF_CALLBACK frame_undo(struct _cef_frame_t* self) {
}
void CEF_CALLBACK frame_redo(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -60,6 +67,8 @@ void CEF_CALLBACK frame_redo(struct _cef_frame_t* self) {
}
void CEF_CALLBACK frame_cut(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -71,6 +80,8 @@ void CEF_CALLBACK frame_cut(struct _cef_frame_t* self) {
}
void CEF_CALLBACK frame_copy(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -82,6 +93,8 @@ void CEF_CALLBACK frame_copy(struct _cef_frame_t* self) {
}
void CEF_CALLBACK frame_paste(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -93,6 +106,8 @@ void CEF_CALLBACK frame_paste(struct _cef_frame_t* self) {
}
void CEF_CALLBACK frame_del(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -104,6 +119,8 @@ void CEF_CALLBACK frame_del(struct _cef_frame_t* self) {
}
void CEF_CALLBACK frame_select_all(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -115,6 +132,8 @@ void CEF_CALLBACK frame_select_all(struct _cef_frame_t* self) {
}
void CEF_CALLBACK frame_view_source(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -127,6 +146,8 @@ void CEF_CALLBACK frame_view_source(struct _cef_frame_t* self) {
void CEF_CALLBACK frame_get_source(struct _cef_frame_t* self,
struct _cef_string_visitor_t* visitor) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -143,6 +164,8 @@ void CEF_CALLBACK frame_get_source(struct _cef_frame_t* self,
void CEF_CALLBACK frame_get_text(struct _cef_frame_t* self,
struct _cef_string_visitor_t* visitor) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -159,6 +182,8 @@ void CEF_CALLBACK frame_get_text(struct _cef_frame_t* self,
void CEF_CALLBACK frame_load_request(struct _cef_frame_t* self,
struct _cef_request_t* request) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -175,6 +200,8 @@ void CEF_CALLBACK frame_load_request(struct _cef_frame_t* self,
void CEF_CALLBACK frame_load_url(struct _cef_frame_t* self,
const cef_string_t* url) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -192,6 +219,8 @@ void CEF_CALLBACK frame_load_url(struct _cef_frame_t* self,
void CEF_CALLBACK frame_load_string(struct _cef_frame_t* self,
const cef_string_t* string_val,
const cef_string_t* url) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -214,6 +243,8 @@ void CEF_CALLBACK frame_execute_java_script(struct _cef_frame_t* self,
const cef_string_t* code,
const cef_string_t* script_url,
int start_line) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -231,6 +262,8 @@ void CEF_CALLBACK frame_execute_java_script(struct _cef_frame_t* self,
}
int CEF_CALLBACK frame_is_main(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -245,6 +278,8 @@ int CEF_CALLBACK frame_is_main(struct _cef_frame_t* self) {
}
int CEF_CALLBACK frame_is_focused(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -259,6 +294,8 @@ int CEF_CALLBACK frame_is_focused(struct _cef_frame_t* self) {
}
cef_string_userfree_t CEF_CALLBACK frame_get_name(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -273,6 +310,8 @@ cef_string_userfree_t CEF_CALLBACK frame_get_name(struct _cef_frame_t* self) {
}
int64 CEF_CALLBACK frame_get_identifier(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -287,6 +326,8 @@ int64 CEF_CALLBACK frame_get_identifier(struct _cef_frame_t* self) {
}
struct _cef_frame_t* CEF_CALLBACK frame_get_parent(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -301,6 +342,8 @@ struct _cef_frame_t* CEF_CALLBACK frame_get_parent(struct _cef_frame_t* self) {
}
cef_string_userfree_t CEF_CALLBACK frame_get_url(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -315,6 +358,8 @@ cef_string_userfree_t CEF_CALLBACK frame_get_url(struct _cef_frame_t* self) {
}
cef_browser_t* CEF_CALLBACK frame_get_browser(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -330,6 +375,8 @@ cef_browser_t* CEF_CALLBACK frame_get_browser(struct _cef_frame_t* self) {
struct _cef_v8context_t* CEF_CALLBACK
frame_get_v8context(struct _cef_frame_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -345,6 +392,8 @@ frame_get_v8context(struct _cef_frame_t* self) {
void CEF_CALLBACK frame_visit_dom(struct _cef_frame_t* self,
cef_domvisitor_t* visitor) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -390,6 +439,12 @@ CefFrameCppToC::CefFrameCppToC() {
GetStruct()->visit_dom = frame_visit_dom;
}
// DESTRUCTOR - Do not edit by hand.
CefFrameCppToC::~CefFrameCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefFrame>
CefCppToCRefCounted<CefFrameCppToC, CefFrame, cef_frame_t>::UnwrapDerived(

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=43922eb5a9740a37e20f35cacf4771beefe34ef2$
// $hash=44a73e5a0632c0d3d3c4b1e5f3f929cf4834f054$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_FRAME_CPPTOC_H_
@ -34,6 +34,7 @@ class CefFrameCppToC
: public CefCppToCRefCounted<CefFrameCppToC, CefFrame, cef_frame_t> {
public:
CefFrameCppToC();
virtual ~CefFrameCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_FRAME_CPPTOC_H_

View File

@ -9,11 +9,12 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=cd6b32c4ac1068b054fa977b3833f2d80b042bfb$
// $hash=967b251d6a1cc2488facf53dfd2c2183c3c61b43$
//
#include "libcef_dll/cpptoc/get_extension_resource_callback_cpptoc.h"
#include "libcef_dll/cpptoc/stream_reader_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -22,6 +23,8 @@ namespace {
void CEF_CALLBACK get_extension_resource_callback_cont(
struct _cef_get_extension_resource_callback_t* self,
struct _cef_stream_reader_t* stream) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -36,6 +39,8 @@ void CEF_CALLBACK get_extension_resource_callback_cont(
void CEF_CALLBACK get_extension_resource_callback_cancel(
struct _cef_get_extension_resource_callback_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -55,6 +60,13 @@ CefGetExtensionResourceCallbackCppToC::CefGetExtensionResourceCallbackCppToC() {
GetStruct()->cancel = get_extension_resource_callback_cancel;
}
// DESTRUCTOR - Do not edit by hand.
CefGetExtensionResourceCallbackCppToC::
~CefGetExtensionResourceCallbackCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefGetExtensionResourceCallback>
CefCppToCRefCounted<CefGetExtensionResourceCallbackCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=200739875373679e735feb17dc7c65a8a2da7f96$
// $hash=4eab4cd81440e73e3426e9af757c88bf926f60d7$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_GET_EXTENSION_RESOURCE_CALLBACK_CPPTOC_H_
@ -34,6 +34,7 @@ class CefGetExtensionResourceCallbackCppToC
cef_get_extension_resource_callback_t> {
public:
CefGetExtensionResourceCallbackCppToC();
virtual ~CefGetExtensionResourceCallbackCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_GET_EXTENSION_RESOURCE_CALLBACK_CPPTOC_H_

View File

@ -9,15 +9,18 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=a4c54b863e3e144dc9a3cfa2911c5f842c84247c$
// $hash=c5faaf475b1cf107d5b7df2e976ff29607401549$
//
#include "libcef_dll/cpptoc/image_cpptoc.h"
#include "libcef_dll/cpptoc/binary_value_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
// GLOBAL FUNCTIONS - Body may be edited by hand.
CEF_EXPORT cef_image_t* cef_image_create() {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Execute
@ -32,6 +35,8 @@ namespace {
// MEMBER FUNCTIONS - Body may be edited by hand.
int CEF_CALLBACK image_is_empty(struct _cef_image_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -47,6 +52,8 @@ int CEF_CALLBACK image_is_empty(struct _cef_image_t* self) {
int CEF_CALLBACK image_is_same(struct _cef_image_t* self,
struct _cef_image_t* that) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -73,6 +80,8 @@ int CEF_CALLBACK image_add_bitmap(struct _cef_image_t* self,
cef_alpha_type_t alpha_type,
const void* pixel_data,
size_t pixel_data_size) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -96,6 +105,8 @@ int CEF_CALLBACK image_add_png(struct _cef_image_t* self,
float scale_factor,
const void* png_data,
size_t png_data_size) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -118,6 +129,8 @@ int CEF_CALLBACK image_add_jpeg(struct _cef_image_t* self,
float scale_factor,
const void* jpeg_data,
size_t jpeg_data_size) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -137,6 +150,8 @@ int CEF_CALLBACK image_add_jpeg(struct _cef_image_t* self,
}
size_t CEF_CALLBACK image_get_width(struct _cef_image_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -151,6 +166,8 @@ size_t CEF_CALLBACK image_get_width(struct _cef_image_t* self) {
}
size_t CEF_CALLBACK image_get_height(struct _cef_image_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -166,6 +183,8 @@ size_t CEF_CALLBACK image_get_height(struct _cef_image_t* self) {
int CEF_CALLBACK image_has_representation(struct _cef_image_t* self,
float scale_factor) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -181,6 +200,8 @@ int CEF_CALLBACK image_has_representation(struct _cef_image_t* self,
int CEF_CALLBACK image_remove_representation(struct _cef_image_t* self,
float scale_factor) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -199,6 +220,8 @@ int CEF_CALLBACK image_get_representation_info(struct _cef_image_t* self,
float* actual_scale_factor,
int* pixel_width,
int* pixel_height) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -249,6 +272,8 @@ image_get_as_bitmap(struct _cef_image_t* self,
cef_alpha_type_t alpha_type,
int* pixel_width,
int* pixel_height) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -289,6 +314,8 @@ image_get_as_png(struct _cef_image_t* self,
int with_transparency,
int* pixel_width,
int* pixel_height) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -330,6 +357,8 @@ image_get_as_jpeg(struct _cef_image_t* self,
int quality,
int* pixel_width,
int* pixel_height) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -384,6 +413,12 @@ CefImageCppToC::CefImageCppToC() {
GetStruct()->get_as_jpeg = image_get_as_jpeg;
}
// DESTRUCTOR - Do not edit by hand.
CefImageCppToC::~CefImageCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefImage>
CefCppToCRefCounted<CefImageCppToC, CefImage, cef_image_t>::UnwrapDerived(

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=65d358de7621307bf3babe90b447c45bc4866eac$
// $hash=be4a097e4a08f7b3101401dadc9d77465dcfc14d$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_IMAGE_CPPTOC_H_
@ -30,6 +30,7 @@ class CefImageCppToC
: public CefCppToCRefCounted<CefImageCppToC, CefImage, cef_image_t> {
public:
CefImageCppToC();
virtual ~CefImageCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_IMAGE_CPPTOC_H_

View File

@ -9,10 +9,11 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=31a3da96b7a9021bec0cd6ceda39773afcb6a93f$
// $hash=8f763ca4fc24cb5d5f4189b685e1b7662b5e7824$
//
#include "libcef_dll/cpptoc/jsdialog_callback_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -21,6 +22,8 @@ namespace {
void CEF_CALLBACK jsdialog_callback_cont(struct _cef_jsdialog_callback_t* self,
int success,
const cef_string_t* user_input) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -41,6 +44,12 @@ CefJSDialogCallbackCppToC::CefJSDialogCallbackCppToC() {
GetStruct()->cont = jsdialog_callback_cont;
}
// DESTRUCTOR - Do not edit by hand.
CefJSDialogCallbackCppToC::~CefJSDialogCallbackCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefJSDialogCallback> CefCppToCRefCounted<
CefJSDialogCallbackCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=d692048ad6d97b5353c4c019c56be916aedd6126$
// $hash=5001150c8cfb85270eee1da2f2fa1a0dc57d2728$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_JSDIALOG_CALLBACK_CPPTOC_H_
@ -32,6 +32,7 @@ class CefJSDialogCallbackCppToC
cef_jsdialog_callback_t> {
public:
CefJSDialogCallbackCppToC();
virtual ~CefJSDialogCallbackCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_JSDIALOG_CALLBACK_CPPTOC_H_

View File

@ -9,12 +9,13 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=dcb4befb6077f91893895ff5ab844d1b2572278b$
// $hash=40e0a9efeebef0613823c2fb04eef6102fc331f0$
//
#include "libcef_dll/cpptoc/jsdialog_handler_cpptoc.h"
#include "libcef_dll/ctocpp/browser_ctocpp.h"
#include "libcef_dll/ctocpp/jsdialog_callback_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -29,6 +30,8 @@ jsdialog_handler_on_jsdialog(struct _cef_jsdialog_handler_t* self,
const cef_string_t* default_prompt_text,
cef_jsdialog_callback_t* callback,
int* suppress_message) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -72,6 +75,8 @@ jsdialog_handler_on_before_unload_dialog(struct _cef_jsdialog_handler_t* self,
const cef_string_t* message_text,
int is_reload,
cef_jsdialog_callback_t* callback) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -99,6 +104,8 @@ jsdialog_handler_on_before_unload_dialog(struct _cef_jsdialog_handler_t* self,
void CEF_CALLBACK
jsdialog_handler_on_reset_dialog_state(struct _cef_jsdialog_handler_t* self,
cef_browser_t* browser) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -117,6 +124,8 @@ jsdialog_handler_on_reset_dialog_state(struct _cef_jsdialog_handler_t* self,
void CEF_CALLBACK
jsdialog_handler_on_dialog_closed(struct _cef_jsdialog_handler_t* self,
cef_browser_t* browser) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -144,6 +153,12 @@ CefJSDialogHandlerCppToC::CefJSDialogHandlerCppToC() {
GetStruct()->on_dialog_closed = jsdialog_handler_on_dialog_closed;
}
// DESTRUCTOR - Do not edit by hand.
CefJSDialogHandlerCppToC::~CefJSDialogHandlerCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefJSDialogHandler> CefCppToCRefCounted<
CefJSDialogHandlerCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=88887f8f5df0688904bd938f857a02123c5598f9$
// $hash=db45a94d5d69b3f6abf9d304d1e87bcfe1f2f6ab$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_JSDIALOG_HANDLER_CPPTOC_H_
@ -32,6 +32,7 @@ class CefJSDialogHandlerCppToC
cef_jsdialog_handler_t> {
public:
CefJSDialogHandlerCppToC();
virtual ~CefJSDialogHandlerCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_JSDIALOG_HANDLER_CPPTOC_H_

View File

@ -9,11 +9,12 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=b25ff95e39d77a42daa4be355bbfaafc0d0e9e53$
// $hash=0ce2ec6db857aedcf142792f764fb1720e112ce1$
//
#include "libcef_dll/cpptoc/keyboard_handler_cpptoc.h"
#include "libcef_dll/ctocpp/browser_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -25,6 +26,8 @@ keyboard_handler_on_pre_key_event(struct _cef_keyboard_handler_t* self,
const struct _cef_key_event_t* event,
cef_event_handle_t os_event,
int* is_keyboard_shortcut) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -69,6 +72,8 @@ keyboard_handler_on_key_event(struct _cef_keyboard_handler_t* self,
cef_browser_t* browser,
const struct _cef_key_event_t* event,
cef_event_handle_t os_event) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -105,6 +110,12 @@ CefKeyboardHandlerCppToC::CefKeyboardHandlerCppToC() {
GetStruct()->on_key_event = keyboard_handler_on_key_event;
}
// DESTRUCTOR - Do not edit by hand.
CefKeyboardHandlerCppToC::~CefKeyboardHandlerCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefKeyboardHandler> CefCppToCRefCounted<
CefKeyboardHandlerCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=15f3db777d4fc5a1438f4e4d4b3a65433d778898$
// $hash=58d79612910145862a792650dd380246fa1ebb02$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_KEYBOARD_HANDLER_CPPTOC_H_
@ -32,6 +32,7 @@ class CefKeyboardHandlerCppToC
cef_keyboard_handler_t> {
public:
CefKeyboardHandlerCppToC();
virtual ~CefKeyboardHandlerCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_KEYBOARD_HANDLER_CPPTOC_H_

View File

@ -9,13 +9,14 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=e63407d8b685d6ec0d5786c18bbe48345165f15f$
// $hash=a5715373212cdcfb2c42cb520b3e11a6d90a71cf$
//
#include "libcef_dll/cpptoc/life_span_handler_cpptoc.h"
#include "libcef_dll/cpptoc/client_cpptoc.h"
#include "libcef_dll/ctocpp/browser_ctocpp.h"
#include "libcef_dll/ctocpp/frame_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -34,6 +35,8 @@ int CEF_CALLBACK life_span_handler_on_before_popup(
cef_client_t** client,
struct _cef_browser_settings_t* settings,
int* no_javascript_access) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -124,6 +127,8 @@ int CEF_CALLBACK life_span_handler_on_before_popup(
void CEF_CALLBACK
life_span_handler_on_after_created(struct _cef_life_span_handler_t* self,
cef_browser_t* browser) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -142,6 +147,8 @@ life_span_handler_on_after_created(struct _cef_life_span_handler_t* self,
int CEF_CALLBACK
life_span_handler_do_close(struct _cef_life_span_handler_t* self,
cef_browser_t* browser) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -163,6 +170,8 @@ life_span_handler_do_close(struct _cef_life_span_handler_t* self,
void CEF_CALLBACK
life_span_handler_on_before_close(struct _cef_life_span_handler_t* self,
cef_browser_t* browser) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -189,6 +198,12 @@ CefLifeSpanHandlerCppToC::CefLifeSpanHandlerCppToC() {
GetStruct()->on_before_close = life_span_handler_on_before_close;
}
// DESTRUCTOR - Do not edit by hand.
CefLifeSpanHandlerCppToC::~CefLifeSpanHandlerCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefLifeSpanHandler> CefCppToCRefCounted<
CefLifeSpanHandlerCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=d6d093665566c71dea6728edf89cc61ff7c5f98d$
// $hash=f9df484aca7313808ce702bcf13691498934a47e$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_LIFE_SPAN_HANDLER_CPPTOC_H_
@ -34,6 +34,7 @@ class CefLifeSpanHandlerCppToC
cef_life_span_handler_t> {
public:
CefLifeSpanHandlerCppToC();
virtual ~CefLifeSpanHandlerCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_LIFE_SPAN_HANDLER_CPPTOC_H_

View File

@ -9,17 +9,20 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=85599d79d6225f6c7f9d5c1bd6c2ba20820b0f26$
// $hash=7f04c8da6105e3e52b804b4c029db0e23cf41de1$
//
#include "libcef_dll/cpptoc/list_value_cpptoc.h"
#include "libcef_dll/cpptoc/binary_value_cpptoc.h"
#include "libcef_dll/cpptoc/dictionary_value_cpptoc.h"
#include "libcef_dll/cpptoc/value_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
// GLOBAL FUNCTIONS - Body may be edited by hand.
CEF_EXPORT cef_list_value_t* cef_list_value_create() {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Execute
@ -34,6 +37,8 @@ namespace {
// MEMBER FUNCTIONS - Body may be edited by hand.
int CEF_CALLBACK list_value_is_valid(struct _cef_list_value_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -48,6 +53,8 @@ int CEF_CALLBACK list_value_is_valid(struct _cef_list_value_t* self) {
}
int CEF_CALLBACK list_value_is_owned(struct _cef_list_value_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -62,6 +69,8 @@ int CEF_CALLBACK list_value_is_owned(struct _cef_list_value_t* self) {
}
int CEF_CALLBACK list_value_is_read_only(struct _cef_list_value_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -77,6 +86,8 @@ int CEF_CALLBACK list_value_is_read_only(struct _cef_list_value_t* self) {
int CEF_CALLBACK list_value_is_same(struct _cef_list_value_t* self,
struct _cef_list_value_t* that) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -97,6 +108,8 @@ int CEF_CALLBACK list_value_is_same(struct _cef_list_value_t* self,
int CEF_CALLBACK list_value_is_equal(struct _cef_list_value_t* self,
struct _cef_list_value_t* that) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -117,6 +130,8 @@ int CEF_CALLBACK list_value_is_equal(struct _cef_list_value_t* self,
struct _cef_list_value_t* CEF_CALLBACK
list_value_copy(struct _cef_list_value_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -132,6 +147,8 @@ list_value_copy(struct _cef_list_value_t* self) {
int CEF_CALLBACK list_value_set_size(struct _cef_list_value_t* self,
size_t size) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -146,6 +163,8 @@ int CEF_CALLBACK list_value_set_size(struct _cef_list_value_t* self,
}
size_t CEF_CALLBACK list_value_get_size(struct _cef_list_value_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -160,6 +179,8 @@ size_t CEF_CALLBACK list_value_get_size(struct _cef_list_value_t* self) {
}
int CEF_CALLBACK list_value_clear(struct _cef_list_value_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -175,6 +196,8 @@ int CEF_CALLBACK list_value_clear(struct _cef_list_value_t* self) {
int CEF_CALLBACK list_value_remove(struct _cef_list_value_t* self,
size_t index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -190,6 +213,8 @@ int CEF_CALLBACK list_value_remove(struct _cef_list_value_t* self,
cef_value_type_t CEF_CALLBACK
list_value_get_type(struct _cef_list_value_t* self, size_t index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -205,6 +230,8 @@ list_value_get_type(struct _cef_list_value_t* self, size_t index) {
cef_value_t* CEF_CALLBACK list_value_get_value(struct _cef_list_value_t* self,
size_t index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -220,6 +247,8 @@ cef_value_t* CEF_CALLBACK list_value_get_value(struct _cef_list_value_t* self,
int CEF_CALLBACK list_value_get_bool(struct _cef_list_value_t* self,
size_t index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -235,6 +264,8 @@ int CEF_CALLBACK list_value_get_bool(struct _cef_list_value_t* self,
int CEF_CALLBACK list_value_get_int(struct _cef_list_value_t* self,
size_t index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -250,6 +281,8 @@ int CEF_CALLBACK list_value_get_int(struct _cef_list_value_t* self,
double CEF_CALLBACK list_value_get_double(struct _cef_list_value_t* self,
size_t index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -265,6 +298,8 @@ double CEF_CALLBACK list_value_get_double(struct _cef_list_value_t* self,
cef_string_userfree_t CEF_CALLBACK
list_value_get_string(struct _cef_list_value_t* self, size_t index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -280,6 +315,8 @@ list_value_get_string(struct _cef_list_value_t* self, size_t index) {
cef_binary_value_t* CEF_CALLBACK
list_value_get_binary(struct _cef_list_value_t* self, size_t index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -296,6 +333,8 @@ list_value_get_binary(struct _cef_list_value_t* self, size_t index) {
cef_dictionary_value_t* CEF_CALLBACK
list_value_get_dictionary(struct _cef_list_value_t* self, size_t index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -312,6 +351,8 @@ list_value_get_dictionary(struct _cef_list_value_t* self, size_t index) {
struct _cef_list_value_t* CEF_CALLBACK
list_value_get_list(struct _cef_list_value_t* self, size_t index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -329,6 +370,8 @@ list_value_get_list(struct _cef_list_value_t* self, size_t index) {
int CEF_CALLBACK list_value_set_value(struct _cef_list_value_t* self,
size_t index,
cef_value_t* value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -349,6 +392,8 @@ int CEF_CALLBACK list_value_set_value(struct _cef_list_value_t* self,
int CEF_CALLBACK list_value_set_null(struct _cef_list_value_t* self,
size_t index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -365,6 +410,8 @@ int CEF_CALLBACK list_value_set_null(struct _cef_list_value_t* self,
int CEF_CALLBACK list_value_set_bool(struct _cef_list_value_t* self,
size_t index,
int value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -382,6 +429,8 @@ int CEF_CALLBACK list_value_set_bool(struct _cef_list_value_t* self,
int CEF_CALLBACK list_value_set_int(struct _cef_list_value_t* self,
size_t index,
int value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -398,6 +447,8 @@ int CEF_CALLBACK list_value_set_int(struct _cef_list_value_t* self,
int CEF_CALLBACK list_value_set_double(struct _cef_list_value_t* self,
size_t index,
double value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -414,6 +465,8 @@ int CEF_CALLBACK list_value_set_double(struct _cef_list_value_t* self,
int CEF_CALLBACK list_value_set_string(struct _cef_list_value_t* self,
size_t index,
const cef_string_t* value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -432,6 +485,8 @@ int CEF_CALLBACK list_value_set_string(struct _cef_list_value_t* self,
int CEF_CALLBACK list_value_set_binary(struct _cef_list_value_t* self,
size_t index,
cef_binary_value_t* value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -453,6 +508,8 @@ int CEF_CALLBACK list_value_set_binary(struct _cef_list_value_t* self,
int CEF_CALLBACK list_value_set_dictionary(struct _cef_list_value_t* self,
size_t index,
cef_dictionary_value_t* value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -474,6 +531,8 @@ int CEF_CALLBACK list_value_set_dictionary(struct _cef_list_value_t* self,
int CEF_CALLBACK list_value_set_list(struct _cef_list_value_t* self,
size_t index,
struct _cef_list_value_t* value) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -527,6 +586,12 @@ CefListValueCppToC::CefListValueCppToC() {
GetStruct()->set_list = list_value_set_list;
}
// DESTRUCTOR - Do not edit by hand.
CefListValueCppToC::~CefListValueCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefListValue>
CefCppToCRefCounted<CefListValueCppToC, CefListValue, cef_list_value_t>::

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=4e5a3db05bd12fb79573b3720ecffccc99edc25c$
// $hash=6f8d6c3662ecb1250541f839dfa983cc3468ae3e$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_LIST_VALUE_CPPTOC_H_
@ -31,6 +31,7 @@ class CefListValueCppToC : public CefCppToCRefCounted<CefListValueCppToC,
cef_list_value_t> {
public:
CefListValueCppToC();
virtual ~CefListValueCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_LIST_VALUE_CPPTOC_H_

View File

@ -9,12 +9,13 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=b907849cab5f5cdad0cde846fefd817cf038b689$
// $hash=95bad04c5c95d2f881790ffda4c65d28d0baf373$
//
#include "libcef_dll/cpptoc/load_handler_cpptoc.h"
#include "libcef_dll/ctocpp/browser_ctocpp.h"
#include "libcef_dll/ctocpp/frame_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -26,6 +27,8 @@ load_handler_on_loading_state_change(struct _cef_load_handler_t* self,
int isLoading,
int canGoBack,
int canGoForward) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -47,6 +50,8 @@ load_handler_on_load_start(struct _cef_load_handler_t* self,
cef_browser_t* browser,
cef_frame_t* frame,
cef_transition_type_t transition_type) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -71,6 +76,8 @@ void CEF_CALLBACK load_handler_on_load_end(struct _cef_load_handler_t* self,
cef_browser_t* browser,
cef_frame_t* frame,
int httpStatusCode) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -97,6 +104,8 @@ void CEF_CALLBACK load_handler_on_load_error(struct _cef_load_handler_t* self,
cef_errorcode_t errorCode,
const cef_string_t* errorText,
const cef_string_t* failedUrl) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -133,6 +142,12 @@ CefLoadHandlerCppToC::CefLoadHandlerCppToC() {
GetStruct()->on_load_error = load_handler_on_load_error;
}
// DESTRUCTOR - Do not edit by hand.
CefLoadHandlerCppToC::~CefLoadHandlerCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefLoadHandler>
CefCppToCRefCounted<CefLoadHandlerCppToC, CefLoadHandler, cef_load_handler_t>::

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=7fe148a4c53b451455dc998d5beb9ecdd9c5d0e3$
// $hash=1e6e0c693130e141b71f292682143041aac0e7d9$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_LOAD_HANDLER_CPPTOC_H_
@ -31,6 +31,7 @@ class CefLoadHandlerCppToC : public CefCppToCRefCounted<CefLoadHandlerCppToC,
cef_load_handler_t> {
public:
CefLoadHandlerCppToC();
virtual ~CefLoadHandlerCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_LOAD_HANDLER_CPPTOC_H_

View File

@ -9,16 +9,19 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=af455c2ea1993a68bf51a9190cbb255ac2bb04aa$
// $hash=6aec9fa30221da4367b29f99a1091833c311d3dd$
//
#include "libcef_dll/cpptoc/menu_model_cpptoc.h"
#include "libcef_dll/ctocpp/menu_model_delegate_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
// GLOBAL FUNCTIONS - Body may be edited by hand.
CEF_EXPORT cef_menu_model_t* cef_menu_model_create(
struct _cef_menu_model_delegate_t* delegate) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Verify param: delegate; type: refptr_diff
@ -39,6 +42,8 @@ namespace {
// MEMBER FUNCTIONS - Body may be edited by hand.
int CEF_CALLBACK menu_model_is_sub_menu(struct _cef_menu_model_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -53,6 +58,8 @@ int CEF_CALLBACK menu_model_is_sub_menu(struct _cef_menu_model_t* self) {
}
int CEF_CALLBACK menu_model_clear(struct _cef_menu_model_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -67,6 +74,8 @@ int CEF_CALLBACK menu_model_clear(struct _cef_menu_model_t* self) {
}
int CEF_CALLBACK menu_model_get_count(struct _cef_menu_model_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -81,6 +90,8 @@ int CEF_CALLBACK menu_model_get_count(struct _cef_menu_model_t* self) {
}
int CEF_CALLBACK menu_model_add_separator(struct _cef_menu_model_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -97,6 +108,8 @@ int CEF_CALLBACK menu_model_add_separator(struct _cef_menu_model_t* self) {
int CEF_CALLBACK menu_model_add_item(struct _cef_menu_model_t* self,
int command_id,
const cef_string_t* label) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -118,6 +131,8 @@ int CEF_CALLBACK menu_model_add_item(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_add_check_item(struct _cef_menu_model_t* self,
int command_id,
const cef_string_t* label) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -140,6 +155,8 @@ int CEF_CALLBACK menu_model_add_radio_item(struct _cef_menu_model_t* self,
int command_id,
const cef_string_t* label,
int group_id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -162,6 +179,8 @@ struct _cef_menu_model_t* CEF_CALLBACK
menu_model_add_sub_menu(struct _cef_menu_model_t* self,
int command_id,
const cef_string_t* label) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -182,6 +201,8 @@ menu_model_add_sub_menu(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_insert_separator_at(struct _cef_menu_model_t* self,
int index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -199,6 +220,8 @@ int CEF_CALLBACK menu_model_insert_item_at(struct _cef_menu_model_t* self,
int index,
int command_id,
const cef_string_t* label) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -221,6 +244,8 @@ int CEF_CALLBACK menu_model_insert_check_item_at(struct _cef_menu_model_t* self,
int index,
int command_id,
const cef_string_t* label) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -244,6 +269,8 @@ int CEF_CALLBACK menu_model_insert_radio_item_at(struct _cef_menu_model_t* self,
int command_id,
const cef_string_t* label,
int group_id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -267,6 +294,8 @@ menu_model_insert_sub_menu_at(struct _cef_menu_model_t* self,
int index,
int command_id,
const cef_string_t* label) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -288,6 +317,8 @@ menu_model_insert_sub_menu_at(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_remove(struct _cef_menu_model_t* self,
int command_id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -303,6 +334,8 @@ int CEF_CALLBACK menu_model_remove(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_remove_at(struct _cef_menu_model_t* self,
int index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -318,6 +351,8 @@ int CEF_CALLBACK menu_model_remove_at(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_get_index_of(struct _cef_menu_model_t* self,
int command_id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -333,6 +368,8 @@ int CEF_CALLBACK menu_model_get_index_of(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_get_command_id_at(struct _cef_menu_model_t* self,
int index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -349,6 +386,8 @@ int CEF_CALLBACK menu_model_get_command_id_at(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_set_command_id_at(struct _cef_menu_model_t* self,
int index,
int command_id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -365,6 +404,8 @@ int CEF_CALLBACK menu_model_set_command_id_at(struct _cef_menu_model_t* self,
cef_string_userfree_t CEF_CALLBACK
menu_model_get_label(struct _cef_menu_model_t* self, int command_id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -380,6 +421,8 @@ menu_model_get_label(struct _cef_menu_model_t* self, int command_id) {
cef_string_userfree_t CEF_CALLBACK
menu_model_get_label_at(struct _cef_menu_model_t* self, int index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -396,6 +439,8 @@ menu_model_get_label_at(struct _cef_menu_model_t* self, int index) {
int CEF_CALLBACK menu_model_set_label(struct _cef_menu_model_t* self,
int command_id,
const cef_string_t* label) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -417,6 +462,8 @@ int CEF_CALLBACK menu_model_set_label(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_set_label_at(struct _cef_menu_model_t* self,
int index,
const cef_string_t* label) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -437,6 +484,8 @@ int CEF_CALLBACK menu_model_set_label_at(struct _cef_menu_model_t* self,
cef_menu_item_type_t CEF_CALLBACK
menu_model_get_type(struct _cef_menu_model_t* self, int command_id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -453,6 +502,8 @@ menu_model_get_type(struct _cef_menu_model_t* self, int command_id) {
cef_menu_item_type_t CEF_CALLBACK
menu_model_get_type_at(struct _cef_menu_model_t* self, int index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -469,6 +520,8 @@ menu_model_get_type_at(struct _cef_menu_model_t* self, int index) {
int CEF_CALLBACK menu_model_get_group_id(struct _cef_menu_model_t* self,
int command_id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -484,6 +537,8 @@ int CEF_CALLBACK menu_model_get_group_id(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_get_group_id_at(struct _cef_menu_model_t* self,
int index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -500,6 +555,8 @@ int CEF_CALLBACK menu_model_get_group_id_at(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_set_group_id(struct _cef_menu_model_t* self,
int command_id,
int group_id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -517,6 +574,8 @@ int CEF_CALLBACK menu_model_set_group_id(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_set_group_id_at(struct _cef_menu_model_t* self,
int index,
int group_id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -532,6 +591,8 @@ int CEF_CALLBACK menu_model_set_group_id_at(struct _cef_menu_model_t* self,
struct _cef_menu_model_t* CEF_CALLBACK
menu_model_get_sub_menu(struct _cef_menu_model_t* self, int command_id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -548,6 +609,8 @@ menu_model_get_sub_menu(struct _cef_menu_model_t* self, int command_id) {
struct _cef_menu_model_t* CEF_CALLBACK
menu_model_get_sub_menu_at(struct _cef_menu_model_t* self, int index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -564,6 +627,8 @@ menu_model_get_sub_menu_at(struct _cef_menu_model_t* self, int index) {
int CEF_CALLBACK menu_model_is_visible(struct _cef_menu_model_t* self,
int command_id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -579,6 +644,8 @@ int CEF_CALLBACK menu_model_is_visible(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_is_visible_at(struct _cef_menu_model_t* self,
int index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -595,6 +662,8 @@ int CEF_CALLBACK menu_model_is_visible_at(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_set_visible(struct _cef_menu_model_t* self,
int command_id,
int visible) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -612,6 +681,8 @@ int CEF_CALLBACK menu_model_set_visible(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_set_visible_at(struct _cef_menu_model_t* self,
int index,
int visible) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -628,6 +699,8 @@ int CEF_CALLBACK menu_model_set_visible_at(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_is_enabled(struct _cef_menu_model_t* self,
int command_id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -643,6 +716,8 @@ int CEF_CALLBACK menu_model_is_enabled(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_is_enabled_at(struct _cef_menu_model_t* self,
int index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -659,6 +734,8 @@ int CEF_CALLBACK menu_model_is_enabled_at(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_set_enabled(struct _cef_menu_model_t* self,
int command_id,
int enabled) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -676,6 +753,8 @@ int CEF_CALLBACK menu_model_set_enabled(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_set_enabled_at(struct _cef_menu_model_t* self,
int index,
int enabled) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -692,6 +771,8 @@ int CEF_CALLBACK menu_model_set_enabled_at(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_is_checked(struct _cef_menu_model_t* self,
int command_id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -707,6 +788,8 @@ int CEF_CALLBACK menu_model_is_checked(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_is_checked_at(struct _cef_menu_model_t* self,
int index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -723,6 +806,8 @@ int CEF_CALLBACK menu_model_is_checked_at(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_set_checked(struct _cef_menu_model_t* self,
int command_id,
int checked) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -740,6 +825,8 @@ int CEF_CALLBACK menu_model_set_checked(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_set_checked_at(struct _cef_menu_model_t* self,
int index,
int checked) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -756,6 +843,8 @@ int CEF_CALLBACK menu_model_set_checked_at(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_has_accelerator(struct _cef_menu_model_t* self,
int command_id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -771,6 +860,8 @@ int CEF_CALLBACK menu_model_has_accelerator(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_has_accelerator_at(struct _cef_menu_model_t* self,
int index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -790,6 +881,8 @@ int CEF_CALLBACK menu_model_set_accelerator(struct _cef_menu_model_t* self,
int shift_pressed,
int ctrl_pressed,
int alt_pressed) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -811,6 +904,8 @@ int CEF_CALLBACK menu_model_set_accelerator_at(struct _cef_menu_model_t* self,
int shift_pressed,
int ctrl_pressed,
int alt_pressed) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -828,6 +923,8 @@ int CEF_CALLBACK menu_model_set_accelerator_at(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_remove_accelerator(struct _cef_menu_model_t* self,
int command_id) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -843,6 +940,8 @@ int CEF_CALLBACK menu_model_remove_accelerator(struct _cef_menu_model_t* self,
int CEF_CALLBACK
menu_model_remove_accelerator_at(struct _cef_menu_model_t* self, int index) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -862,6 +961,8 @@ int CEF_CALLBACK menu_model_get_accelerator(struct _cef_menu_model_t* self,
int* shift_pressed,
int* ctrl_pressed,
int* alt_pressed) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -921,6 +1022,8 @@ int CEF_CALLBACK menu_model_get_accelerator_at(struct _cef_menu_model_t* self,
int* shift_pressed,
int* ctrl_pressed,
int* alt_pressed) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -977,6 +1080,8 @@ int CEF_CALLBACK menu_model_set_color(struct _cef_menu_model_t* self,
int command_id,
cef_menu_color_type_t color_type,
cef_color_t color) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -995,6 +1100,8 @@ int CEF_CALLBACK menu_model_set_color_at(struct _cef_menu_model_t* self,
int index,
cef_menu_color_type_t color_type,
cef_color_t color) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -1013,6 +1120,8 @@ int CEF_CALLBACK menu_model_get_color(struct _cef_menu_model_t* self,
int command_id,
cef_menu_color_type_t color_type,
cef_color_t* color) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -1042,6 +1151,8 @@ int CEF_CALLBACK menu_model_get_color_at(struct _cef_menu_model_t* self,
int index,
cef_menu_color_type_t color_type,
cef_color_t* color) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -1070,6 +1181,8 @@ int CEF_CALLBACK menu_model_get_color_at(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_set_font_list(struct _cef_menu_model_t* self,
int command_id,
const cef_string_t* font_list) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -1088,6 +1201,8 @@ int CEF_CALLBACK menu_model_set_font_list(struct _cef_menu_model_t* self,
int CEF_CALLBACK menu_model_set_font_list_at(struct _cef_menu_model_t* self,
int index,
const cef_string_t* font_list) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -1166,6 +1281,12 @@ CefMenuModelCppToC::CefMenuModelCppToC() {
GetStruct()->set_font_list_at = menu_model_set_font_list_at;
}
// DESTRUCTOR - Do not edit by hand.
CefMenuModelCppToC::~CefMenuModelCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefMenuModel>
CefCppToCRefCounted<CefMenuModelCppToC, CefMenuModel, cef_menu_model_t>::

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=f391ec2d2223565671f949504580a0bfba7dc4df$
// $hash=da4c3ebdb697ea98d11d5bd2744641cb94818711$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_MENU_MODEL_CPPTOC_H_
@ -31,6 +31,7 @@ class CefMenuModelCppToC : public CefCppToCRefCounted<CefMenuModelCppToC,
cef_menu_model_t> {
public:
CefMenuModelCppToC();
virtual ~CefMenuModelCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_MENU_MODEL_CPPTOC_H_

View File

@ -9,11 +9,12 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=d724378fed459f63276c4177c77b5de98ad33178$
// $hash=442e82aaa1bff33b07278869c3bee2354ce9e8f1$
//
#include "libcef_dll/cpptoc/menu_model_delegate_cpptoc.h"
#include "libcef_dll/ctocpp/menu_model_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -24,6 +25,8 @@ menu_model_delegate_execute_command(struct _cef_menu_model_delegate_t* self,
cef_menu_model_t* menu_model,
int command_id,
cef_event_flags_t event_flags) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -43,6 +46,8 @@ void CEF_CALLBACK
menu_model_delegate_mouse_outside_menu(struct _cef_menu_model_delegate_t* self,
cef_menu_model_t* menu_model,
const cef_point_t* screen_point) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -69,6 +74,8 @@ void CEF_CALLBACK menu_model_delegate_unhandled_open_submenu(
struct _cef_menu_model_delegate_t* self,
cef_menu_model_t* menu_model,
int is_rtl) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -88,6 +95,8 @@ void CEF_CALLBACK menu_model_delegate_unhandled_close_submenu(
struct _cef_menu_model_delegate_t* self,
cef_menu_model_t* menu_model,
int is_rtl) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -106,6 +115,8 @@ void CEF_CALLBACK menu_model_delegate_unhandled_close_submenu(
void CEF_CALLBACK
menu_model_delegate_menu_will_show(struct _cef_menu_model_delegate_t* self,
cef_menu_model_t* menu_model) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -124,6 +135,8 @@ menu_model_delegate_menu_will_show(struct _cef_menu_model_delegate_t* self,
void CEF_CALLBACK
menu_model_delegate_menu_closed(struct _cef_menu_model_delegate_t* self,
cef_menu_model_t* menu_model) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -143,6 +156,8 @@ int CEF_CALLBACK
menu_model_delegate_format_label(struct _cef_menu_model_delegate_t* self,
cef_menu_model_t* menu_model,
cef_string_t* label) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -184,6 +199,12 @@ CefMenuModelDelegateCppToC::CefMenuModelDelegateCppToC() {
GetStruct()->format_label = menu_model_delegate_format_label;
}
// DESTRUCTOR - Do not edit by hand.
CefMenuModelDelegateCppToC::~CefMenuModelDelegateCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefMenuModelDelegate> CefCppToCRefCounted<
CefMenuModelDelegateCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=ad375d5c311806aa03a3ba6704f5da15d41c814a$
// $hash=68e89d0007b514afff57809cd615f16d36beb952$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_MENU_MODEL_DELEGATE_CPPTOC_H_
@ -34,6 +34,7 @@ class CefMenuModelDelegateCppToC
cef_menu_model_delegate_t> {
public:
CefMenuModelDelegateCppToC();
virtual ~CefMenuModelDelegateCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_MENU_MODEL_DELEGATE_CPPTOC_H_

View File

@ -9,11 +9,12 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=184c2b8b8a3e7a33d4f2f8682659d07b9778cb61$
// $hash=d8f94042ef236d6db05e5d1b7ea680c22a5faf0e$
//
#include "libcef_dll/cpptoc/navigation_entry_cpptoc.h"
#include "libcef_dll/cpptoc/sslstatus_cpptoc.h"
#include "libcef_dll/shutdown_checker.h"
namespace {
@ -21,6 +22,8 @@ namespace {
int CEF_CALLBACK
navigation_entry_is_valid(struct _cef_navigation_entry_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -36,6 +39,8 @@ navigation_entry_is_valid(struct _cef_navigation_entry_t* self) {
cef_string_userfree_t CEF_CALLBACK
navigation_entry_get_url(struct _cef_navigation_entry_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -51,6 +56,8 @@ navigation_entry_get_url(struct _cef_navigation_entry_t* self) {
cef_string_userfree_t CEF_CALLBACK
navigation_entry_get_display_url(struct _cef_navigation_entry_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -66,6 +73,8 @@ navigation_entry_get_display_url(struct _cef_navigation_entry_t* self) {
cef_string_userfree_t CEF_CALLBACK
navigation_entry_get_original_url(struct _cef_navigation_entry_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -81,6 +90,8 @@ navigation_entry_get_original_url(struct _cef_navigation_entry_t* self) {
cef_string_userfree_t CEF_CALLBACK
navigation_entry_get_title(struct _cef_navigation_entry_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -96,6 +107,8 @@ navigation_entry_get_title(struct _cef_navigation_entry_t* self) {
cef_transition_type_t CEF_CALLBACK
navigation_entry_get_transition_type(struct _cef_navigation_entry_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -112,6 +125,8 @@ navigation_entry_get_transition_type(struct _cef_navigation_entry_t* self) {
int CEF_CALLBACK
navigation_entry_has_post_data(struct _cef_navigation_entry_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -127,6 +142,8 @@ navigation_entry_has_post_data(struct _cef_navigation_entry_t* self) {
cef_time_t CEF_CALLBACK
navigation_entry_get_completion_time(struct _cef_navigation_entry_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -142,6 +159,8 @@ navigation_entry_get_completion_time(struct _cef_navigation_entry_t* self) {
int CEF_CALLBACK
navigation_entry_get_http_status_code(struct _cef_navigation_entry_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -157,6 +176,8 @@ navigation_entry_get_http_status_code(struct _cef_navigation_entry_t* self) {
struct _cef_sslstatus_t* CEF_CALLBACK
navigation_entry_get_sslstatus(struct _cef_navigation_entry_t* self) {
shutdown_checker::AssertNotShutdown();
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
DCHECK(self);
@ -188,6 +209,12 @@ CefNavigationEntryCppToC::CefNavigationEntryCppToC() {
GetStruct()->get_sslstatus = navigation_entry_get_sslstatus;
}
// DESTRUCTOR - Do not edit by hand.
CefNavigationEntryCppToC::~CefNavigationEntryCppToC() {
shutdown_checker::AssertNotShutdown();
}
template <>
CefRefPtr<CefNavigationEntry> CefCppToCRefCounted<
CefNavigationEntryCppToC,

View File

@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=64d606fe81c821bbbdf9d149e807172aeb45a1ec$
// $hash=e771cbc54e0080ff4da0f913641a499ede33d39c$
//
#ifndef CEF_LIBCEF_DLL_CPPTOC_NAVIGATION_ENTRY_CPPTOC_H_
@ -32,6 +32,7 @@ class CefNavigationEntryCppToC
cef_navigation_entry_t> {
public:
CefNavigationEntryCppToC();
virtual ~CefNavigationEntryCppToC();
};
#endif // CEF_LIBCEF_DLL_CPPTOC_NAVIGATION_ENTRY_CPPTOC_H_

Some files were not shown because too many files have changed in this diff Show More