Disable cfi-icall checks for CEF bindings (issue #2472)
This commit is contained in:
parent
10c01ff43e
commit
0d12959a50
|
@ -162,6 +162,16 @@
|
|||
#define ALLOW_UNUSED_LOCAL(x) false ? (void)x : (void)0
|
||||
#endif
|
||||
|
||||
// Sanitizers annotations.
|
||||
#if defined(__has_attribute)
|
||||
#if __has_attribute(no_sanitize)
|
||||
#define NO_SANITIZE(what) __attribute__((no_sanitize(what)))
|
||||
#endif
|
||||
#endif
|
||||
#if !defined(NO_SANITIZE)
|
||||
#define NO_SANITIZE(what)
|
||||
#endif
|
||||
|
||||
#endif // !USING_CHROMIUM_INCLUDES
|
||||
|
||||
// Annotate a virtual method indicating it must be overriding a virtual method
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=1c183881e8972b65705223686ac4175b28c766ec$
|
||||
// $hash=6313603a55de5caa5ab007c5a743a7223fad9717$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/accessibility_handler_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefAccessibilityHandlerCToCpp::OnAccessibilityTreeChange(
|
||||
CefRefPtr<CefValue> value) {
|
||||
cef_accessibility_handler_t* _struct = GetStruct();
|
||||
|
@ -34,6 +35,7 @@ void CefAccessibilityHandlerCToCpp::OnAccessibilityTreeChange(
|
|||
_struct->on_accessibility_tree_change(_struct, CefValueCppToC::Wrap(value));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefAccessibilityHandlerCToCpp::OnAccessibilityLocationChange(
|
||||
CefRefPtr<CefValue> value) {
|
||||
cef_accessibility_handler_t* _struct = GetStruct();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d5eaa0df7fe556b0149db7c9390935bc42f7f5f0$
|
||||
// $hash=4eae7e6a1575c4ca6b59433049de3f1d7db747d7$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/app_ctocpp.h"
|
||||
|
@ -21,6 +21,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefAppCToCpp::OnBeforeCommandLineProcessing(
|
||||
const CefString& process_type,
|
||||
CefRefPtr<CefCommandLine> command_line) {
|
||||
|
@ -42,6 +43,7 @@ void CefAppCToCpp::OnBeforeCommandLineProcessing(
|
|||
CefCommandLineCppToC::Wrap(command_line));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefAppCToCpp::OnRegisterCustomSchemes(
|
||||
CefRawPtr<CefSchemeRegistrar> registrar) {
|
||||
cef_app_t* _struct = GetStruct();
|
||||
|
@ -63,6 +65,7 @@ void CefAppCToCpp::OnRegisterCustomSchemes(
|
|||
_struct->on_register_custom_schemes(_struct, registrarPtr->GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefResourceBundleHandler> CefAppCToCpp::GetResourceBundleHandler() {
|
||||
cef_app_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_resource_bundle_handler))
|
||||
|
@ -78,6 +81,7 @@ CefRefPtr<CefResourceBundleHandler> CefAppCToCpp::GetResourceBundleHandler() {
|
|||
return CefResourceBundleHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefBrowserProcessHandler> CefAppCToCpp::GetBrowserProcessHandler() {
|
||||
cef_app_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_browser_process_handler))
|
||||
|
@ -93,6 +97,7 @@ CefRefPtr<CefBrowserProcessHandler> CefAppCToCpp::GetBrowserProcessHandler() {
|
|||
return CefBrowserProcessHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefRenderProcessHandler> CefAppCToCpp::GetRenderProcessHandler() {
|
||||
cef_app_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_render_process_handler))
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=0464376fa24627e57280c81408ff70c3c2768021$
|
||||
// $hash=9447c20367d0fc32b690d08cfc152531ace25af8$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/auth_callback_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefAuthCallbackCToCpp::Continue(const CefString& username,
|
||||
const CefString& password) {
|
||||
cef_auth_callback_t* _struct = GetStruct();
|
||||
|
@ -30,7 +31,7 @@ void CefAuthCallbackCToCpp::Continue(const CefString& username,
|
|||
_struct->cont(_struct, username.GetStruct(), password.GetStruct());
|
||||
}
|
||||
|
||||
void CefAuthCallbackCToCpp::Cancel() {
|
||||
NO_SANITIZE("cfi-icall") void CefAuthCallbackCToCpp::Cancel() {
|
||||
cef_auth_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, cancel))
|
||||
return;
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d94ac0fccb71faab9bfbf75432f0609b8a3bcc2a$
|
||||
// $hash=3a3815c81622985a17849bb056e979a237f67841$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/before_download_callback_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBeforeDownloadCallbackCToCpp::Continue(const CefString& download_path,
|
||||
bool show_dialog) {
|
||||
cef_before_download_callback_t* _struct = GetStruct();
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=ab6851bbaa15321ffd368f10d27c5fed0a4255c1$
|
||||
// $hash=9d1cb31bc3b45cce5dc400954ddbbc38dc3fca4e$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/binary_value_ctocpp.h"
|
||||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefBinaryValue> CefBinaryValue::Create(const void* data,
|
||||
size_t data_size) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
@ -34,7 +35,7 @@ CefRefPtr<CefBinaryValue> CefBinaryValue::Create(const void* data,
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefBinaryValueCToCpp::IsValid() {
|
||||
NO_SANITIZE("cfi-icall") bool CefBinaryValueCToCpp::IsValid() {
|
||||
cef_binary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
return false;
|
||||
|
@ -48,7 +49,7 @@ bool CefBinaryValueCToCpp::IsValid() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefBinaryValueCToCpp::IsOwned() {
|
||||
NO_SANITIZE("cfi-icall") bool CefBinaryValueCToCpp::IsOwned() {
|
||||
cef_binary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_owned))
|
||||
return false;
|
||||
|
@ -62,6 +63,7 @@ bool CefBinaryValueCToCpp::IsOwned() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefBinaryValueCToCpp::IsSame(CefRefPtr<CefBinaryValue> that) {
|
||||
cef_binary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
|
@ -81,6 +83,7 @@ bool CefBinaryValueCToCpp::IsSame(CefRefPtr<CefBinaryValue> that) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefBinaryValueCToCpp::IsEqual(CefRefPtr<CefBinaryValue> that) {
|
||||
cef_binary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_equal))
|
||||
|
@ -100,6 +103,7 @@ bool CefBinaryValueCToCpp::IsEqual(CefRefPtr<CefBinaryValue> that) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefBinaryValue> CefBinaryValueCToCpp::Copy() {
|
||||
cef_binary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, copy))
|
||||
|
@ -114,7 +118,7 @@ CefRefPtr<CefBinaryValue> CefBinaryValueCToCpp::Copy() {
|
|||
return CefBinaryValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
size_t CefBinaryValueCToCpp::GetSize() {
|
||||
NO_SANITIZE("cfi-icall") size_t CefBinaryValueCToCpp::GetSize() {
|
||||
cef_binary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size))
|
||||
return 0;
|
||||
|
@ -128,6 +132,7 @@ size_t CefBinaryValueCToCpp::GetSize() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
size_t CefBinaryValueCToCpp::GetData(void* buffer,
|
||||
size_t buffer_size,
|
||||
size_t data_offset) {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=339103bd19b0e17f24c1d43c1ab5a45c787606a9$
|
||||
// $hash=1654a36608b744daec3976f0d90288ab91ed5d4f$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/browser_ctocpp.h"
|
||||
|
@ -21,7 +21,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
CefRefPtr<CefBrowserHost> CefBrowserCToCpp::GetHost() {
|
||||
NO_SANITIZE("cfi-icall") CefRefPtr<CefBrowserHost> CefBrowserCToCpp::GetHost() {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_host))
|
||||
return NULL;
|
||||
|
@ -35,7 +35,7 @@ CefRefPtr<CefBrowserHost> CefBrowserCToCpp::GetHost() {
|
|||
return CefBrowserHostCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
bool CefBrowserCToCpp::CanGoBack() {
|
||||
NO_SANITIZE("cfi-icall") bool CefBrowserCToCpp::CanGoBack() {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, can_go_back))
|
||||
return false;
|
||||
|
@ -49,7 +49,7 @@ bool CefBrowserCToCpp::CanGoBack() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
void CefBrowserCToCpp::GoBack() {
|
||||
NO_SANITIZE("cfi-icall") void CefBrowserCToCpp::GoBack() {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, go_back))
|
||||
return;
|
||||
|
@ -60,7 +60,7 @@ void CefBrowserCToCpp::GoBack() {
|
|||
_struct->go_back(_struct);
|
||||
}
|
||||
|
||||
bool CefBrowserCToCpp::CanGoForward() {
|
||||
NO_SANITIZE("cfi-icall") bool CefBrowserCToCpp::CanGoForward() {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, can_go_forward))
|
||||
return false;
|
||||
|
@ -74,7 +74,7 @@ bool CefBrowserCToCpp::CanGoForward() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
void CefBrowserCToCpp::GoForward() {
|
||||
NO_SANITIZE("cfi-icall") void CefBrowserCToCpp::GoForward() {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, go_forward))
|
||||
return;
|
||||
|
@ -85,7 +85,7 @@ void CefBrowserCToCpp::GoForward() {
|
|||
_struct->go_forward(_struct);
|
||||
}
|
||||
|
||||
bool CefBrowserCToCpp::IsLoading() {
|
||||
NO_SANITIZE("cfi-icall") bool CefBrowserCToCpp::IsLoading() {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_loading))
|
||||
return false;
|
||||
|
@ -99,7 +99,7 @@ bool CefBrowserCToCpp::IsLoading() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
void CefBrowserCToCpp::Reload() {
|
||||
NO_SANITIZE("cfi-icall") void CefBrowserCToCpp::Reload() {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, reload))
|
||||
return;
|
||||
|
@ -110,7 +110,7 @@ void CefBrowserCToCpp::Reload() {
|
|||
_struct->reload(_struct);
|
||||
}
|
||||
|
||||
void CefBrowserCToCpp::ReloadIgnoreCache() {
|
||||
NO_SANITIZE("cfi-icall") void CefBrowserCToCpp::ReloadIgnoreCache() {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, reload_ignore_cache))
|
||||
return;
|
||||
|
@ -121,7 +121,7 @@ void CefBrowserCToCpp::ReloadIgnoreCache() {
|
|||
_struct->reload_ignore_cache(_struct);
|
||||
}
|
||||
|
||||
void CefBrowserCToCpp::StopLoad() {
|
||||
NO_SANITIZE("cfi-icall") void CefBrowserCToCpp::StopLoad() {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, stop_load))
|
||||
return;
|
||||
|
@ -132,7 +132,7 @@ void CefBrowserCToCpp::StopLoad() {
|
|||
_struct->stop_load(_struct);
|
||||
}
|
||||
|
||||
int CefBrowserCToCpp::GetIdentifier() {
|
||||
NO_SANITIZE("cfi-icall") int CefBrowserCToCpp::GetIdentifier() {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_identifier))
|
||||
return 0;
|
||||
|
@ -146,6 +146,7 @@ int CefBrowserCToCpp::GetIdentifier() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefBrowserCToCpp::IsSame(CefRefPtr<CefBrowser> that) {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
|
@ -165,7 +166,7 @@ bool CefBrowserCToCpp::IsSame(CefRefPtr<CefBrowser> that) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefBrowserCToCpp::IsPopup() {
|
||||
NO_SANITIZE("cfi-icall") bool CefBrowserCToCpp::IsPopup() {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_popup))
|
||||
return false;
|
||||
|
@ -179,7 +180,7 @@ bool CefBrowserCToCpp::IsPopup() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefBrowserCToCpp::HasDocument() {
|
||||
NO_SANITIZE("cfi-icall") bool CefBrowserCToCpp::HasDocument() {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_document))
|
||||
return false;
|
||||
|
@ -193,7 +194,7 @@ bool CefBrowserCToCpp::HasDocument() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
CefRefPtr<CefFrame> CefBrowserCToCpp::GetMainFrame() {
|
||||
NO_SANITIZE("cfi-icall") CefRefPtr<CefFrame> CefBrowserCToCpp::GetMainFrame() {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_main_frame))
|
||||
return NULL;
|
||||
|
@ -207,6 +208,7 @@ CefRefPtr<CefFrame> CefBrowserCToCpp::GetMainFrame() {
|
|||
return CefFrameCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefFrame> CefBrowserCToCpp::GetFocusedFrame() {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_focused_frame))
|
||||
|
@ -221,6 +223,7 @@ CefRefPtr<CefFrame> CefBrowserCToCpp::GetFocusedFrame() {
|
|||
return CefFrameCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefFrame> CefBrowserCToCpp::GetFrame(int64 identifier) {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_frame_byident))
|
||||
|
@ -235,6 +238,7 @@ CefRefPtr<CefFrame> CefBrowserCToCpp::GetFrame(int64 identifier) {
|
|||
return CefFrameCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefFrame> CefBrowserCToCpp::GetFrame(const CefString& name) {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_frame))
|
||||
|
@ -251,7 +255,7 @@ CefRefPtr<CefFrame> CefBrowserCToCpp::GetFrame(const CefString& name) {
|
|||
return CefFrameCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
size_t CefBrowserCToCpp::GetFrameCount() {
|
||||
NO_SANITIZE("cfi-icall") size_t CefBrowserCToCpp::GetFrameCount() {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_frame_count))
|
||||
return 0;
|
||||
|
@ -265,6 +269,7 @@ size_t CefBrowserCToCpp::GetFrameCount() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserCToCpp::GetFrameIdentifiers(std::vector<int64>& identifiers) {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_frame_identifiers))
|
||||
|
@ -302,6 +307,7 @@ void CefBrowserCToCpp::GetFrameIdentifiers(std::vector<int64>& identifiers) {
|
|||
}
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserCToCpp::GetFrameNames(std::vector<CefString>& names) {
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_frame_names))
|
||||
|
@ -326,6 +332,7 @@ void CefBrowserCToCpp::GetFrameNames(std::vector<CefString>& names) {
|
|||
}
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefBrowserCToCpp::SendProcessMessage(
|
||||
CefProcessId target_process,
|
||||
CefRefPtr<CefProcessMessage> message) {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=be7163876280cda2e0ed6a8791fe472dabaa1e17$
|
||||
// $hash=9a1691bbc0a509032dd60b463189dd1eb0f6cc4d$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/browser_host_ctocpp.h"
|
||||
|
@ -27,6 +27,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefBrowserHost::CreateBrowser(
|
||||
const CefWindowInfo& windowInfo,
|
||||
CefRefPtr<CefClient> client,
|
||||
|
@ -46,6 +47,7 @@ bool CefBrowserHost::CreateBrowser(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefBrowser> CefBrowserHost::CreateBrowserSync(
|
||||
const CefWindowInfo& windowInfo,
|
||||
CefRefPtr<CefClient> client,
|
||||
|
@ -67,6 +69,7 @@ CefRefPtr<CefBrowser> CefBrowserHost::CreateBrowserSync(
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefBrowser> CefBrowserHostCToCpp::GetBrowser() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_browser))
|
||||
|
@ -81,6 +84,7 @@ CefRefPtr<CefBrowser> CefBrowserHostCToCpp::GetBrowser() {
|
|||
return CefBrowserCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::CloseBrowser(bool force_close) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, close_browser))
|
||||
|
@ -92,7 +96,7 @@ void CefBrowserHostCToCpp::CloseBrowser(bool force_close) {
|
|||
_struct->close_browser(_struct, force_close);
|
||||
}
|
||||
|
||||
bool CefBrowserHostCToCpp::TryCloseBrowser() {
|
||||
NO_SANITIZE("cfi-icall") bool CefBrowserHostCToCpp::TryCloseBrowser() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, try_close_browser))
|
||||
return false;
|
||||
|
@ -106,7 +110,7 @@ bool CefBrowserHostCToCpp::TryCloseBrowser() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
void CefBrowserHostCToCpp::SetFocus(bool focus) {
|
||||
NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::SetFocus(bool focus) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focus))
|
||||
return;
|
||||
|
@ -117,6 +121,7 @@ void CefBrowserHostCToCpp::SetFocus(bool focus) {
|
|||
_struct->set_focus(_struct, focus);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefWindowHandle CefBrowserHostCToCpp::GetWindowHandle() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window_handle))
|
||||
|
@ -131,6 +136,7 @@ CefWindowHandle CefBrowserHostCToCpp::GetWindowHandle() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefWindowHandle CefBrowserHostCToCpp::GetOpenerWindowHandle() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_opener_window_handle))
|
||||
|
@ -145,7 +151,7 @@ CefWindowHandle CefBrowserHostCToCpp::GetOpenerWindowHandle() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
bool CefBrowserHostCToCpp::HasView() {
|
||||
NO_SANITIZE("cfi-icall") bool CefBrowserHostCToCpp::HasView() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_view))
|
||||
return false;
|
||||
|
@ -159,6 +165,7 @@ bool CefBrowserHostCToCpp::HasView() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefClient> CefBrowserHostCToCpp::GetClient() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_client))
|
||||
|
@ -173,6 +180,7 @@ CefRefPtr<CefClient> CefBrowserHostCToCpp::GetClient() {
|
|||
return CefClientCppToC::Unwrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefRequestContext> CefBrowserHostCToCpp::GetRequestContext() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_request_context))
|
||||
|
@ -187,7 +195,7 @@ CefRefPtr<CefRequestContext> CefBrowserHostCToCpp::GetRequestContext() {
|
|||
return CefRequestContextCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
double CefBrowserHostCToCpp::GetZoomLevel() {
|
||||
NO_SANITIZE("cfi-icall") double CefBrowserHostCToCpp::GetZoomLevel() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_zoom_level))
|
||||
return 0;
|
||||
|
@ -201,6 +209,7 @@ double CefBrowserHostCToCpp::GetZoomLevel() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::SetZoomLevel(double zoomLevel) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_zoom_level))
|
||||
|
@ -212,6 +221,7 @@ void CefBrowserHostCToCpp::SetZoomLevel(double zoomLevel) {
|
|||
_struct->set_zoom_level(_struct, zoomLevel);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::RunFileDialog(
|
||||
FileDialogMode mode,
|
||||
const CefString& title,
|
||||
|
@ -252,6 +262,7 @@ void CefBrowserHostCToCpp::RunFileDialog(
|
|||
cef_string_list_free(accept_filtersList);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::StartDownload(const CefString& url) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, start_download))
|
||||
|
@ -268,6 +279,7 @@ void CefBrowserHostCToCpp::StartDownload(const CefString& url) {
|
|||
_struct->start_download(_struct, url.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::DownloadImage(
|
||||
const CefString& image_url,
|
||||
bool is_favicon,
|
||||
|
@ -295,7 +307,7 @@ void CefBrowserHostCToCpp::DownloadImage(
|
|||
CefDownloadImageCallbackCppToC::Wrap(callback));
|
||||
}
|
||||
|
||||
void CefBrowserHostCToCpp::Print() {
|
||||
NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::Print() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, print))
|
||||
return;
|
||||
|
@ -306,6 +318,7 @@ void CefBrowserHostCToCpp::Print() {
|
|||
_struct->print(_struct);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::PrintToPDF(const CefString& path,
|
||||
const CefPdfPrintSettings& settings,
|
||||
CefRefPtr<CefPdfPrintCallback> callback) {
|
||||
|
@ -326,6 +339,7 @@ void CefBrowserHostCToCpp::PrintToPDF(const CefString& path,
|
|||
CefPdfPrintCallbackCppToC::Wrap(callback));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::Find(int identifier,
|
||||
const CefString& searchText,
|
||||
bool forward,
|
||||
|
@ -347,6 +361,7 @@ void CefBrowserHostCToCpp::Find(int identifier,
|
|||
findNext);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::StopFinding(bool clearSelection) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, stop_finding))
|
||||
|
@ -358,6 +373,7 @@ void CefBrowserHostCToCpp::StopFinding(bool clearSelection) {
|
|||
_struct->stop_finding(_struct, clearSelection);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::ShowDevTools(const CefWindowInfo& windowInfo,
|
||||
CefRefPtr<CefClient> client,
|
||||
const CefBrowserSettings& settings,
|
||||
|
@ -375,7 +391,7 @@ void CefBrowserHostCToCpp::ShowDevTools(const CefWindowInfo& windowInfo,
|
|||
&settings, &inspect_element_at);
|
||||
}
|
||||
|
||||
void CefBrowserHostCToCpp::CloseDevTools() {
|
||||
NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::CloseDevTools() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, close_dev_tools))
|
||||
return;
|
||||
|
@ -386,7 +402,7 @@ void CefBrowserHostCToCpp::CloseDevTools() {
|
|||
_struct->close_dev_tools(_struct);
|
||||
}
|
||||
|
||||
bool CefBrowserHostCToCpp::HasDevTools() {
|
||||
NO_SANITIZE("cfi-icall") bool CefBrowserHostCToCpp::HasDevTools() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_dev_tools))
|
||||
return false;
|
||||
|
@ -400,6 +416,7 @@ bool CefBrowserHostCToCpp::HasDevTools() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::GetNavigationEntries(
|
||||
CefRefPtr<CefNavigationEntryVisitor> visitor,
|
||||
bool current_only) {
|
||||
|
@ -419,6 +436,7 @@ void CefBrowserHostCToCpp::GetNavigationEntries(
|
|||
_struct, CefNavigationEntryVisitorCppToC::Wrap(visitor), current_only);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::SetMouseCursorChangeDisabled(bool disabled) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_mouse_cursor_change_disabled))
|
||||
|
@ -430,6 +448,7 @@ void CefBrowserHostCToCpp::SetMouseCursorChangeDisabled(bool disabled) {
|
|||
_struct->set_mouse_cursor_change_disabled(_struct, disabled);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefBrowserHostCToCpp::IsMouseCursorChangeDisabled() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_mouse_cursor_change_disabled))
|
||||
|
@ -444,6 +463,7 @@ bool CefBrowserHostCToCpp::IsMouseCursorChangeDisabled() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::ReplaceMisspelling(const CefString& word) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, replace_misspelling))
|
||||
|
@ -460,6 +480,7 @@ void CefBrowserHostCToCpp::ReplaceMisspelling(const CefString& word) {
|
|||
_struct->replace_misspelling(_struct, word.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::AddWordToDictionary(const CefString& word) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, add_word_to_dictionary))
|
||||
|
@ -476,6 +497,7 @@ void CefBrowserHostCToCpp::AddWordToDictionary(const CefString& word) {
|
|||
_struct->add_word_to_dictionary(_struct, word.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefBrowserHostCToCpp::IsWindowRenderingDisabled() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_window_rendering_disabled))
|
||||
|
@ -490,7 +512,7 @@ bool CefBrowserHostCToCpp::IsWindowRenderingDisabled() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
void CefBrowserHostCToCpp::WasResized() {
|
||||
NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::WasResized() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, was_resized))
|
||||
return;
|
||||
|
@ -501,7 +523,7 @@ void CefBrowserHostCToCpp::WasResized() {
|
|||
_struct->was_resized(_struct);
|
||||
}
|
||||
|
||||
void CefBrowserHostCToCpp::WasHidden(bool hidden) {
|
||||
NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::WasHidden(bool hidden) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, was_hidden))
|
||||
return;
|
||||
|
@ -512,7 +534,7 @@ void CefBrowserHostCToCpp::WasHidden(bool hidden) {
|
|||
_struct->was_hidden(_struct, hidden);
|
||||
}
|
||||
|
||||
void CefBrowserHostCToCpp::NotifyScreenInfoChanged() {
|
||||
NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::NotifyScreenInfoChanged() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, notify_screen_info_changed))
|
||||
return;
|
||||
|
@ -523,6 +545,7 @@ void CefBrowserHostCToCpp::NotifyScreenInfoChanged() {
|
|||
_struct->notify_screen_info_changed(_struct);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::Invalidate(PaintElementType type) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate))
|
||||
|
@ -534,6 +557,7 @@ void CefBrowserHostCToCpp::Invalidate(PaintElementType type) {
|
|||
_struct->invalidate(_struct, type);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::SendKeyEvent(const CefKeyEvent& event) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, send_key_event))
|
||||
|
@ -545,6 +569,7 @@ void CefBrowserHostCToCpp::SendKeyEvent(const CefKeyEvent& event) {
|
|||
_struct->send_key_event(_struct, &event);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::SendMouseClickEvent(const CefMouseEvent& event,
|
||||
MouseButtonType type,
|
||||
bool mouseUp,
|
||||
|
@ -559,6 +584,7 @@ void CefBrowserHostCToCpp::SendMouseClickEvent(const CefMouseEvent& event,
|
|||
_struct->send_mouse_click_event(_struct, &event, type, mouseUp, clickCount);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::SendMouseMoveEvent(const CefMouseEvent& event,
|
||||
bool mouseLeave) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
|
@ -571,6 +597,7 @@ void CefBrowserHostCToCpp::SendMouseMoveEvent(const CefMouseEvent& event,
|
|||
_struct->send_mouse_move_event(_struct, &event, mouseLeave);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::SendMouseWheelEvent(const CefMouseEvent& event,
|
||||
int deltaX,
|
||||
int deltaY) {
|
||||
|
@ -584,6 +611,7 @@ void CefBrowserHostCToCpp::SendMouseWheelEvent(const CefMouseEvent& event,
|
|||
_struct->send_mouse_wheel_event(_struct, &event, deltaX, deltaY);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::SendFocusEvent(bool setFocus) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, send_focus_event))
|
||||
|
@ -595,7 +623,7 @@ void CefBrowserHostCToCpp::SendFocusEvent(bool setFocus) {
|
|||
_struct->send_focus_event(_struct, setFocus);
|
||||
}
|
||||
|
||||
void CefBrowserHostCToCpp::SendCaptureLostEvent() {
|
||||
NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::SendCaptureLostEvent() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, send_capture_lost_event))
|
||||
return;
|
||||
|
@ -606,6 +634,7 @@ void CefBrowserHostCToCpp::SendCaptureLostEvent() {
|
|||
_struct->send_capture_lost_event(_struct);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::NotifyMoveOrResizeStarted() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, notify_move_or_resize_started))
|
||||
|
@ -617,7 +646,7 @@ void CefBrowserHostCToCpp::NotifyMoveOrResizeStarted() {
|
|||
_struct->notify_move_or_resize_started(_struct);
|
||||
}
|
||||
|
||||
int CefBrowserHostCToCpp::GetWindowlessFrameRate() {
|
||||
NO_SANITIZE("cfi-icall") int CefBrowserHostCToCpp::GetWindowlessFrameRate() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_windowless_frame_rate))
|
||||
return 0;
|
||||
|
@ -631,6 +660,7 @@ int CefBrowserHostCToCpp::GetWindowlessFrameRate() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::SetWindowlessFrameRate(int frame_rate) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_windowless_frame_rate))
|
||||
|
@ -642,6 +672,7 @@ void CefBrowserHostCToCpp::SetWindowlessFrameRate(int frame_rate) {
|
|||
_struct->set_windowless_frame_rate(_struct, frame_rate);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::ImeSetComposition(
|
||||
const CefString& text,
|
||||
const std::vector<CefCompositionUnderline>& underlines,
|
||||
|
@ -678,6 +709,7 @@ void CefBrowserHostCToCpp::ImeSetComposition(
|
|||
delete[] underlinesList;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::ImeCommitText(const CefString& text,
|
||||
const CefRange& replacement_range,
|
||||
int relative_cursor_pos) {
|
||||
|
@ -694,6 +726,7 @@ void CefBrowserHostCToCpp::ImeCommitText(const CefString& text,
|
|||
relative_cursor_pos);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::ImeFinishComposingText(bool keep_selection) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, ime_finish_composing_text))
|
||||
|
@ -705,7 +738,7 @@ void CefBrowserHostCToCpp::ImeFinishComposingText(bool keep_selection) {
|
|||
_struct->ime_finish_composing_text(_struct, keep_selection);
|
||||
}
|
||||
|
||||
void CefBrowserHostCToCpp::ImeCancelComposition() {
|
||||
NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::ImeCancelComposition() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, ime_cancel_composition))
|
||||
return;
|
||||
|
@ -716,6 +749,7 @@ void CefBrowserHostCToCpp::ImeCancelComposition() {
|
|||
_struct->ime_cancel_composition(_struct);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::DragTargetDragEnter(CefRefPtr<CefDragData> drag_data,
|
||||
const CefMouseEvent& event,
|
||||
DragOperationsMask allowed_ops) {
|
||||
|
@ -735,6 +769,7 @@ void CefBrowserHostCToCpp::DragTargetDragEnter(CefRefPtr<CefDragData> drag_data,
|
|||
&event, allowed_ops);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::DragTargetDragOver(const CefMouseEvent& event,
|
||||
DragOperationsMask allowed_ops) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
|
@ -747,7 +782,7 @@ void CefBrowserHostCToCpp::DragTargetDragOver(const CefMouseEvent& event,
|
|||
_struct->drag_target_drag_over(_struct, &event, allowed_ops);
|
||||
}
|
||||
|
||||
void CefBrowserHostCToCpp::DragTargetDragLeave() {
|
||||
NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::DragTargetDragLeave() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, drag_target_drag_leave))
|
||||
return;
|
||||
|
@ -758,6 +793,7 @@ void CefBrowserHostCToCpp::DragTargetDragLeave() {
|
|||
_struct->drag_target_drag_leave(_struct);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::DragTargetDrop(const CefMouseEvent& event) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, drag_target_drop))
|
||||
|
@ -769,6 +805,7 @@ void CefBrowserHostCToCpp::DragTargetDrop(const CefMouseEvent& event) {
|
|||
_struct->drag_target_drop(_struct, &event);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::DragSourceEndedAt(int x,
|
||||
int y,
|
||||
DragOperationsMask op) {
|
||||
|
@ -782,6 +819,7 @@ void CefBrowserHostCToCpp::DragSourceEndedAt(int x,
|
|||
_struct->drag_source_ended_at(_struct, x, y, op);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::DragSourceSystemDragEnded() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, drag_source_system_drag_ended))
|
||||
|
@ -793,6 +831,7 @@ void CefBrowserHostCToCpp::DragSourceSystemDragEnded() {
|
|||
_struct->drag_source_system_drag_ended(_struct);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefNavigationEntry>
|
||||
CefBrowserHostCToCpp::GetVisibleNavigationEntry() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
|
@ -809,6 +848,7 @@ CefBrowserHostCToCpp::GetVisibleNavigationEntry() {
|
|||
return CefNavigationEntryCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::SetAccessibilityState(
|
||||
cef_state_t accessibility_state) {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
|
@ -821,6 +861,7 @@ void CefBrowserHostCToCpp::SetAccessibilityState(
|
|||
_struct->set_accessibility_state(_struct, accessibility_state);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::SetAutoResizeEnabled(bool enabled,
|
||||
const CefSize& min_size,
|
||||
const CefSize& max_size) {
|
||||
|
@ -834,6 +875,7 @@ void CefBrowserHostCToCpp::SetAutoResizeEnabled(bool enabled,
|
|||
_struct->set_auto_resize_enabled(_struct, enabled, &min_size, &max_size);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefExtension> CefBrowserHostCToCpp::GetExtension() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_extension))
|
||||
|
@ -848,7 +890,7 @@ CefRefPtr<CefExtension> CefBrowserHostCToCpp::GetExtension() {
|
|||
return CefExtensionCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
bool CefBrowserHostCToCpp::IsBackgroundHost() {
|
||||
NO_SANITIZE("cfi-icall") bool CefBrowserHostCToCpp::IsBackgroundHost() {
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_background_host))
|
||||
return false;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d10c5cb8d14dd25dd21c2436f56fe9a2031a1237$
|
||||
// $hash=7a16f2cd80ae757de1e629fa2d4d58449f913d05$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/browser_process_handler_ctocpp.h"
|
||||
|
@ -19,6 +19,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserProcessHandlerCToCpp::OnContextInitialized() {
|
||||
cef_browser_process_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_context_initialized))
|
||||
|
@ -30,6 +31,7 @@ void CefBrowserProcessHandlerCToCpp::OnContextInitialized() {
|
|||
_struct->on_context_initialized(_struct);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserProcessHandlerCToCpp::OnBeforeChildProcessLaunch(
|
||||
CefRefPtr<CefCommandLine> command_line) {
|
||||
cef_browser_process_handler_t* _struct = GetStruct();
|
||||
|
@ -48,6 +50,7 @@ void CefBrowserProcessHandlerCToCpp::OnBeforeChildProcessLaunch(
|
|||
_struct, CefCommandLineCppToC::Wrap(command_line));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserProcessHandlerCToCpp::OnRenderProcessThreadCreated(
|
||||
CefRefPtr<CefListValue> extra_info) {
|
||||
cef_browser_process_handler_t* _struct = GetStruct();
|
||||
|
@ -66,6 +69,7 @@ void CefBrowserProcessHandlerCToCpp::OnRenderProcessThreadCreated(
|
|||
_struct, CefListValueCppToC::Wrap(extra_info));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefPrintHandler> CefBrowserProcessHandlerCToCpp::GetPrintHandler() {
|
||||
cef_browser_process_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_print_handler))
|
||||
|
@ -80,6 +84,7 @@ CefRefPtr<CefPrintHandler> CefBrowserProcessHandlerCToCpp::GetPrintHandler() {
|
|||
return CefPrintHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserProcessHandlerCToCpp::OnScheduleMessagePumpWork(int64 delay_ms) {
|
||||
cef_browser_process_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_schedule_message_pump_work))
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=39b74063d934e0b907b6e3b40bb8534f2500572d$
|
||||
// $hash=0ae20a22ed85d70b28274415690dcf8da3593293$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/callback_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
void CefCallbackCToCpp::Continue() {
|
||||
NO_SANITIZE("cfi-icall") void CefCallbackCToCpp::Continue() {
|
||||
cef_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, cont))
|
||||
return;
|
||||
|
@ -27,7 +27,7 @@ void CefCallbackCToCpp::Continue() {
|
|||
_struct->cont(_struct);
|
||||
}
|
||||
|
||||
void CefCallbackCToCpp::Cancel() {
|
||||
NO_SANITIZE("cfi-icall") void CefCallbackCToCpp::Cancel() {
|
||||
cef_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, cancel))
|
||||
return;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d02e30103863b1d5eb2a8339f8bd8e5d01812f28$
|
||||
// $hash=416023b2c36043987ebe05f5467b838319d3f063$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/client_ctocpp.h"
|
||||
|
@ -31,6 +31,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefContextMenuHandler> CefClientCToCpp::GetContextMenuHandler() {
|
||||
cef_client_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_context_menu_handler))
|
||||
|
@ -46,6 +47,7 @@ CefRefPtr<CefContextMenuHandler> CefClientCToCpp::GetContextMenuHandler() {
|
|||
return CefContextMenuHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDialogHandler> CefClientCToCpp::GetDialogHandler() {
|
||||
cef_client_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_dialog_handler))
|
||||
|
@ -60,6 +62,7 @@ CefRefPtr<CefDialogHandler> CefClientCToCpp::GetDialogHandler() {
|
|||
return CefDialogHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDisplayHandler> CefClientCToCpp::GetDisplayHandler() {
|
||||
cef_client_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_display_handler))
|
||||
|
@ -74,6 +77,7 @@ CefRefPtr<CefDisplayHandler> CefClientCToCpp::GetDisplayHandler() {
|
|||
return CefDisplayHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDownloadHandler> CefClientCToCpp::GetDownloadHandler() {
|
||||
cef_client_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_download_handler))
|
||||
|
@ -88,6 +92,7 @@ CefRefPtr<CefDownloadHandler> CefClientCToCpp::GetDownloadHandler() {
|
|||
return CefDownloadHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDragHandler> CefClientCToCpp::GetDragHandler() {
|
||||
cef_client_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_drag_handler))
|
||||
|
@ -102,6 +107,7 @@ CefRefPtr<CefDragHandler> CefClientCToCpp::GetDragHandler() {
|
|||
return CefDragHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefFindHandler> CefClientCToCpp::GetFindHandler() {
|
||||
cef_client_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_find_handler))
|
||||
|
@ -116,6 +122,7 @@ CefRefPtr<CefFindHandler> CefClientCToCpp::GetFindHandler() {
|
|||
return CefFindHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefFocusHandler> CefClientCToCpp::GetFocusHandler() {
|
||||
cef_client_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_focus_handler))
|
||||
|
@ -130,6 +137,7 @@ CefRefPtr<CefFocusHandler> CefClientCToCpp::GetFocusHandler() {
|
|||
return CefFocusHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefJSDialogHandler> CefClientCToCpp::GetJSDialogHandler() {
|
||||
cef_client_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_jsdialog_handler))
|
||||
|
@ -144,6 +152,7 @@ CefRefPtr<CefJSDialogHandler> CefClientCToCpp::GetJSDialogHandler() {
|
|||
return CefJSDialogHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefKeyboardHandler> CefClientCToCpp::GetKeyboardHandler() {
|
||||
cef_client_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_keyboard_handler))
|
||||
|
@ -158,6 +167,7 @@ CefRefPtr<CefKeyboardHandler> CefClientCToCpp::GetKeyboardHandler() {
|
|||
return CefKeyboardHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefLifeSpanHandler> CefClientCToCpp::GetLifeSpanHandler() {
|
||||
cef_client_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_life_span_handler))
|
||||
|
@ -172,6 +182,7 @@ CefRefPtr<CefLifeSpanHandler> CefClientCToCpp::GetLifeSpanHandler() {
|
|||
return CefLifeSpanHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefLoadHandler> CefClientCToCpp::GetLoadHandler() {
|
||||
cef_client_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_load_handler))
|
||||
|
@ -186,6 +197,7 @@ CefRefPtr<CefLoadHandler> CefClientCToCpp::GetLoadHandler() {
|
|||
return CefLoadHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefRenderHandler> CefClientCToCpp::GetRenderHandler() {
|
||||
cef_client_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_render_handler))
|
||||
|
@ -200,6 +212,7 @@ CefRefPtr<CefRenderHandler> CefClientCToCpp::GetRenderHandler() {
|
|||
return CefRenderHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefRequestHandler> CefClientCToCpp::GetRequestHandler() {
|
||||
cef_client_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_request_handler))
|
||||
|
@ -214,6 +227,7 @@ CefRefPtr<CefRequestHandler> CefClientCToCpp::GetRequestHandler() {
|
|||
return CefRequestHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefClientCToCpp::OnProcessMessageReceived(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefProcessId source_process,
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=c0bb5330642d07dec15d207a1ae30539c8076f31$
|
||||
// $hash=edec72248ee3164c514d5576350a20fb1f10019c$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/command_line_ctocpp.h"
|
||||
|
@ -18,6 +18,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefCommandLine> CefCommandLine::CreateCommandLine() {
|
||||
const char* api_hash = cef_api_hash(0);
|
||||
if (strcmp(api_hash, CEF_API_HASH_PLATFORM)) {
|
||||
|
@ -35,6 +36,7 @@ CefRefPtr<CefCommandLine> CefCommandLine::CreateCommandLine() {
|
|||
return CefCommandLineCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefCommandLine> CefCommandLine::GetGlobalCommandLine() {
|
||||
const char* api_hash = cef_api_hash(0);
|
||||
if (strcmp(api_hash, CEF_API_HASH_PLATFORM)) {
|
||||
|
@ -54,7 +56,7 @@ CefRefPtr<CefCommandLine> CefCommandLine::GetGlobalCommandLine() {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefCommandLineCToCpp::IsValid() {
|
||||
NO_SANITIZE("cfi-icall") bool CefCommandLineCToCpp::IsValid() {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
return false;
|
||||
|
@ -68,7 +70,7 @@ bool CefCommandLineCToCpp::IsValid() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefCommandLineCToCpp::IsReadOnly() {
|
||||
NO_SANITIZE("cfi-icall") bool CefCommandLineCToCpp::IsReadOnly() {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_read_only))
|
||||
return false;
|
||||
|
@ -82,6 +84,7 @@ bool CefCommandLineCToCpp::IsReadOnly() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefCommandLine> CefCommandLineCToCpp::Copy() {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, copy))
|
||||
|
@ -96,6 +99,7 @@ CefRefPtr<CefCommandLine> CefCommandLineCToCpp::Copy() {
|
|||
return CefCommandLineCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefCommandLineCToCpp::InitFromArgv(int argc, const char* const* argv) {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, init_from_argv))
|
||||
|
@ -112,6 +116,7 @@ void CefCommandLineCToCpp::InitFromArgv(int argc, const char* const* argv) {
|
|||
_struct->init_from_argv(_struct, argc, argv);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefCommandLineCToCpp::InitFromString(const CefString& command_line) {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, init_from_string))
|
||||
|
@ -128,7 +133,7 @@ void CefCommandLineCToCpp::InitFromString(const CefString& command_line) {
|
|||
_struct->init_from_string(_struct, command_line.GetStruct());
|
||||
}
|
||||
|
||||
void CefCommandLineCToCpp::Reset() {
|
||||
NO_SANITIZE("cfi-icall") void CefCommandLineCToCpp::Reset() {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, reset))
|
||||
return;
|
||||
|
@ -139,6 +144,7 @@ void CefCommandLineCToCpp::Reset() {
|
|||
_struct->reset(_struct);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefCommandLineCToCpp::GetArgv(std::vector<CefString>& argv) {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_argv))
|
||||
|
@ -163,6 +169,7 @@ void CefCommandLineCToCpp::GetArgv(std::vector<CefString>& argv) {
|
|||
}
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefString CefCommandLineCToCpp::GetCommandLineString() {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_command_line_string))
|
||||
|
@ -179,7 +186,7 @@ CefString CefCommandLineCToCpp::GetCommandLineString() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefCommandLineCToCpp::GetProgram() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefCommandLineCToCpp::GetProgram() {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_program))
|
||||
return CefString();
|
||||
|
@ -195,6 +202,7 @@ CefString CefCommandLineCToCpp::GetProgram() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefCommandLineCToCpp::SetProgram(const CefString& program) {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_program))
|
||||
|
@ -211,7 +219,7 @@ void CefCommandLineCToCpp::SetProgram(const CefString& program) {
|
|||
_struct->set_program(_struct, program.GetStruct());
|
||||
}
|
||||
|
||||
bool CefCommandLineCToCpp::HasSwitches() {
|
||||
NO_SANITIZE("cfi-icall") bool CefCommandLineCToCpp::HasSwitches() {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_switches))
|
||||
return false;
|
||||
|
@ -225,6 +233,7 @@ bool CefCommandLineCToCpp::HasSwitches() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefCommandLineCToCpp::HasSwitch(const CefString& name) {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_switch))
|
||||
|
@ -244,6 +253,7 @@ bool CefCommandLineCToCpp::HasSwitch(const CefString& name) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefString CefCommandLineCToCpp::GetSwitchValue(const CefString& name) {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_switch_value))
|
||||
|
@ -266,6 +276,7 @@ CefString CefCommandLineCToCpp::GetSwitchValue(const CefString& name) {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefCommandLineCToCpp::GetSwitches(SwitchMap& switches) {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_switches))
|
||||
|
@ -290,6 +301,7 @@ void CefCommandLineCToCpp::GetSwitches(SwitchMap& switches) {
|
|||
}
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefCommandLineCToCpp::AppendSwitch(const CefString& name) {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, append_switch))
|
||||
|
@ -306,6 +318,7 @@ void CefCommandLineCToCpp::AppendSwitch(const CefString& name) {
|
|||
_struct->append_switch(_struct, name.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefCommandLineCToCpp::AppendSwitchWithValue(const CefString& name,
|
||||
const CefString& value) {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
|
@ -328,7 +341,7 @@ void CefCommandLineCToCpp::AppendSwitchWithValue(const CefString& name,
|
|||
value.GetStruct());
|
||||
}
|
||||
|
||||
bool CefCommandLineCToCpp::HasArguments() {
|
||||
NO_SANITIZE("cfi-icall") bool CefCommandLineCToCpp::HasArguments() {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_arguments))
|
||||
return false;
|
||||
|
@ -342,6 +355,7 @@ bool CefCommandLineCToCpp::HasArguments() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefCommandLineCToCpp::GetArguments(ArgumentList& arguments) {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_arguments))
|
||||
|
@ -366,6 +380,7 @@ void CefCommandLineCToCpp::GetArguments(ArgumentList& arguments) {
|
|||
}
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefCommandLineCToCpp::AppendArgument(const CefString& argument) {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, append_argument))
|
||||
|
@ -382,6 +397,7 @@ void CefCommandLineCToCpp::AppendArgument(const CefString& argument) {
|
|||
_struct->append_argument(_struct, argument.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefCommandLineCToCpp::PrependWrapper(const CefString& wrapper) {
|
||||
cef_command_line_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, prepend_wrapper))
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=84459d8aef759b8f189245ae3f8f268d569adc2b$
|
||||
// $hash=82c468ec778d4cdad4f18ce4f83a8a3e454afbd5$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/completion_callback_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
void CefCompletionCallbackCToCpp::OnComplete() {
|
||||
NO_SANITIZE("cfi-icall") void CefCompletionCallbackCToCpp::OnComplete() {
|
||||
cef_completion_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_complete))
|
||||
return;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=b6d5ec54b086f0e166c14f993da12ef1b9d59b19$
|
||||
// $hash=24773b11214ee3ee5b5a1772f515c292bfaf5485$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/context_menu_handler_ctocpp.h"
|
||||
|
@ -21,6 +21,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefContextMenuHandlerCToCpp::OnBeforeContextMenu(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
@ -56,6 +57,7 @@ void CefContextMenuHandlerCToCpp::OnBeforeContextMenu(
|
|||
CefMenuModelCppToC::Wrap(model));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefContextMenuHandlerCToCpp::RunContextMenu(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
@ -99,6 +101,7 @@ bool CefContextMenuHandlerCToCpp::RunContextMenu(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefContextMenuHandlerCToCpp::OnContextMenuCommand(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
@ -133,6 +136,7 @@ bool CefContextMenuHandlerCToCpp::OnContextMenuCommand(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefContextMenuHandlerCToCpp::OnContextMenuDismissed(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame) {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=3135a7e1229fdd3fe6fe93580c1af3e0ac1aab32$
|
||||
// $hash=5e86ec91814c99916e87d1f105da0d9d25b257eb$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/context_menu_params_ctocpp.h"
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
int CefContextMenuParamsCToCpp::GetXCoord() {
|
||||
NO_SANITIZE("cfi-icall") int CefContextMenuParamsCToCpp::GetXCoord() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_xcoord))
|
||||
return 0;
|
||||
|
@ -31,7 +31,7 @@ int CefContextMenuParamsCToCpp::GetXCoord() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
int CefContextMenuParamsCToCpp::GetYCoord() {
|
||||
NO_SANITIZE("cfi-icall") int CefContextMenuParamsCToCpp::GetYCoord() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_ycoord))
|
||||
return 0;
|
||||
|
@ -45,6 +45,7 @@ int CefContextMenuParamsCToCpp::GetYCoord() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefContextMenuParams::TypeFlags CefContextMenuParamsCToCpp::GetTypeFlags() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_flags))
|
||||
|
@ -59,7 +60,7 @@ CefContextMenuParams::TypeFlags CefContextMenuParamsCToCpp::GetTypeFlags() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
CefString CefContextMenuParamsCToCpp::GetLinkUrl() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefContextMenuParamsCToCpp::GetLinkUrl() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_link_url))
|
||||
return CefString();
|
||||
|
@ -75,6 +76,7 @@ CefString CefContextMenuParamsCToCpp::GetLinkUrl() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefString CefContextMenuParamsCToCpp::GetUnfilteredLinkUrl() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_unfiltered_link_url))
|
||||
|
@ -91,7 +93,7 @@ CefString CefContextMenuParamsCToCpp::GetUnfilteredLinkUrl() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefContextMenuParamsCToCpp::GetSourceUrl() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefContextMenuParamsCToCpp::GetSourceUrl() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_source_url))
|
||||
return CefString();
|
||||
|
@ -107,7 +109,7 @@ CefString CefContextMenuParamsCToCpp::GetSourceUrl() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
bool CefContextMenuParamsCToCpp::HasImageContents() {
|
||||
NO_SANITIZE("cfi-icall") bool CefContextMenuParamsCToCpp::HasImageContents() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_image_contents))
|
||||
return false;
|
||||
|
@ -121,7 +123,7 @@ bool CefContextMenuParamsCToCpp::HasImageContents() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
CefString CefContextMenuParamsCToCpp::GetTitleText() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefContextMenuParamsCToCpp::GetTitleText() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_title_text))
|
||||
return CefString();
|
||||
|
@ -137,7 +139,7 @@ CefString CefContextMenuParamsCToCpp::GetTitleText() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefContextMenuParamsCToCpp::GetPageUrl() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefContextMenuParamsCToCpp::GetPageUrl() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_page_url))
|
||||
return CefString();
|
||||
|
@ -153,7 +155,7 @@ CefString CefContextMenuParamsCToCpp::GetPageUrl() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefContextMenuParamsCToCpp::GetFrameUrl() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefContextMenuParamsCToCpp::GetFrameUrl() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_frame_url))
|
||||
return CefString();
|
||||
|
@ -169,6 +171,7 @@ CefString CefContextMenuParamsCToCpp::GetFrameUrl() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefString CefContextMenuParamsCToCpp::GetFrameCharset() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_frame_charset))
|
||||
|
@ -185,6 +188,7 @@ CefString CefContextMenuParamsCToCpp::GetFrameCharset() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefContextMenuParams::MediaType CefContextMenuParamsCToCpp::GetMediaType() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_media_type))
|
||||
|
@ -199,6 +203,7 @@ CefContextMenuParams::MediaType CefContextMenuParamsCToCpp::GetMediaType() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefContextMenuParams::MediaStateFlags
|
||||
CefContextMenuParamsCToCpp::GetMediaStateFlags() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
|
@ -215,6 +220,7 @@ CefContextMenuParamsCToCpp::GetMediaStateFlags() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefString CefContextMenuParamsCToCpp::GetSelectionText() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_selection_text))
|
||||
|
@ -231,6 +237,7 @@ CefString CefContextMenuParamsCToCpp::GetSelectionText() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefString CefContextMenuParamsCToCpp::GetMisspelledWord() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_misspelled_word))
|
||||
|
@ -247,6 +254,7 @@ CefString CefContextMenuParamsCToCpp::GetMisspelledWord() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefContextMenuParamsCToCpp::GetDictionarySuggestions(
|
||||
std::vector<CefString>& suggestions) {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
|
@ -275,7 +283,7 @@ bool CefContextMenuParamsCToCpp::GetDictionarySuggestions(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefContextMenuParamsCToCpp::IsEditable() {
|
||||
NO_SANITIZE("cfi-icall") bool CefContextMenuParamsCToCpp::IsEditable() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_editable))
|
||||
return false;
|
||||
|
@ -289,6 +297,7 @@ bool CefContextMenuParamsCToCpp::IsEditable() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefContextMenuParamsCToCpp::IsSpellCheckEnabled() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_spell_check_enabled))
|
||||
|
@ -303,6 +312,7 @@ bool CefContextMenuParamsCToCpp::IsSpellCheckEnabled() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefContextMenuParams::EditStateFlags
|
||||
CefContextMenuParamsCToCpp::GetEditStateFlags() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
|
@ -319,7 +329,7 @@ CefContextMenuParamsCToCpp::GetEditStateFlags() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
bool CefContextMenuParamsCToCpp::IsCustomMenu() {
|
||||
NO_SANITIZE("cfi-icall") bool CefContextMenuParamsCToCpp::IsCustomMenu() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_custom_menu))
|
||||
return false;
|
||||
|
@ -333,7 +343,7 @@ bool CefContextMenuParamsCToCpp::IsCustomMenu() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefContextMenuParamsCToCpp::IsPepperMenu() {
|
||||
NO_SANITIZE("cfi-icall") bool CefContextMenuParamsCToCpp::IsPepperMenu() {
|
||||
cef_context_menu_params_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_pepper_menu))
|
||||
return false;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=5a5ae9a4567ba338efa8477ba1dc53435ada8c6b$
|
||||
// $hash=1e103ba4bfe9c4d2433fda016759a3f74d7660f1$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/cookie_manager_ctocpp.h"
|
||||
|
@ -21,6 +21,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefCookieManager> CefCookieManager::GetGlobalManager(
|
||||
CefRefPtr<CefCompletionCallback> callback) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
@ -35,6 +36,7 @@ CefRefPtr<CefCookieManager> CefCookieManager::GetGlobalManager(
|
|||
return CefCookieManagerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefCookieManager> CefCookieManager::GetBlockingManager() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
@ -45,6 +47,7 @@ CefRefPtr<CefCookieManager> CefCookieManager::GetBlockingManager() {
|
|||
return CefCookieManagerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefCookieManager> CefCookieManager::CreateManager(
|
||||
const CefString& path,
|
||||
bool persist_session_cookies,
|
||||
|
@ -64,6 +67,7 @@ CefRefPtr<CefCookieManager> CefCookieManager::CreateManager(
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefCookieManagerCToCpp::SetSupportedSchemes(
|
||||
const std::vector<CefString>& schemes,
|
||||
CefRefPtr<CefCompletionCallback> callback) {
|
||||
|
@ -90,6 +94,7 @@ void CefCookieManagerCToCpp::SetSupportedSchemes(
|
|||
cef_string_list_free(schemesList);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefCookieManagerCToCpp::VisitAllCookies(
|
||||
CefRefPtr<CefCookieVisitor> visitor) {
|
||||
cef_cookie_manager_t* _struct = GetStruct();
|
||||
|
@ -111,6 +116,7 @@ bool CefCookieManagerCToCpp::VisitAllCookies(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefCookieManagerCToCpp::VisitUrlCookies(
|
||||
const CefString& url,
|
||||
bool includeHttpOnly,
|
||||
|
@ -139,6 +145,7 @@ bool CefCookieManagerCToCpp::VisitUrlCookies(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefCookieManagerCToCpp::SetCookie(
|
||||
const CefString& url,
|
||||
const CefCookie& cookie,
|
||||
|
@ -163,6 +170,7 @@ bool CefCookieManagerCToCpp::SetCookie(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefCookieManagerCToCpp::DeleteCookies(
|
||||
const CefString& url,
|
||||
const CefString& cookie_name,
|
||||
|
@ -184,6 +192,7 @@ bool CefCookieManagerCToCpp::DeleteCookies(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefCookieManagerCToCpp::SetStoragePath(
|
||||
const CefString& path,
|
||||
bool persist_session_cookies,
|
||||
|
@ -205,6 +214,7 @@ bool CefCookieManagerCToCpp::SetStoragePath(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefCookieManagerCToCpp::FlushStore(
|
||||
CefRefPtr<CefCompletionCallback> callback) {
|
||||
cef_cookie_manager_t* _struct = GetStruct();
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=1f4ad7654b750bc5e0e0144c4b6eb0ddd159bda2$
|
||||
// $hash=d44af05987980b1d598e67edbacfc28921b77b96$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/cookie_visitor_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefCookieVisitorCToCpp::Visit(const CefCookie& cookie,
|
||||
int count,
|
||||
int total,
|
||||
|
|
|
@ -73,6 +73,7 @@ class CefCToCppRefCounted : public BaseName {
|
|||
static StructName* UnwrapDerived(CefWrapperType type, BaseName* c);
|
||||
|
||||
// Increment/decrement reference counts on only the underlying class.
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void UnderlyingAddRef() const {
|
||||
cef_base_ref_counted_t* base =
|
||||
reinterpret_cast<cef_base_ref_counted_t*>(GetStruct());
|
||||
|
@ -80,6 +81,7 @@ class CefCToCppRefCounted : public BaseName {
|
|||
base->add_ref(base);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool UnderlyingRelease() const {
|
||||
cef_base_ref_counted_t* base =
|
||||
reinterpret_cast<cef_base_ref_counted_t*>(GetStruct());
|
||||
|
@ -88,6 +90,7 @@ class CefCToCppRefCounted : public BaseName {
|
|||
return base->release(base) ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool UnderlyingHasOneRef() const {
|
||||
cef_base_ref_counted_t* base =
|
||||
reinterpret_cast<cef_base_ref_counted_t*>(GetStruct());
|
||||
|
|
|
@ -179,6 +179,7 @@ StructName* CefCToCppScoped<ClassName, BaseName, StructName>::UnwrapRaw(
|
|||
}
|
||||
|
||||
template <class ClassName, class BaseName, class StructName>
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefCToCppScoped<ClassName, BaseName, StructName>::operator delete(
|
||||
void* ptr) {
|
||||
WrapperStruct* wrapperStruct = GetWrapperStruct(static_cast<BaseName*>(ptr));
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=fc7f5f2e63879bbdbb140af7eaec163af0e2fade$
|
||||
// $hash=5d51641c43321a8b97de0b344bebc18f94ef8350$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/delete_cookies_callback_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDeleteCookiesCallbackCToCpp::OnComplete(int num_deleted) {
|
||||
cef_delete_cookies_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_complete))
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=3f49ca4369faaf59e7e74ed8c8b5170a1c88704e$
|
||||
// $hash=fca4030784b594889ccb72eff1f6bfb390f050c1$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/dialog_handler_ctocpp.h"
|
||||
|
@ -19,6 +19,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDialogHandlerCToCpp::OnFileDialog(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
FileDialogMode mode,
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=3ee9a7f69f3f3b746428aba16d48399cab5be74f$
|
||||
// $hash=644c9d05e0f79155c4be202e639287db9b2b19a3$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/dictionary_value_ctocpp.h"
|
||||
|
@ -20,6 +20,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDictionaryValue> CefDictionaryValue::Create() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
@ -32,7 +33,7 @@ CefRefPtr<CefDictionaryValue> CefDictionaryValue::Create() {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefDictionaryValueCToCpp::IsValid() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDictionaryValueCToCpp::IsValid() {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
return false;
|
||||
|
@ -46,7 +47,7 @@ bool CefDictionaryValueCToCpp::IsValid() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefDictionaryValueCToCpp::IsOwned() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDictionaryValueCToCpp::IsOwned() {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_owned))
|
||||
return false;
|
||||
|
@ -60,7 +61,7 @@ bool CefDictionaryValueCToCpp::IsOwned() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefDictionaryValueCToCpp::IsReadOnly() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDictionaryValueCToCpp::IsReadOnly() {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_read_only))
|
||||
return false;
|
||||
|
@ -74,6 +75,7 @@ bool CefDictionaryValueCToCpp::IsReadOnly() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDictionaryValueCToCpp::IsSame(CefRefPtr<CefDictionaryValue> that) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
|
@ -94,6 +96,7 @@ bool CefDictionaryValueCToCpp::IsSame(CefRefPtr<CefDictionaryValue> that) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDictionaryValueCToCpp::IsEqual(CefRefPtr<CefDictionaryValue> that) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_equal))
|
||||
|
@ -114,6 +117,7 @@ bool CefDictionaryValueCToCpp::IsEqual(CefRefPtr<CefDictionaryValue> that) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDictionaryValue> CefDictionaryValueCToCpp::Copy(
|
||||
bool exclude_empty_children) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
|
@ -130,7 +134,7 @@ CefRefPtr<CefDictionaryValue> CefDictionaryValueCToCpp::Copy(
|
|||
return CefDictionaryValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
size_t CefDictionaryValueCToCpp::GetSize() {
|
||||
NO_SANITIZE("cfi-icall") size_t CefDictionaryValueCToCpp::GetSize() {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size))
|
||||
return 0;
|
||||
|
@ -144,7 +148,7 @@ size_t CefDictionaryValueCToCpp::GetSize() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
bool CefDictionaryValueCToCpp::Clear() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDictionaryValueCToCpp::Clear() {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, clear))
|
||||
return false;
|
||||
|
@ -158,6 +162,7 @@ bool CefDictionaryValueCToCpp::Clear() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDictionaryValueCToCpp::HasKey(const CefString& key) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_key))
|
||||
|
@ -177,7 +182,7 @@ bool CefDictionaryValueCToCpp::HasKey(const CefString& key) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefDictionaryValueCToCpp::GetKeys(KeyList& keys) {
|
||||
NO_SANITIZE("cfi-icall") bool CefDictionaryValueCToCpp::GetKeys(KeyList& keys) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_keys))
|
||||
return false;
|
||||
|
@ -204,6 +209,7 @@ bool CefDictionaryValueCToCpp::GetKeys(KeyList& keys) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDictionaryValueCToCpp::Remove(const CefString& key) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, remove))
|
||||
|
@ -223,6 +229,7 @@ bool CefDictionaryValueCToCpp::Remove(const CefString& key) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefValueType CefDictionaryValueCToCpp::GetType(const CefString& key) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type))
|
||||
|
@ -242,6 +249,7 @@ CefValueType CefDictionaryValueCToCpp::GetType(const CefString& key) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefValue> CefDictionaryValueCToCpp::GetValue(const CefString& key) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_value))
|
||||
|
@ -261,6 +269,7 @@ CefRefPtr<CefValue> CefDictionaryValueCToCpp::GetValue(const CefString& key) {
|
|||
return CefValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDictionaryValueCToCpp::GetBool(const CefString& key) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bool))
|
||||
|
@ -280,6 +289,7 @@ bool CefDictionaryValueCToCpp::GetBool(const CefString& key) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefDictionaryValueCToCpp::GetInt(const CefString& key) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_int))
|
||||
|
@ -299,6 +309,7 @@ int CefDictionaryValueCToCpp::GetInt(const CefString& key) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
double CefDictionaryValueCToCpp::GetDouble(const CefString& key) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_double))
|
||||
|
@ -318,6 +329,7 @@ double CefDictionaryValueCToCpp::GetDouble(const CefString& key) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefString CefDictionaryValueCToCpp::GetString(const CefString& key) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_string))
|
||||
|
@ -339,6 +351,7 @@ CefString CefDictionaryValueCToCpp::GetString(const CefString& key) {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefBinaryValue> CefDictionaryValueCToCpp::GetBinary(
|
||||
const CefString& key) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
|
@ -359,6 +372,7 @@ CefRefPtr<CefBinaryValue> CefDictionaryValueCToCpp::GetBinary(
|
|||
return CefBinaryValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDictionaryValue> CefDictionaryValueCToCpp::GetDictionary(
|
||||
const CefString& key) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
|
@ -380,6 +394,7 @@ CefRefPtr<CefDictionaryValue> CefDictionaryValueCToCpp::GetDictionary(
|
|||
return CefDictionaryValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefListValue> CefDictionaryValueCToCpp::GetList(
|
||||
const CefString& key) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
|
@ -400,6 +415,7 @@ CefRefPtr<CefListValue> CefDictionaryValueCToCpp::GetList(
|
|||
return CefListValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDictionaryValueCToCpp::SetValue(const CefString& key,
|
||||
CefRefPtr<CefValue> value) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
|
@ -425,6 +441,7 @@ bool CefDictionaryValueCToCpp::SetValue(const CefString& key,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDictionaryValueCToCpp::SetNull(const CefString& key) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_null))
|
||||
|
@ -444,6 +461,7 @@ bool CefDictionaryValueCToCpp::SetNull(const CefString& key) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDictionaryValueCToCpp::SetBool(const CefString& key, bool value) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bool))
|
||||
|
@ -463,6 +481,7 @@ bool CefDictionaryValueCToCpp::SetBool(const CefString& key, bool value) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDictionaryValueCToCpp::SetInt(const CefString& key, int value) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_int))
|
||||
|
@ -482,6 +501,7 @@ bool CefDictionaryValueCToCpp::SetInt(const CefString& key, int value) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDictionaryValueCToCpp::SetDouble(const CefString& key, double value) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_double))
|
||||
|
@ -501,6 +521,7 @@ bool CefDictionaryValueCToCpp::SetDouble(const CefString& key, double value) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDictionaryValueCToCpp::SetString(const CefString& key,
|
||||
const CefString& value) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
|
@ -523,6 +544,7 @@ bool CefDictionaryValueCToCpp::SetString(const CefString& key,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDictionaryValueCToCpp::SetBinary(const CefString& key,
|
||||
CefRefPtr<CefBinaryValue> value) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
|
@ -548,6 +570,7 @@ bool CefDictionaryValueCToCpp::SetBinary(const CefString& key,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDictionaryValueCToCpp::SetDictionary(
|
||||
const CefString& key,
|
||||
CefRefPtr<CefDictionaryValue> value) {
|
||||
|
@ -574,6 +597,7 @@ bool CefDictionaryValueCToCpp::SetDictionary(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDictionaryValueCToCpp::SetList(const CefString& key,
|
||||
CefRefPtr<CefListValue> value) {
|
||||
cef_dictionary_value_t* _struct = GetStruct();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=9506e4c51606a428b82d70eb5a2366fed4c1c61e$
|
||||
// $hash=abb3643b400dff92fc3e8c621f1421ad0201aa77$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/display_handler_ctocpp.h"
|
||||
|
@ -19,6 +19,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDisplayHandlerCToCpp::OnAddressChange(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
const CefString& url) {
|
||||
|
@ -46,6 +47,7 @@ void CefDisplayHandlerCToCpp::OnAddressChange(CefRefPtr<CefBrowser> browser,
|
|||
CefFrameCppToC::Wrap(frame), url.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDisplayHandlerCToCpp::OnTitleChange(CefRefPtr<CefBrowser> browser,
|
||||
const CefString& title) {
|
||||
cef_display_handler_t* _struct = GetStruct();
|
||||
|
@ -65,6 +67,7 @@ void CefDisplayHandlerCToCpp::OnTitleChange(CefRefPtr<CefBrowser> browser,
|
|||
title.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDisplayHandlerCToCpp::OnFaviconURLChange(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
const std::vector<CefString>& icon_urls) {
|
||||
|
@ -95,6 +98,7 @@ void CefDisplayHandlerCToCpp::OnFaviconURLChange(
|
|||
cef_string_list_free(icon_urlsList);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDisplayHandlerCToCpp::OnFullscreenModeChange(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
bool fullscreen) {
|
||||
|
@ -114,6 +118,7 @@ void CefDisplayHandlerCToCpp::OnFullscreenModeChange(
|
|||
fullscreen);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDisplayHandlerCToCpp::OnTooltip(CefRefPtr<CefBrowser> browser,
|
||||
CefString& text) {
|
||||
cef_display_handler_t* _struct = GetStruct();
|
||||
|
@ -136,6 +141,7 @@ bool CefDisplayHandlerCToCpp::OnTooltip(CefRefPtr<CefBrowser> browser,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDisplayHandlerCToCpp::OnStatusMessage(CefRefPtr<CefBrowser> browser,
|
||||
const CefString& value) {
|
||||
cef_display_handler_t* _struct = GetStruct();
|
||||
|
@ -155,6 +161,7 @@ void CefDisplayHandlerCToCpp::OnStatusMessage(CefRefPtr<CefBrowser> browser,
|
|||
value.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDisplayHandlerCToCpp::OnConsoleMessage(CefRefPtr<CefBrowser> browser,
|
||||
cef_log_severity_t level,
|
||||
const CefString& message,
|
||||
|
@ -181,6 +188,7 @@ bool CefDisplayHandlerCToCpp::OnConsoleMessage(CefRefPtr<CefBrowser> browser,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDisplayHandlerCToCpp::OnAutoResize(CefRefPtr<CefBrowser> browser,
|
||||
const CefSize& new_size) {
|
||||
cef_display_handler_t* _struct = GetStruct();
|
||||
|
@ -202,6 +210,7 @@ bool CefDisplayHandlerCToCpp::OnAutoResize(CefRefPtr<CefBrowser> browser,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDisplayHandlerCToCpp::OnLoadingProgressChange(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
double progress) {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=bd69c6a9196e32e6a7b4bcfb521c7be1440ba62c$
|
||||
// $hash=574d9dea9b9ffcd4ef7cd394f2d4a685b60ed677$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/domdocument_ctocpp.h"
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
CefDOMDocument::Type CefDOMDocumentCToCpp::GetType() {
|
||||
NO_SANITIZE("cfi-icall") CefDOMDocument::Type CefDOMDocumentCToCpp::GetType() {
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type))
|
||||
return DOM_DOCUMENT_TYPE_UNKNOWN;
|
||||
|
@ -31,6 +31,7 @@ CefDOMDocument::Type CefDOMDocumentCToCpp::GetType() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetDocument() {
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_document))
|
||||
|
@ -45,7 +46,7 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetDocument() {
|
|||
return CefDOMNodeCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetBody() {
|
||||
NO_SANITIZE("cfi-icall") CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetBody() {
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_body))
|
||||
return NULL;
|
||||
|
@ -59,7 +60,7 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetBody() {
|
|||
return CefDOMNodeCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetHead() {
|
||||
NO_SANITIZE("cfi-icall") CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetHead() {
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_head))
|
||||
return NULL;
|
||||
|
@ -73,7 +74,7 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetHead() {
|
|||
return CefDOMNodeCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
CefString CefDOMDocumentCToCpp::GetTitle() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDOMDocumentCToCpp::GetTitle() {
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_title))
|
||||
return CefString();
|
||||
|
@ -89,6 +90,7 @@ CefString CefDOMDocumentCToCpp::GetTitle() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetElementById(
|
||||
const CefString& id) {
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
|
@ -109,6 +111,7 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetElementById(
|
|||
return CefDOMNodeCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetFocusedNode() {
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_focused_node))
|
||||
|
@ -123,7 +126,7 @@ CefRefPtr<CefDOMNode> CefDOMDocumentCToCpp::GetFocusedNode() {
|
|||
return CefDOMNodeCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
bool CefDOMDocumentCToCpp::HasSelection() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDOMDocumentCToCpp::HasSelection() {
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_selection))
|
||||
return false;
|
||||
|
@ -137,7 +140,7 @@ bool CefDOMDocumentCToCpp::HasSelection() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
int CefDOMDocumentCToCpp::GetSelectionStartOffset() {
|
||||
NO_SANITIZE("cfi-icall") int CefDOMDocumentCToCpp::GetSelectionStartOffset() {
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_selection_start_offset))
|
||||
return 0;
|
||||
|
@ -151,7 +154,7 @@ int CefDOMDocumentCToCpp::GetSelectionStartOffset() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
int CefDOMDocumentCToCpp::GetSelectionEndOffset() {
|
||||
NO_SANITIZE("cfi-icall") int CefDOMDocumentCToCpp::GetSelectionEndOffset() {
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_selection_end_offset))
|
||||
return 0;
|
||||
|
@ -165,6 +168,7 @@ int CefDOMDocumentCToCpp::GetSelectionEndOffset() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefString CefDOMDocumentCToCpp::GetSelectionAsMarkup() {
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_selection_as_markup))
|
||||
|
@ -181,7 +185,7 @@ CefString CefDOMDocumentCToCpp::GetSelectionAsMarkup() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefDOMDocumentCToCpp::GetSelectionAsText() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDOMDocumentCToCpp::GetSelectionAsText() {
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_selection_as_text))
|
||||
return CefString();
|
||||
|
@ -197,7 +201,7 @@ CefString CefDOMDocumentCToCpp::GetSelectionAsText() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefDOMDocumentCToCpp::GetBaseURL() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDOMDocumentCToCpp::GetBaseURL() {
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_base_url))
|
||||
return CefString();
|
||||
|
@ -213,6 +217,7 @@ CefString CefDOMDocumentCToCpp::GetBaseURL() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefString CefDOMDocumentCToCpp::GetCompleteURL(const CefString& partialURL) {
|
||||
cef_domdocument_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_complete_url))
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=4c70f7df52ffea2c9c4d5cea02f10614b434dd33$
|
||||
// $hash=5d2bd31a64e3072b4b1609e0d2cbd0f7a802ef79$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/domnode_ctocpp.h"
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
CefDOMNode::Type CefDOMNodeCToCpp::GetType() {
|
||||
NO_SANITIZE("cfi-icall") CefDOMNode::Type CefDOMNodeCToCpp::GetType() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type))
|
||||
return DOM_NODE_TYPE_UNSUPPORTED;
|
||||
|
@ -32,7 +32,7 @@ CefDOMNode::Type CefDOMNodeCToCpp::GetType() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
bool CefDOMNodeCToCpp::IsText() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDOMNodeCToCpp::IsText() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_text))
|
||||
return false;
|
||||
|
@ -46,7 +46,7 @@ bool CefDOMNodeCToCpp::IsText() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefDOMNodeCToCpp::IsElement() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDOMNodeCToCpp::IsElement() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_element))
|
||||
return false;
|
||||
|
@ -60,7 +60,7 @@ bool CefDOMNodeCToCpp::IsElement() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefDOMNodeCToCpp::IsEditable() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDOMNodeCToCpp::IsEditable() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_editable))
|
||||
return false;
|
||||
|
@ -74,7 +74,7 @@ bool CefDOMNodeCToCpp::IsEditable() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefDOMNodeCToCpp::IsFormControlElement() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDOMNodeCToCpp::IsFormControlElement() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_form_control_element))
|
||||
return false;
|
||||
|
@ -88,6 +88,7 @@ bool CefDOMNodeCToCpp::IsFormControlElement() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefString CefDOMNodeCToCpp::GetFormControlElementType() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_form_control_element_type))
|
||||
|
@ -105,6 +106,7 @@ CefString CefDOMNodeCToCpp::GetFormControlElementType() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDOMNodeCToCpp::IsSame(CefRefPtr<CefDOMNode> that) {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
|
@ -124,7 +126,7 @@ bool CefDOMNodeCToCpp::IsSame(CefRefPtr<CefDOMNode> that) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
CefString CefDOMNodeCToCpp::GetName() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDOMNodeCToCpp::GetName() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_name))
|
||||
return CefString();
|
||||
|
@ -140,7 +142,7 @@ CefString CefDOMNodeCToCpp::GetName() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefDOMNodeCToCpp::GetValue() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDOMNodeCToCpp::GetValue() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_value))
|
||||
return CefString();
|
||||
|
@ -156,6 +158,7 @@ CefString CefDOMNodeCToCpp::GetValue() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDOMNodeCToCpp::SetValue(const CefString& value) {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_value))
|
||||
|
@ -175,7 +178,7 @@ bool CefDOMNodeCToCpp::SetValue(const CefString& value) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
CefString CefDOMNodeCToCpp::GetAsMarkup() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDOMNodeCToCpp::GetAsMarkup() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_as_markup))
|
||||
return CefString();
|
||||
|
@ -191,6 +194,7 @@ CefString CefDOMNodeCToCpp::GetAsMarkup() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDOMDocument> CefDOMNodeCToCpp::GetDocument() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_document))
|
||||
|
@ -205,7 +209,7 @@ CefRefPtr<CefDOMDocument> CefDOMNodeCToCpp::GetDocument() {
|
|||
return CefDOMDocumentCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetParent() {
|
||||
NO_SANITIZE("cfi-icall") CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetParent() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent))
|
||||
return NULL;
|
||||
|
@ -219,6 +223,7 @@ CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetParent() {
|
|||
return CefDOMNodeCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetPreviousSibling() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_previous_sibling))
|
||||
|
@ -233,6 +238,7 @@ CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetPreviousSibling() {
|
|||
return CefDOMNodeCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetNextSibling() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_next_sibling))
|
||||
|
@ -247,7 +253,7 @@ CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetNextSibling() {
|
|||
return CefDOMNodeCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
bool CefDOMNodeCToCpp::HasChildren() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDOMNodeCToCpp::HasChildren() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_children))
|
||||
return false;
|
||||
|
@ -261,6 +267,7 @@ bool CefDOMNodeCToCpp::HasChildren() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetFirstChild() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_first_child))
|
||||
|
@ -275,6 +282,7 @@ CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetFirstChild() {
|
|||
return CefDOMNodeCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetLastChild() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_last_child))
|
||||
|
@ -289,7 +297,7 @@ CefRefPtr<CefDOMNode> CefDOMNodeCToCpp::GetLastChild() {
|
|||
return CefDOMNodeCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
CefString CefDOMNodeCToCpp::GetElementTagName() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDOMNodeCToCpp::GetElementTagName() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_element_tag_name))
|
||||
return CefString();
|
||||
|
@ -305,7 +313,7 @@ CefString CefDOMNodeCToCpp::GetElementTagName() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
bool CefDOMNodeCToCpp::HasElementAttributes() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDOMNodeCToCpp::HasElementAttributes() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_element_attributes))
|
||||
return false;
|
||||
|
@ -319,6 +327,7 @@ bool CefDOMNodeCToCpp::HasElementAttributes() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDOMNodeCToCpp::HasElementAttribute(const CefString& attrName) {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_element_attribute))
|
||||
|
@ -338,6 +347,7 @@ bool CefDOMNodeCToCpp::HasElementAttribute(const CefString& attrName) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefString CefDOMNodeCToCpp::GetElementAttribute(const CefString& attrName) {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_element_attribute))
|
||||
|
@ -360,6 +370,7 @@ CefString CefDOMNodeCToCpp::GetElementAttribute(const CefString& attrName) {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDOMNodeCToCpp::GetElementAttributes(AttributeMap& attrMap) {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_element_attributes))
|
||||
|
@ -384,6 +395,7 @@ void CefDOMNodeCToCpp::GetElementAttributes(AttributeMap& attrMap) {
|
|||
}
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDOMNodeCToCpp::SetElementAttribute(const CefString& attrName,
|
||||
const CefString& value) {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
|
@ -409,7 +421,7 @@ bool CefDOMNodeCToCpp::SetElementAttribute(const CefString& attrName,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
CefString CefDOMNodeCToCpp::GetElementInnerText() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDOMNodeCToCpp::GetElementInnerText() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_element_inner_text))
|
||||
return CefString();
|
||||
|
@ -425,7 +437,7 @@ CefString CefDOMNodeCToCpp::GetElementInnerText() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefRect CefDOMNodeCToCpp::GetElementBounds() {
|
||||
NO_SANITIZE("cfi-icall") CefRect CefDOMNodeCToCpp::GetElementBounds() {
|
||||
cef_domnode_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_element_bounds))
|
||||
return CefRect();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=b1f136b592692f850b442c8f8d3479e784bfaab1$
|
||||
// $hash=0ba4734078309a39cd518df906c2fc7d361932e7$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/domvisitor_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDOMVisitorCToCpp::Visit(CefRefPtr<CefDOMDocument> document) {
|
||||
cef_domvisitor_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, visit))
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=a54f381a1bb9d6da484063f3e620d83a686bc0e2$
|
||||
// $hash=edc9c069d5c2f1402225d566d8108c78b446605b$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/download_handler_ctocpp.h"
|
||||
|
@ -20,6 +20,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDownloadHandlerCToCpp::OnBeforeDownload(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefDownloadItem> download_item,
|
||||
|
@ -55,6 +56,7 @@ void CefDownloadHandlerCToCpp::OnBeforeDownload(
|
|||
CefBeforeDownloadCallbackCppToC::Wrap(callback));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDownloadHandlerCToCpp::OnDownloadUpdated(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefDownloadItem> download_item,
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=088941211e9181221fb7cdee1809ef7f60134715$
|
||||
// $hash=5c88de7a076aec8b93ca430248ab0f903a105b98$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/download_image_callback_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDownloadImageCallbackCToCpp::OnDownloadImageFinished(
|
||||
const CefString& image_url,
|
||||
int http_status_code,
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=835fb863ac3e5d72c5b320d0792c2537fe21bb74$
|
||||
// $hash=9049987ae9812c63a3165ee12c601bc6fec282c4$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/download_item_callback_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
void CefDownloadItemCallbackCToCpp::Cancel() {
|
||||
NO_SANITIZE("cfi-icall") void CefDownloadItemCallbackCToCpp::Cancel() {
|
||||
cef_download_item_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, cancel))
|
||||
return;
|
||||
|
@ -27,7 +27,7 @@ void CefDownloadItemCallbackCToCpp::Cancel() {
|
|||
_struct->cancel(_struct);
|
||||
}
|
||||
|
||||
void CefDownloadItemCallbackCToCpp::Pause() {
|
||||
NO_SANITIZE("cfi-icall") void CefDownloadItemCallbackCToCpp::Pause() {
|
||||
cef_download_item_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, pause))
|
||||
return;
|
||||
|
@ -38,7 +38,7 @@ void CefDownloadItemCallbackCToCpp::Pause() {
|
|||
_struct->pause(_struct);
|
||||
}
|
||||
|
||||
void CefDownloadItemCallbackCToCpp::Resume() {
|
||||
NO_SANITIZE("cfi-icall") void CefDownloadItemCallbackCToCpp::Resume() {
|
||||
cef_download_item_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, resume))
|
||||
return;
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=310fe4a0ca3c4853f6888bf09937aebff040a36f$
|
||||
// $hash=47bc80f07108492b3a7be887f5718d557cbb8d27$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/download_item_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefDownloadItemCToCpp::IsValid() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDownloadItemCToCpp::IsValid() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
return false;
|
||||
|
@ -30,7 +30,7 @@ bool CefDownloadItemCToCpp::IsValid() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefDownloadItemCToCpp::IsInProgress() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDownloadItemCToCpp::IsInProgress() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_in_progress))
|
||||
return false;
|
||||
|
@ -44,7 +44,7 @@ bool CefDownloadItemCToCpp::IsInProgress() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefDownloadItemCToCpp::IsComplete() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDownloadItemCToCpp::IsComplete() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_complete))
|
||||
return false;
|
||||
|
@ -58,7 +58,7 @@ bool CefDownloadItemCToCpp::IsComplete() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefDownloadItemCToCpp::IsCanceled() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDownloadItemCToCpp::IsCanceled() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_canceled))
|
||||
return false;
|
||||
|
@ -72,7 +72,7 @@ bool CefDownloadItemCToCpp::IsCanceled() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
int64 CefDownloadItemCToCpp::GetCurrentSpeed() {
|
||||
NO_SANITIZE("cfi-icall") int64 CefDownloadItemCToCpp::GetCurrentSpeed() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_current_speed))
|
||||
return 0;
|
||||
|
@ -86,7 +86,7 @@ int64 CefDownloadItemCToCpp::GetCurrentSpeed() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
int CefDownloadItemCToCpp::GetPercentComplete() {
|
||||
NO_SANITIZE("cfi-icall") int CefDownloadItemCToCpp::GetPercentComplete() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_percent_complete))
|
||||
return 0;
|
||||
|
@ -100,7 +100,7 @@ int CefDownloadItemCToCpp::GetPercentComplete() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
int64 CefDownloadItemCToCpp::GetTotalBytes() {
|
||||
NO_SANITIZE("cfi-icall") int64 CefDownloadItemCToCpp::GetTotalBytes() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_total_bytes))
|
||||
return 0;
|
||||
|
@ -114,7 +114,7 @@ int64 CefDownloadItemCToCpp::GetTotalBytes() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
int64 CefDownloadItemCToCpp::GetReceivedBytes() {
|
||||
NO_SANITIZE("cfi-icall") int64 CefDownloadItemCToCpp::GetReceivedBytes() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_received_bytes))
|
||||
return 0;
|
||||
|
@ -128,7 +128,7 @@ int64 CefDownloadItemCToCpp::GetReceivedBytes() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
CefTime CefDownloadItemCToCpp::GetStartTime() {
|
||||
NO_SANITIZE("cfi-icall") CefTime CefDownloadItemCToCpp::GetStartTime() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_start_time))
|
||||
return CefTime();
|
||||
|
@ -142,7 +142,7 @@ CefTime CefDownloadItemCToCpp::GetStartTime() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
CefTime CefDownloadItemCToCpp::GetEndTime() {
|
||||
NO_SANITIZE("cfi-icall") CefTime CefDownloadItemCToCpp::GetEndTime() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_end_time))
|
||||
return CefTime();
|
||||
|
@ -156,7 +156,7 @@ CefTime CefDownloadItemCToCpp::GetEndTime() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
CefString CefDownloadItemCToCpp::GetFullPath() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDownloadItemCToCpp::GetFullPath() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_full_path))
|
||||
return CefString();
|
||||
|
@ -172,7 +172,7 @@ CefString CefDownloadItemCToCpp::GetFullPath() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
uint32 CefDownloadItemCToCpp::GetId() {
|
||||
NO_SANITIZE("cfi-icall") uint32 CefDownloadItemCToCpp::GetId() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id))
|
||||
return 0;
|
||||
|
@ -186,7 +186,7 @@ uint32 CefDownloadItemCToCpp::GetId() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
CefString CefDownloadItemCToCpp::GetURL() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDownloadItemCToCpp::GetURL() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_url))
|
||||
return CefString();
|
||||
|
@ -202,7 +202,7 @@ CefString CefDownloadItemCToCpp::GetURL() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefDownloadItemCToCpp::GetOriginalUrl() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDownloadItemCToCpp::GetOriginalUrl() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_original_url))
|
||||
return CefString();
|
||||
|
@ -218,6 +218,7 @@ CefString CefDownloadItemCToCpp::GetOriginalUrl() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefString CefDownloadItemCToCpp::GetSuggestedFileName() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_suggested_file_name))
|
||||
|
@ -234,6 +235,7 @@ CefString CefDownloadItemCToCpp::GetSuggestedFileName() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefString CefDownloadItemCToCpp::GetContentDisposition() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_content_disposition))
|
||||
|
@ -250,7 +252,7 @@ CefString CefDownloadItemCToCpp::GetContentDisposition() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefDownloadItemCToCpp::GetMimeType() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDownloadItemCToCpp::GetMimeType() {
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_mime_type))
|
||||
return CefString();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=b5e650de4800247afab5579d6e239c7853f9a1ad$
|
||||
// $hash=d9ec47b72b5dfbbe66aa6d9fe7dd01e425d458f0$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/drag_data_ctocpp.h"
|
||||
|
@ -19,7 +19,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
CefRefPtr<CefDragData> CefDragData::Create() {
|
||||
NO_SANITIZE("cfi-icall") CefRefPtr<CefDragData> CefDragData::Create() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
|
@ -31,7 +31,7 @@ CefRefPtr<CefDragData> CefDragData::Create() {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
CefRefPtr<CefDragData> CefDragDataCToCpp::Clone() {
|
||||
NO_SANITIZE("cfi-icall") CefRefPtr<CefDragData> CefDragDataCToCpp::Clone() {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, clone))
|
||||
return NULL;
|
||||
|
@ -45,7 +45,7 @@ CefRefPtr<CefDragData> CefDragDataCToCpp::Clone() {
|
|||
return CefDragDataCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
bool CefDragDataCToCpp::IsReadOnly() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDragDataCToCpp::IsReadOnly() {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_read_only))
|
||||
return false;
|
||||
|
@ -59,7 +59,7 @@ bool CefDragDataCToCpp::IsReadOnly() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefDragDataCToCpp::IsLink() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDragDataCToCpp::IsLink() {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_link))
|
||||
return false;
|
||||
|
@ -73,7 +73,7 @@ bool CefDragDataCToCpp::IsLink() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefDragDataCToCpp::IsFragment() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDragDataCToCpp::IsFragment() {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_fragment))
|
||||
return false;
|
||||
|
@ -87,7 +87,7 @@ bool CefDragDataCToCpp::IsFragment() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefDragDataCToCpp::IsFile() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDragDataCToCpp::IsFile() {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_file))
|
||||
return false;
|
||||
|
@ -101,7 +101,7 @@ bool CefDragDataCToCpp::IsFile() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
CefString CefDragDataCToCpp::GetLinkURL() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDragDataCToCpp::GetLinkURL() {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_link_url))
|
||||
return CefString();
|
||||
|
@ -117,7 +117,7 @@ CefString CefDragDataCToCpp::GetLinkURL() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefDragDataCToCpp::GetLinkTitle() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDragDataCToCpp::GetLinkTitle() {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_link_title))
|
||||
return CefString();
|
||||
|
@ -133,7 +133,7 @@ CefString CefDragDataCToCpp::GetLinkTitle() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefDragDataCToCpp::GetLinkMetadata() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDragDataCToCpp::GetLinkMetadata() {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_link_metadata))
|
||||
return CefString();
|
||||
|
@ -149,7 +149,7 @@ CefString CefDragDataCToCpp::GetLinkMetadata() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefDragDataCToCpp::GetFragmentText() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDragDataCToCpp::GetFragmentText() {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_fragment_text))
|
||||
return CefString();
|
||||
|
@ -165,7 +165,7 @@ CefString CefDragDataCToCpp::GetFragmentText() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefDragDataCToCpp::GetFragmentHtml() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDragDataCToCpp::GetFragmentHtml() {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_fragment_html))
|
||||
return CefString();
|
||||
|
@ -181,7 +181,7 @@ CefString CefDragDataCToCpp::GetFragmentHtml() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefDragDataCToCpp::GetFragmentBaseURL() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDragDataCToCpp::GetFragmentBaseURL() {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_fragment_base_url))
|
||||
return CefString();
|
||||
|
@ -197,7 +197,7 @@ CefString CefDragDataCToCpp::GetFragmentBaseURL() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefDragDataCToCpp::GetFileName() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefDragDataCToCpp::GetFileName() {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_file_name))
|
||||
return CefString();
|
||||
|
@ -213,6 +213,7 @@ CefString CefDragDataCToCpp::GetFileName() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
size_t CefDragDataCToCpp::GetFileContents(CefRefPtr<CefStreamWriter> writer) {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_file_contents))
|
||||
|
@ -230,6 +231,7 @@ size_t CefDragDataCToCpp::GetFileContents(CefRefPtr<CefStreamWriter> writer) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDragDataCToCpp::GetFileNames(std::vector<CefString>& names) {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_file_names))
|
||||
|
@ -257,6 +259,7 @@ bool CefDragDataCToCpp::GetFileNames(std::vector<CefString>& names) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDragDataCToCpp::SetLinkURL(const CefString& url) {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_link_url))
|
||||
|
@ -270,6 +273,7 @@ void CefDragDataCToCpp::SetLinkURL(const CefString& url) {
|
|||
_struct->set_link_url(_struct, url.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDragDataCToCpp::SetLinkTitle(const CefString& title) {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_link_title))
|
||||
|
@ -283,6 +287,7 @@ void CefDragDataCToCpp::SetLinkTitle(const CefString& title) {
|
|||
_struct->set_link_title(_struct, title.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDragDataCToCpp::SetLinkMetadata(const CefString& data) {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_link_metadata))
|
||||
|
@ -296,6 +301,7 @@ void CefDragDataCToCpp::SetLinkMetadata(const CefString& data) {
|
|||
_struct->set_link_metadata(_struct, data.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDragDataCToCpp::SetFragmentText(const CefString& text) {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_fragment_text))
|
||||
|
@ -309,6 +315,7 @@ void CefDragDataCToCpp::SetFragmentText(const CefString& text) {
|
|||
_struct->set_fragment_text(_struct, text.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDragDataCToCpp::SetFragmentHtml(const CefString& html) {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_fragment_html))
|
||||
|
@ -322,6 +329,7 @@ void CefDragDataCToCpp::SetFragmentHtml(const CefString& html) {
|
|||
_struct->set_fragment_html(_struct, html.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDragDataCToCpp::SetFragmentBaseURL(const CefString& base_url) {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_fragment_base_url))
|
||||
|
@ -335,7 +343,7 @@ void CefDragDataCToCpp::SetFragmentBaseURL(const CefString& base_url) {
|
|||
_struct->set_fragment_base_url(_struct, base_url.GetStruct());
|
||||
}
|
||||
|
||||
void CefDragDataCToCpp::ResetFileContents() {
|
||||
NO_SANITIZE("cfi-icall") void CefDragDataCToCpp::ResetFileContents() {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, reset_file_contents))
|
||||
return;
|
||||
|
@ -346,6 +354,7 @@ void CefDragDataCToCpp::ResetFileContents() {
|
|||
_struct->reset_file_contents(_struct);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDragDataCToCpp::AddFile(const CefString& path,
|
||||
const CefString& display_name) {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
|
@ -364,7 +373,7 @@ void CefDragDataCToCpp::AddFile(const CefString& path,
|
|||
_struct->add_file(_struct, path.GetStruct(), display_name.GetStruct());
|
||||
}
|
||||
|
||||
CefRefPtr<CefImage> CefDragDataCToCpp::GetImage() {
|
||||
NO_SANITIZE("cfi-icall") CefRefPtr<CefImage> CefDragDataCToCpp::GetImage() {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_image))
|
||||
return NULL;
|
||||
|
@ -378,7 +387,7 @@ CefRefPtr<CefImage> CefDragDataCToCpp::GetImage() {
|
|||
return CefImageCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
CefPoint CefDragDataCToCpp::GetImageHotspot() {
|
||||
NO_SANITIZE("cfi-icall") CefPoint CefDragDataCToCpp::GetImageHotspot() {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_image_hotspot))
|
||||
return CefPoint();
|
||||
|
@ -392,7 +401,7 @@ CefPoint CefDragDataCToCpp::GetImageHotspot() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
bool CefDragDataCToCpp::HasImage() {
|
||||
NO_SANITIZE("cfi-icall") bool CefDragDataCToCpp::HasImage() {
|
||||
cef_drag_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_image))
|
||||
return false;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=ba04da5d81a3bcccf92adefdcb50d925daca1950$
|
||||
// $hash=81af536bfb8253e563e2a047adda6144f640b65f$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/drag_handler_ctocpp.h"
|
||||
|
@ -18,6 +18,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefDragHandlerCToCpp::OnDragEnter(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefDragData> dragData,
|
||||
DragOperationsMask mask) {
|
||||
|
@ -44,6 +45,7 @@ bool CefDragHandlerCToCpp::OnDragEnter(CefRefPtr<CefBrowser> browser,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefDragHandlerCToCpp::OnDraggableRegionsChanged(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
const std::vector<CefDraggableRegion>& regions) {
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=757f5102b8b65a7965d908f2868c41e7bfcc390e$
|
||||
// $hash=9a2e23de88740e3d325745c2c1965c8fae6a527b$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/end_tracing_callback_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefEndTracingCallbackCToCpp::OnEndTracingComplete(
|
||||
const CefString& tracing_file) {
|
||||
cef_end_tracing_callback_t* _struct = GetStruct();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=c00ed48771c61f0701fd439ddc7c270f7d7601b8$
|
||||
// $hash=0ad6e3cf67460af7ca39708c08cc9bfcd9081195$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/extension_ctocpp.h"
|
||||
|
@ -19,7 +19,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
CefString CefExtensionCToCpp::GetIdentifier() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefExtensionCToCpp::GetIdentifier() {
|
||||
cef_extension_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_identifier))
|
||||
return CefString();
|
||||
|
@ -35,7 +35,7 @@ CefString CefExtensionCToCpp::GetIdentifier() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefExtensionCToCpp::GetPath() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefExtensionCToCpp::GetPath() {
|
||||
cef_extension_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_path))
|
||||
return CefString();
|
||||
|
@ -51,6 +51,7 @@ CefString CefExtensionCToCpp::GetPath() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDictionaryValue> CefExtensionCToCpp::GetManifest() {
|
||||
cef_extension_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_manifest))
|
||||
|
@ -65,6 +66,7 @@ CefRefPtr<CefDictionaryValue> CefExtensionCToCpp::GetManifest() {
|
|||
return CefDictionaryValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefExtensionCToCpp::IsSame(CefRefPtr<CefExtension> that) {
|
||||
cef_extension_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
|
@ -84,6 +86,7 @@ bool CefExtensionCToCpp::IsSame(CefRefPtr<CefExtension> that) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefExtensionHandler> CefExtensionCToCpp::GetHandler() {
|
||||
cef_extension_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_handler))
|
||||
|
@ -98,6 +101,7 @@ CefRefPtr<CefExtensionHandler> CefExtensionCToCpp::GetHandler() {
|
|||
return CefExtensionHandlerCppToC::Unwrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefRequestContext> CefExtensionCToCpp::GetLoaderContext() {
|
||||
cef_extension_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_loader_context))
|
||||
|
@ -112,7 +116,7 @@ CefRefPtr<CefRequestContext> CefExtensionCToCpp::GetLoaderContext() {
|
|||
return CefRequestContextCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
bool CefExtensionCToCpp::IsLoaded() {
|
||||
NO_SANITIZE("cfi-icall") bool CefExtensionCToCpp::IsLoaded() {
|
||||
cef_extension_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_loaded))
|
||||
return false;
|
||||
|
@ -126,7 +130,7 @@ bool CefExtensionCToCpp::IsLoaded() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
void CefExtensionCToCpp::Unload() {
|
||||
NO_SANITIZE("cfi-icall") void CefExtensionCToCpp::Unload() {
|
||||
cef_extension_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, unload))
|
||||
return;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=00480c2e2b238dff9b6c706b948c522fb98a0bd7$
|
||||
// $hash=fae7325b1843fa348b5c2721c8f1e108f0c36345$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/extension_handler_ctocpp.h"
|
||||
|
@ -20,6 +20,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefExtensionHandlerCToCpp::OnExtensionLoadFailed(cef_errorcode_t result) {
|
||||
cef_extension_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_extension_load_failed))
|
||||
|
@ -31,6 +32,7 @@ void CefExtensionHandlerCToCpp::OnExtensionLoadFailed(cef_errorcode_t result) {
|
|||
_struct->on_extension_load_failed(_struct, result);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefExtensionHandlerCToCpp::OnExtensionLoaded(
|
||||
CefRefPtr<CefExtension> extension) {
|
||||
cef_extension_handler_t* _struct = GetStruct();
|
||||
|
@ -48,6 +50,7 @@ void CefExtensionHandlerCToCpp::OnExtensionLoaded(
|
|||
_struct->on_extension_loaded(_struct, CefExtensionCppToC::Wrap(extension));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefExtensionHandlerCToCpp::OnExtensionUnloaded(
|
||||
CefRefPtr<CefExtension> extension) {
|
||||
cef_extension_handler_t* _struct = GetStruct();
|
||||
|
@ -65,6 +68,7 @@ void CefExtensionHandlerCToCpp::OnExtensionUnloaded(
|
|||
_struct->on_extension_unloaded(_struct, CefExtensionCppToC::Wrap(extension));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefExtensionHandlerCToCpp::OnBeforeBackgroundBrowser(
|
||||
CefRefPtr<CefExtension> extension,
|
||||
const CefString& url,
|
||||
|
@ -109,6 +113,7 @@ bool CefExtensionHandlerCToCpp::OnBeforeBackgroundBrowser(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefExtensionHandlerCToCpp::OnBeforeBrowser(
|
||||
CefRefPtr<CefExtension> extension,
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
|
@ -167,6 +172,7 @@ bool CefExtensionHandlerCToCpp::OnBeforeBrowser(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefBrowser> CefExtensionHandlerCToCpp::GetActiveBrowser(
|
||||
CefRefPtr<CefExtension> extension,
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
|
@ -195,6 +201,7 @@ CefRefPtr<CefBrowser> CefExtensionHandlerCToCpp::GetActiveBrowser(
|
|||
return CefBrowserCppToC::Unwrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefExtensionHandlerCToCpp::CanAccessBrowser(
|
||||
CefRefPtr<CefExtension> extension,
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
|
@ -229,6 +236,7 @@ bool CefExtensionHandlerCToCpp::CanAccessBrowser(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefExtensionHandlerCToCpp::GetExtensionResource(
|
||||
CefRefPtr<CefExtension> extension,
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=c166001c20c4e1a091089c52afbb42af596a7e5c$
|
||||
// $hash=aceb4502ea61266c860248b19be36fad175aaa6c$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/file_dialog_callback_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefFileDialogCallbackCToCpp::Continue(
|
||||
int selected_accept_filter,
|
||||
const std::vector<CefString>& file_paths) {
|
||||
|
@ -46,7 +47,7 @@ void CefFileDialogCallbackCToCpp::Continue(
|
|||
cef_string_list_free(file_pathsList);
|
||||
}
|
||||
|
||||
void CefFileDialogCallbackCToCpp::Cancel() {
|
||||
NO_SANITIZE("cfi-icall") void CefFileDialogCallbackCToCpp::Cancel() {
|
||||
cef_file_dialog_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, cancel))
|
||||
return;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=a5a2b8db9075a61e7dbadb1c47532d969db66fea$
|
||||
// $hash=3db1328bd8bdd52280a19825d65235fb2214c262$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/find_handler_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefFindHandlerCToCpp::OnFindResult(CefRefPtr<CefBrowser> browser,
|
||||
int identifier,
|
||||
int count,
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=3b3b0a27fc45fa739fc97fa5d15ddb40bd3ae222$
|
||||
// $hash=18801168856dec585bbc6151fe8817689113ad20$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/focus_handler_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefFocusHandlerCToCpp::OnTakeFocus(CefRefPtr<CefBrowser> browser,
|
||||
bool next) {
|
||||
cef_focus_handler_t* _struct = GetStruct();
|
||||
|
@ -34,6 +35,7 @@ void CefFocusHandlerCToCpp::OnTakeFocus(CefRefPtr<CefBrowser> browser,
|
|||
_struct->on_take_focus(_struct, CefBrowserCppToC::Wrap(browser), next);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefFocusHandlerCToCpp::OnSetFocus(CefRefPtr<CefBrowser> browser,
|
||||
FocusSource source) {
|
||||
cef_focus_handler_t* _struct = GetStruct();
|
||||
|
@ -55,6 +57,7 @@ bool CefFocusHandlerCToCpp::OnSetFocus(CefRefPtr<CefBrowser> browser,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefFocusHandlerCToCpp::OnGotFocus(CefRefPtr<CefBrowser> browser) {
|
||||
cef_focus_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_got_focus))
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=9a3e39039489bae67c92b97e0c52bafb682c044a$
|
||||
// $hash=3ad7760da1acf66e1db6fb3a73dfb6b5f5eae800$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/frame_ctocpp.h"
|
||||
|
@ -21,7 +21,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefFrameCToCpp::IsValid() {
|
||||
NO_SANITIZE("cfi-icall") bool CefFrameCToCpp::IsValid() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
return false;
|
||||
|
@ -35,7 +35,7 @@ bool CefFrameCToCpp::IsValid() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
void CefFrameCToCpp::Undo() {
|
||||
NO_SANITIZE("cfi-icall") void CefFrameCToCpp::Undo() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, undo))
|
||||
return;
|
||||
|
@ -46,7 +46,7 @@ void CefFrameCToCpp::Undo() {
|
|||
_struct->undo(_struct);
|
||||
}
|
||||
|
||||
void CefFrameCToCpp::Redo() {
|
||||
NO_SANITIZE("cfi-icall") void CefFrameCToCpp::Redo() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, redo))
|
||||
return;
|
||||
|
@ -57,7 +57,7 @@ void CefFrameCToCpp::Redo() {
|
|||
_struct->redo(_struct);
|
||||
}
|
||||
|
||||
void CefFrameCToCpp::Cut() {
|
||||
NO_SANITIZE("cfi-icall") void CefFrameCToCpp::Cut() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, cut))
|
||||
return;
|
||||
|
@ -68,7 +68,7 @@ void CefFrameCToCpp::Cut() {
|
|||
_struct->cut(_struct);
|
||||
}
|
||||
|
||||
void CefFrameCToCpp::Copy() {
|
||||
NO_SANITIZE("cfi-icall") void CefFrameCToCpp::Copy() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, copy))
|
||||
return;
|
||||
|
@ -79,7 +79,7 @@ void CefFrameCToCpp::Copy() {
|
|||
_struct->copy(_struct);
|
||||
}
|
||||
|
||||
void CefFrameCToCpp::Paste() {
|
||||
NO_SANITIZE("cfi-icall") void CefFrameCToCpp::Paste() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, paste))
|
||||
return;
|
||||
|
@ -90,7 +90,7 @@ void CefFrameCToCpp::Paste() {
|
|||
_struct->paste(_struct);
|
||||
}
|
||||
|
||||
void CefFrameCToCpp::Delete() {
|
||||
NO_SANITIZE("cfi-icall") void CefFrameCToCpp::Delete() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, del))
|
||||
return;
|
||||
|
@ -101,7 +101,7 @@ void CefFrameCToCpp::Delete() {
|
|||
_struct->del(_struct);
|
||||
}
|
||||
|
||||
void CefFrameCToCpp::SelectAll() {
|
||||
NO_SANITIZE("cfi-icall") void CefFrameCToCpp::SelectAll() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, select_all))
|
||||
return;
|
||||
|
@ -112,7 +112,7 @@ void CefFrameCToCpp::SelectAll() {
|
|||
_struct->select_all(_struct);
|
||||
}
|
||||
|
||||
void CefFrameCToCpp::ViewSource() {
|
||||
NO_SANITIZE("cfi-icall") void CefFrameCToCpp::ViewSource() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, view_source))
|
||||
return;
|
||||
|
@ -123,6 +123,7 @@ void CefFrameCToCpp::ViewSource() {
|
|||
_struct->view_source(_struct);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefFrameCToCpp::GetSource(CefRefPtr<CefStringVisitor> visitor) {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_source))
|
||||
|
@ -139,6 +140,7 @@ void CefFrameCToCpp::GetSource(CefRefPtr<CefStringVisitor> visitor) {
|
|||
_struct->get_source(_struct, CefStringVisitorCppToC::Wrap(visitor));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefFrameCToCpp::GetText(CefRefPtr<CefStringVisitor> visitor) {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_text))
|
||||
|
@ -155,6 +157,7 @@ void CefFrameCToCpp::GetText(CefRefPtr<CefStringVisitor> visitor) {
|
|||
_struct->get_text(_struct, CefStringVisitorCppToC::Wrap(visitor));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefFrameCToCpp::LoadRequest(CefRefPtr<CefRequest> request) {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, load_request))
|
||||
|
@ -171,7 +174,7 @@ void CefFrameCToCpp::LoadRequest(CefRefPtr<CefRequest> request) {
|
|||
_struct->load_request(_struct, CefRequestCToCpp::Unwrap(request));
|
||||
}
|
||||
|
||||
void CefFrameCToCpp::LoadURL(const CefString& url) {
|
||||
NO_SANITIZE("cfi-icall") void CefFrameCToCpp::LoadURL(const CefString& url) {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, load_url))
|
||||
return;
|
||||
|
@ -187,6 +190,7 @@ void CefFrameCToCpp::LoadURL(const CefString& url) {
|
|||
_struct->load_url(_struct, url.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefFrameCToCpp::LoadString(const CefString& string_val,
|
||||
const CefString& url) {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
|
@ -208,6 +212,7 @@ void CefFrameCToCpp::LoadString(const CefString& string_val,
|
|||
_struct->load_string(_struct, string_val.GetStruct(), url.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefFrameCToCpp::ExecuteJavaScript(const CefString& code,
|
||||
const CefString& script_url,
|
||||
int start_line) {
|
||||
|
@ -228,7 +233,7 @@ void CefFrameCToCpp::ExecuteJavaScript(const CefString& code,
|
|||
script_url.GetStruct(), start_line);
|
||||
}
|
||||
|
||||
bool CefFrameCToCpp::IsMain() {
|
||||
NO_SANITIZE("cfi-icall") bool CefFrameCToCpp::IsMain() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_main))
|
||||
return false;
|
||||
|
@ -242,7 +247,7 @@ bool CefFrameCToCpp::IsMain() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefFrameCToCpp::IsFocused() {
|
||||
NO_SANITIZE("cfi-icall") bool CefFrameCToCpp::IsFocused() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focused))
|
||||
return false;
|
||||
|
@ -256,7 +261,7 @@ bool CefFrameCToCpp::IsFocused() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
CefString CefFrameCToCpp::GetName() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefFrameCToCpp::GetName() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_name))
|
||||
return CefString();
|
||||
|
@ -272,7 +277,7 @@ CefString CefFrameCToCpp::GetName() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
int64 CefFrameCToCpp::GetIdentifier() {
|
||||
NO_SANITIZE("cfi-icall") int64 CefFrameCToCpp::GetIdentifier() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_identifier))
|
||||
return 0;
|
||||
|
@ -286,7 +291,7 @@ int64 CefFrameCToCpp::GetIdentifier() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
CefRefPtr<CefFrame> CefFrameCToCpp::GetParent() {
|
||||
NO_SANITIZE("cfi-icall") CefRefPtr<CefFrame> CefFrameCToCpp::GetParent() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent))
|
||||
return NULL;
|
||||
|
@ -300,7 +305,7 @@ CefRefPtr<CefFrame> CefFrameCToCpp::GetParent() {
|
|||
return CefFrameCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
CefString CefFrameCToCpp::GetURL() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefFrameCToCpp::GetURL() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_url))
|
||||
return CefString();
|
||||
|
@ -316,7 +321,7 @@ CefString CefFrameCToCpp::GetURL() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefRefPtr<CefBrowser> CefFrameCToCpp::GetBrowser() {
|
||||
NO_SANITIZE("cfi-icall") CefRefPtr<CefBrowser> CefFrameCToCpp::GetBrowser() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_browser))
|
||||
return NULL;
|
||||
|
@ -330,6 +335,7 @@ CefRefPtr<CefBrowser> CefFrameCToCpp::GetBrowser() {
|
|||
return CefBrowserCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefV8Context> CefFrameCToCpp::GetV8Context() {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_v8context))
|
||||
|
@ -344,6 +350,7 @@ CefRefPtr<CefV8Context> CefFrameCToCpp::GetV8Context() {
|
|||
return CefV8ContextCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefFrameCToCpp::VisitDOM(CefRefPtr<CefDOMVisitor> visitor) {
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, visit_dom))
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=ed4fd9a3360af2e7a81cd5024214f328714a4b7c$
|
||||
// $hash=dde34894700dbc23a2a0df5d38e15187a875ccd8$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/get_extension_resource_callback_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefGetExtensionResourceCallbackCToCpp::Continue(
|
||||
CefRefPtr<CefStreamReader> stream) {
|
||||
cef_get_extension_resource_callback_t* _struct = GetStruct();
|
||||
|
@ -31,7 +32,7 @@ void CefGetExtensionResourceCallbackCToCpp::Continue(
|
|||
_struct->cont(_struct, CefStreamReaderCToCpp::Unwrap(stream));
|
||||
}
|
||||
|
||||
void CefGetExtensionResourceCallbackCToCpp::Cancel() {
|
||||
NO_SANITIZE("cfi-icall") void CefGetExtensionResourceCallbackCToCpp::Cancel() {
|
||||
cef_get_extension_resource_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, cancel))
|
||||
return;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=38e95f3ee63104a77b531418ae731cd4bb8d443b$
|
||||
// $hash=d49cb1218160070c78a38fcaa3e729d0ce6c3326$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/image_ctocpp.h"
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
CefRefPtr<CefImage> CefImage::CreateImage() {
|
||||
NO_SANITIZE("cfi-icall") CefRefPtr<CefImage> CefImage::CreateImage() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
|
@ -29,7 +29,7 @@ CefRefPtr<CefImage> CefImage::CreateImage() {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefImageCToCpp::IsEmpty() {
|
||||
NO_SANITIZE("cfi-icall") bool CefImageCToCpp::IsEmpty() {
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_empty))
|
||||
return false;
|
||||
|
@ -43,7 +43,7 @@ bool CefImageCToCpp::IsEmpty() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefImageCToCpp::IsSame(CefRefPtr<CefImage> that) {
|
||||
NO_SANITIZE("cfi-icall") bool CefImageCToCpp::IsSame(CefRefPtr<CefImage> that) {
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
return false;
|
||||
|
@ -62,6 +62,7 @@ bool CefImageCToCpp::IsSame(CefRefPtr<CefImage> that) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefImageCToCpp::AddBitmap(float scale_factor,
|
||||
int pixel_width,
|
||||
int pixel_height,
|
||||
|
@ -89,6 +90,7 @@ bool CefImageCToCpp::AddBitmap(float scale_factor,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefImageCToCpp::AddPNG(float scale_factor,
|
||||
const void* png_data,
|
||||
size_t png_data_size) {
|
||||
|
@ -111,6 +113,7 @@ bool CefImageCToCpp::AddPNG(float scale_factor,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefImageCToCpp::AddJPEG(float scale_factor,
|
||||
const void* jpeg_data,
|
||||
size_t jpeg_data_size) {
|
||||
|
@ -133,7 +136,7 @@ bool CefImageCToCpp::AddJPEG(float scale_factor,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
size_t CefImageCToCpp::GetWidth() {
|
||||
NO_SANITIZE("cfi-icall") size_t CefImageCToCpp::GetWidth() {
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_width))
|
||||
return 0;
|
||||
|
@ -147,7 +150,7 @@ size_t CefImageCToCpp::GetWidth() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
size_t CefImageCToCpp::GetHeight() {
|
||||
NO_SANITIZE("cfi-icall") size_t CefImageCToCpp::GetHeight() {
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height))
|
||||
return 0;
|
||||
|
@ -161,6 +164,7 @@ size_t CefImageCToCpp::GetHeight() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefImageCToCpp::HasRepresentation(float scale_factor) {
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_representation))
|
||||
|
@ -175,6 +179,7 @@ bool CefImageCToCpp::HasRepresentation(float scale_factor) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefImageCToCpp::RemoveRepresentation(float scale_factor) {
|
||||
cef_image_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, remove_representation))
|
||||
|
@ -189,6 +194,7 @@ bool CefImageCToCpp::RemoveRepresentation(float scale_factor) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefImageCToCpp::GetRepresentationInfo(float scale_factor,
|
||||
float& actual_scale_factor,
|
||||
int& pixel_width,
|
||||
|
@ -207,6 +213,7 @@ bool CefImageCToCpp::GetRepresentationInfo(float scale_factor,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefBinaryValue> CefImageCToCpp::GetAsBitmap(
|
||||
float scale_factor,
|
||||
cef_color_type_t color_type,
|
||||
|
@ -228,6 +235,7 @@ CefRefPtr<CefBinaryValue> CefImageCToCpp::GetAsBitmap(
|
|||
return CefBinaryValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefBinaryValue> CefImageCToCpp::GetAsPNG(float scale_factor,
|
||||
bool with_transparency,
|
||||
int& pixel_width,
|
||||
|
@ -246,6 +254,7 @@ CefRefPtr<CefBinaryValue> CefImageCToCpp::GetAsPNG(float scale_factor,
|
|||
return CefBinaryValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefBinaryValue> CefImageCToCpp::GetAsJPEG(float scale_factor,
|
||||
int quality,
|
||||
int& pixel_width,
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=554fbc51337594be0c53990b56984991cb9a4892$
|
||||
// $hash=3666462f3d39d248f2f188702e648c9988b4ce4e$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/jsdialog_callback_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefJSDialogCallbackCToCpp::Continue(bool success,
|
||||
const CefString& user_input) {
|
||||
cef_jsdialog_callback_t* _struct = GetStruct();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=0904b9bbbc6fd8770a778b6b273069ab1d15732e$
|
||||
// $hash=e498c4bed5dd87d54da86181ace99b6b632dfa85$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/jsdialog_handler_ctocpp.h"
|
||||
|
@ -18,6 +18,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefJSDialogHandlerCToCpp::OnJSDialog(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
const CefString& origin_url,
|
||||
|
@ -58,6 +59,7 @@ bool CefJSDialogHandlerCToCpp::OnJSDialog(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefJSDialogHandlerCToCpp::OnBeforeUnloadDialog(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
const CefString& message_text,
|
||||
|
@ -88,6 +90,7 @@ bool CefJSDialogHandlerCToCpp::OnBeforeUnloadDialog(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefJSDialogHandlerCToCpp::OnResetDialogState(
|
||||
CefRefPtr<CefBrowser> browser) {
|
||||
cef_jsdialog_handler_t* _struct = GetStruct();
|
||||
|
@ -105,6 +108,7 @@ void CefJSDialogHandlerCToCpp::OnResetDialogState(
|
|||
_struct->on_reset_dialog_state(_struct, CefBrowserCppToC::Wrap(browser));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefJSDialogHandlerCToCpp::OnDialogClosed(CefRefPtr<CefBrowser> browser) {
|
||||
cef_jsdialog_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_dialog_closed))
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=fb83504b65f35ee9e57f2de3d091694c3e70a0f8$
|
||||
// $hash=9b9a7d5716cc862fde477fada209350ae6ce01b5$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/keyboard_handler_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefKeyboardHandlerCToCpp::OnPreKeyEvent(CefRefPtr<CefBrowser> browser,
|
||||
const CefKeyEvent& event,
|
||||
CefEventHandle os_event,
|
||||
|
@ -53,6 +54,7 @@ bool CefKeyboardHandlerCToCpp::OnPreKeyEvent(CefRefPtr<CefBrowser> browser,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefKeyboardHandlerCToCpp::OnKeyEvent(CefRefPtr<CefBrowser> browser,
|
||||
const CefKeyEvent& event,
|
||||
CefEventHandle os_event) {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=db8820466594dddb306863d0b5bc0a915949ac52$
|
||||
// $hash=8ff36f4b6be6a1f2c15fc1ad7a0f7eea6af84844$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/life_span_handler_ctocpp.h"
|
||||
|
@ -19,6 +19,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefLifeSpanHandlerCToCpp::OnBeforePopup(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
@ -83,6 +84,7 @@ bool CefLifeSpanHandlerCToCpp::OnBeforePopup(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefLifeSpanHandlerCToCpp::OnAfterCreated(CefRefPtr<CefBrowser> browser) {
|
||||
cef_life_span_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_after_created))
|
||||
|
@ -99,6 +101,7 @@ void CefLifeSpanHandlerCToCpp::OnAfterCreated(CefRefPtr<CefBrowser> browser) {
|
|||
_struct->on_after_created(_struct, CefBrowserCppToC::Wrap(browser));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefLifeSpanHandlerCToCpp::DoClose(CefRefPtr<CefBrowser> browser) {
|
||||
cef_life_span_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, do_close))
|
||||
|
@ -118,6 +121,7 @@ bool CefLifeSpanHandlerCToCpp::DoClose(CefRefPtr<CefBrowser> browser) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefLifeSpanHandlerCToCpp::OnBeforeClose(CefRefPtr<CefBrowser> browser) {
|
||||
cef_life_span_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_before_close))
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=3515f4f84294697be76da24e3e2ef47a526ffbf5$
|
||||
// $hash=b29ca99f491b5f21266c642418b5ccd07ff48a01$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/list_value_ctocpp.h"
|
||||
|
@ -19,7 +19,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
CefRefPtr<CefListValue> CefListValue::Create() {
|
||||
NO_SANITIZE("cfi-icall") CefRefPtr<CefListValue> CefListValue::Create() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
|
@ -31,7 +31,7 @@ CefRefPtr<CefListValue> CefListValue::Create() {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefListValueCToCpp::IsValid() {
|
||||
NO_SANITIZE("cfi-icall") bool CefListValueCToCpp::IsValid() {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
return false;
|
||||
|
@ -45,7 +45,7 @@ bool CefListValueCToCpp::IsValid() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefListValueCToCpp::IsOwned() {
|
||||
NO_SANITIZE("cfi-icall") bool CefListValueCToCpp::IsOwned() {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_owned))
|
||||
return false;
|
||||
|
@ -59,7 +59,7 @@ bool CefListValueCToCpp::IsOwned() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefListValueCToCpp::IsReadOnly() {
|
||||
NO_SANITIZE("cfi-icall") bool CefListValueCToCpp::IsReadOnly() {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_read_only))
|
||||
return false;
|
||||
|
@ -73,6 +73,7 @@ bool CefListValueCToCpp::IsReadOnly() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefListValueCToCpp::IsSame(CefRefPtr<CefListValue> that) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
|
@ -92,6 +93,7 @@ bool CefListValueCToCpp::IsSame(CefRefPtr<CefListValue> that) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefListValueCToCpp::IsEqual(CefRefPtr<CefListValue> that) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_equal))
|
||||
|
@ -111,7 +113,7 @@ bool CefListValueCToCpp::IsEqual(CefRefPtr<CefListValue> that) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
CefRefPtr<CefListValue> CefListValueCToCpp::Copy() {
|
||||
NO_SANITIZE("cfi-icall") CefRefPtr<CefListValue> CefListValueCToCpp::Copy() {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, copy))
|
||||
return NULL;
|
||||
|
@ -125,7 +127,7 @@ CefRefPtr<CefListValue> CefListValueCToCpp::Copy() {
|
|||
return CefListValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
bool CefListValueCToCpp::SetSize(size_t size) {
|
||||
NO_SANITIZE("cfi-icall") bool CefListValueCToCpp::SetSize(size_t size) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size))
|
||||
return false;
|
||||
|
@ -139,7 +141,7 @@ bool CefListValueCToCpp::SetSize(size_t size) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
size_t CefListValueCToCpp::GetSize() {
|
||||
NO_SANITIZE("cfi-icall") size_t CefListValueCToCpp::GetSize() {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size))
|
||||
return 0;
|
||||
|
@ -153,7 +155,7 @@ size_t CefListValueCToCpp::GetSize() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
bool CefListValueCToCpp::Clear() {
|
||||
NO_SANITIZE("cfi-icall") bool CefListValueCToCpp::Clear() {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, clear))
|
||||
return false;
|
||||
|
@ -167,7 +169,7 @@ bool CefListValueCToCpp::Clear() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefListValueCToCpp::Remove(size_t index) {
|
||||
NO_SANITIZE("cfi-icall") bool CefListValueCToCpp::Remove(size_t index) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, remove))
|
||||
return false;
|
||||
|
@ -181,6 +183,7 @@ bool CefListValueCToCpp::Remove(size_t index) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefValueType CefListValueCToCpp::GetType(size_t index) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type))
|
||||
|
@ -195,6 +198,7 @@ CefValueType CefListValueCToCpp::GetType(size_t index) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefValue> CefListValueCToCpp::GetValue(size_t index) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_value))
|
||||
|
@ -209,7 +213,7 @@ CefRefPtr<CefValue> CefListValueCToCpp::GetValue(size_t index) {
|
|||
return CefValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
bool CefListValueCToCpp::GetBool(size_t index) {
|
||||
NO_SANITIZE("cfi-icall") bool CefListValueCToCpp::GetBool(size_t index) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bool))
|
||||
return false;
|
||||
|
@ -223,7 +227,7 @@ bool CefListValueCToCpp::GetBool(size_t index) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
int CefListValueCToCpp::GetInt(size_t index) {
|
||||
NO_SANITIZE("cfi-icall") int CefListValueCToCpp::GetInt(size_t index) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_int))
|
||||
return 0;
|
||||
|
@ -237,7 +241,7 @@ int CefListValueCToCpp::GetInt(size_t index) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
double CefListValueCToCpp::GetDouble(size_t index) {
|
||||
NO_SANITIZE("cfi-icall") double CefListValueCToCpp::GetDouble(size_t index) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_double))
|
||||
return 0;
|
||||
|
@ -251,7 +255,7 @@ double CefListValueCToCpp::GetDouble(size_t index) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
CefString CefListValueCToCpp::GetString(size_t index) {
|
||||
NO_SANITIZE("cfi-icall") CefString CefListValueCToCpp::GetString(size_t index) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_string))
|
||||
return CefString();
|
||||
|
@ -267,6 +271,7 @@ CefString CefListValueCToCpp::GetString(size_t index) {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefBinaryValue> CefListValueCToCpp::GetBinary(size_t index) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_binary))
|
||||
|
@ -281,6 +286,7 @@ CefRefPtr<CefBinaryValue> CefListValueCToCpp::GetBinary(size_t index) {
|
|||
return CefBinaryValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDictionaryValue> CefListValueCToCpp::GetDictionary(size_t index) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_dictionary))
|
||||
|
@ -295,6 +301,7 @@ CefRefPtr<CefDictionaryValue> CefListValueCToCpp::GetDictionary(size_t index) {
|
|||
return CefDictionaryValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefListValue> CefListValueCToCpp::GetList(size_t index) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_list))
|
||||
|
@ -309,6 +316,7 @@ CefRefPtr<CefListValue> CefListValueCToCpp::GetList(size_t index) {
|
|||
return CefListValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefListValueCToCpp::SetValue(size_t index, CefRefPtr<CefValue> value) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_value))
|
||||
|
@ -329,7 +337,7 @@ bool CefListValueCToCpp::SetValue(size_t index, CefRefPtr<CefValue> value) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefListValueCToCpp::SetNull(size_t index) {
|
||||
NO_SANITIZE("cfi-icall") bool CefListValueCToCpp::SetNull(size_t index) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_null))
|
||||
return false;
|
||||
|
@ -343,6 +351,7 @@ bool CefListValueCToCpp::SetNull(size_t index) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefListValueCToCpp::SetBool(size_t index, bool value) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bool))
|
||||
|
@ -357,6 +366,7 @@ bool CefListValueCToCpp::SetBool(size_t index, bool value) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefListValueCToCpp::SetInt(size_t index, int value) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_int))
|
||||
|
@ -371,6 +381,7 @@ bool CefListValueCToCpp::SetInt(size_t index, int value) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefListValueCToCpp::SetDouble(size_t index, double value) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_double))
|
||||
|
@ -385,6 +396,7 @@ bool CefListValueCToCpp::SetDouble(size_t index, double value) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefListValueCToCpp::SetString(size_t index, const CefString& value) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_string))
|
||||
|
@ -401,6 +413,7 @@ bool CefListValueCToCpp::SetString(size_t index, const CefString& value) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefListValueCToCpp::SetBinary(size_t index,
|
||||
CefRefPtr<CefBinaryValue> value) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
|
@ -422,6 +435,7 @@ bool CefListValueCToCpp::SetBinary(size_t index,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefListValueCToCpp::SetDictionary(size_t index,
|
||||
CefRefPtr<CefDictionaryValue> value) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
|
@ -443,6 +457,7 @@ bool CefListValueCToCpp::SetDictionary(size_t index,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefListValueCToCpp::SetList(size_t index, CefRefPtr<CefListValue> value) {
|
||||
cef_list_value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_list))
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=e58b29b4a6da123b6c08c1ec136ceb68634df0ba$
|
||||
// $hash=9b2397f925567ffc10419a820e90e8457ce061f2$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/load_handler_ctocpp.h"
|
||||
|
@ -18,6 +18,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefLoadHandlerCToCpp::OnLoadingStateChange(CefRefPtr<CefBrowser> browser,
|
||||
bool isLoading,
|
||||
bool canGoBack,
|
||||
|
@ -38,6 +39,7 @@ void CefLoadHandlerCToCpp::OnLoadingStateChange(CefRefPtr<CefBrowser> browser,
|
|||
isLoading, canGoBack, canGoForward);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefLoadHandlerCToCpp::OnLoadStart(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
TransitionType transition_type) {
|
||||
|
@ -61,6 +63,7 @@ void CefLoadHandlerCToCpp::OnLoadStart(CefRefPtr<CefBrowser> browser,
|
|||
CefFrameCppToC::Wrap(frame), transition_type);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefLoadHandlerCToCpp::OnLoadEnd(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
int httpStatusCode) {
|
||||
|
@ -84,6 +87,7 @@ void CefLoadHandlerCToCpp::OnLoadEnd(CefRefPtr<CefBrowser> browser,
|
|||
CefFrameCppToC::Wrap(frame), httpStatusCode);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefLoadHandlerCToCpp::OnLoadError(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
ErrorCode errorCode,
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=a0a473fc8a5e05655d145629bf52e15043f92ed9$
|
||||
// $hash=e0822274ae67e39612eb8375036983ec04d7843d$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/menu_model_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefMenuModel> CefMenuModel::CreateMenuModel(
|
||||
CefRefPtr<CefMenuModelDelegate> delegate) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
@ -36,7 +37,7 @@ CefRefPtr<CefMenuModel> CefMenuModel::CreateMenuModel(
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefMenuModelCToCpp::IsSubMenu() {
|
||||
NO_SANITIZE("cfi-icall") bool CefMenuModelCToCpp::IsSubMenu() {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_sub_menu))
|
||||
return false;
|
||||
|
@ -50,7 +51,7 @@ bool CefMenuModelCToCpp::IsSubMenu() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefMenuModelCToCpp::Clear() {
|
||||
NO_SANITIZE("cfi-icall") bool CefMenuModelCToCpp::Clear() {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, clear))
|
||||
return false;
|
||||
|
@ -64,7 +65,7 @@ bool CefMenuModelCToCpp::Clear() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
int CefMenuModelCToCpp::GetCount() {
|
||||
NO_SANITIZE("cfi-icall") int CefMenuModelCToCpp::GetCount() {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_count))
|
||||
return 0;
|
||||
|
@ -78,7 +79,7 @@ int CefMenuModelCToCpp::GetCount() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
bool CefMenuModelCToCpp::AddSeparator() {
|
||||
NO_SANITIZE("cfi-icall") bool CefMenuModelCToCpp::AddSeparator() {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, add_separator))
|
||||
return false;
|
||||
|
@ -92,6 +93,7 @@ bool CefMenuModelCToCpp::AddSeparator() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::AddItem(int command_id, const CefString& label) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, add_item))
|
||||
|
@ -111,6 +113,7 @@ bool CefMenuModelCToCpp::AddItem(int command_id, const CefString& label) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::AddCheckItem(int command_id, const CefString& label) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, add_check_item))
|
||||
|
@ -130,6 +133,7 @@ bool CefMenuModelCToCpp::AddCheckItem(int command_id, const CefString& label) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::AddRadioItem(int command_id,
|
||||
const CefString& label,
|
||||
int group_id) {
|
||||
|
@ -152,6 +156,7 @@ bool CefMenuModelCToCpp::AddRadioItem(int command_id,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefMenuModel> CefMenuModelCToCpp::AddSubMenu(int command_id,
|
||||
const CefString& label) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
|
@ -173,7 +178,7 @@ CefRefPtr<CefMenuModel> CefMenuModelCToCpp::AddSubMenu(int command_id,
|
|||
return CefMenuModelCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
bool CefMenuModelCToCpp::InsertSeparatorAt(int index) {
|
||||
NO_SANITIZE("cfi-icall") bool CefMenuModelCToCpp::InsertSeparatorAt(int index) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, insert_separator_at))
|
||||
return false;
|
||||
|
@ -187,6 +192,7 @@ bool CefMenuModelCToCpp::InsertSeparatorAt(int index) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::InsertItemAt(int index,
|
||||
int command_id,
|
||||
const CefString& label) {
|
||||
|
@ -209,6 +215,7 @@ bool CefMenuModelCToCpp::InsertItemAt(int index,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::InsertCheckItemAt(int index,
|
||||
int command_id,
|
||||
const CefString& label) {
|
||||
|
@ -231,6 +238,7 @@ bool CefMenuModelCToCpp::InsertCheckItemAt(int index,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::InsertRadioItemAt(int index,
|
||||
int command_id,
|
||||
const CefString& label,
|
||||
|
@ -254,6 +262,7 @@ bool CefMenuModelCToCpp::InsertRadioItemAt(int index,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefMenuModel> CefMenuModelCToCpp::InsertSubMenuAt(
|
||||
int index,
|
||||
int command_id,
|
||||
|
@ -277,7 +286,7 @@ CefRefPtr<CefMenuModel> CefMenuModelCToCpp::InsertSubMenuAt(
|
|||
return CefMenuModelCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
bool CefMenuModelCToCpp::Remove(int command_id) {
|
||||
NO_SANITIZE("cfi-icall") bool CefMenuModelCToCpp::Remove(int command_id) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, remove))
|
||||
return false;
|
||||
|
@ -291,7 +300,7 @@ bool CefMenuModelCToCpp::Remove(int command_id) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefMenuModelCToCpp::RemoveAt(int index) {
|
||||
NO_SANITIZE("cfi-icall") bool CefMenuModelCToCpp::RemoveAt(int index) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, remove_at))
|
||||
return false;
|
||||
|
@ -305,7 +314,7 @@ bool CefMenuModelCToCpp::RemoveAt(int index) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
int CefMenuModelCToCpp::GetIndexOf(int command_id) {
|
||||
NO_SANITIZE("cfi-icall") int CefMenuModelCToCpp::GetIndexOf(int command_id) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_index_of))
|
||||
return 0;
|
||||
|
@ -319,7 +328,7 @@ int CefMenuModelCToCpp::GetIndexOf(int command_id) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
int CefMenuModelCToCpp::GetCommandIdAt(int index) {
|
||||
NO_SANITIZE("cfi-icall") int CefMenuModelCToCpp::GetCommandIdAt(int index) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_command_id_at))
|
||||
return 0;
|
||||
|
@ -333,6 +342,7 @@ int CefMenuModelCToCpp::GetCommandIdAt(int index) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetCommandIdAt(int index, int command_id) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_command_id_at))
|
||||
|
@ -347,6 +357,7 @@ bool CefMenuModelCToCpp::SetCommandIdAt(int index, int command_id) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefString CefMenuModelCToCpp::GetLabel(int command_id) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_label))
|
||||
|
@ -363,7 +374,7 @@ CefString CefMenuModelCToCpp::GetLabel(int command_id) {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefMenuModelCToCpp::GetLabelAt(int index) {
|
||||
NO_SANITIZE("cfi-icall") CefString CefMenuModelCToCpp::GetLabelAt(int index) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_label_at))
|
||||
return CefString();
|
||||
|
@ -379,6 +390,7 @@ CefString CefMenuModelCToCpp::GetLabelAt(int index) {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetLabel(int command_id, const CefString& label) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_label))
|
||||
|
@ -398,6 +410,7 @@ bool CefMenuModelCToCpp::SetLabel(int command_id, const CefString& label) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetLabelAt(int index, const CefString& label) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_label_at))
|
||||
|
@ -417,6 +430,7 @@ bool CefMenuModelCToCpp::SetLabelAt(int index, const CefString& label) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefMenuModel::MenuItemType CefMenuModelCToCpp::GetType(int command_id) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type))
|
||||
|
@ -431,6 +445,7 @@ CefMenuModel::MenuItemType CefMenuModelCToCpp::GetType(int command_id) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefMenuModel::MenuItemType CefMenuModelCToCpp::GetTypeAt(int index) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_at))
|
||||
|
@ -445,7 +460,7 @@ CefMenuModel::MenuItemType CefMenuModelCToCpp::GetTypeAt(int index) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
int CefMenuModelCToCpp::GetGroupId(int command_id) {
|
||||
NO_SANITIZE("cfi-icall") int CefMenuModelCToCpp::GetGroupId(int command_id) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id))
|
||||
return 0;
|
||||
|
@ -459,7 +474,7 @@ int CefMenuModelCToCpp::GetGroupId(int command_id) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
int CefMenuModelCToCpp::GetGroupIdAt(int index) {
|
||||
NO_SANITIZE("cfi-icall") int CefMenuModelCToCpp::GetGroupIdAt(int index) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id_at))
|
||||
return 0;
|
||||
|
@ -473,6 +488,7 @@ int CefMenuModelCToCpp::GetGroupIdAt(int index) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetGroupId(int command_id, int group_id) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id))
|
||||
|
@ -487,6 +503,7 @@ bool CefMenuModelCToCpp::SetGroupId(int command_id, int group_id) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetGroupIdAt(int index, int group_id) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id_at))
|
||||
|
@ -501,6 +518,7 @@ bool CefMenuModelCToCpp::SetGroupIdAt(int index, int group_id) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefMenuModel> CefMenuModelCToCpp::GetSubMenu(int command_id) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_sub_menu))
|
||||
|
@ -515,6 +533,7 @@ CefRefPtr<CefMenuModel> CefMenuModelCToCpp::GetSubMenu(int command_id) {
|
|||
return CefMenuModelCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefMenuModel> CefMenuModelCToCpp::GetSubMenuAt(int index) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_sub_menu_at))
|
||||
|
@ -529,7 +548,7 @@ CefRefPtr<CefMenuModel> CefMenuModelCToCpp::GetSubMenuAt(int index) {
|
|||
return CefMenuModelCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
bool CefMenuModelCToCpp::IsVisible(int command_id) {
|
||||
NO_SANITIZE("cfi-icall") bool CefMenuModelCToCpp::IsVisible(int command_id) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible))
|
||||
return false;
|
||||
|
@ -543,7 +562,7 @@ bool CefMenuModelCToCpp::IsVisible(int command_id) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefMenuModelCToCpp::IsVisibleAt(int index) {
|
||||
NO_SANITIZE("cfi-icall") bool CefMenuModelCToCpp::IsVisibleAt(int index) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible_at))
|
||||
return false;
|
||||
|
@ -557,6 +576,7 @@ bool CefMenuModelCToCpp::IsVisibleAt(int index) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetVisible(int command_id, bool visible) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible))
|
||||
|
@ -571,6 +591,7 @@ bool CefMenuModelCToCpp::SetVisible(int command_id, bool visible) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetVisibleAt(int index, bool visible) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible_at))
|
||||
|
@ -585,7 +606,7 @@ bool CefMenuModelCToCpp::SetVisibleAt(int index, bool visible) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefMenuModelCToCpp::IsEnabled(int command_id) {
|
||||
NO_SANITIZE("cfi-icall") bool CefMenuModelCToCpp::IsEnabled(int command_id) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled))
|
||||
return false;
|
||||
|
@ -599,7 +620,7 @@ bool CefMenuModelCToCpp::IsEnabled(int command_id) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefMenuModelCToCpp::IsEnabledAt(int index) {
|
||||
NO_SANITIZE("cfi-icall") bool CefMenuModelCToCpp::IsEnabledAt(int index) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled_at))
|
||||
return false;
|
||||
|
@ -613,6 +634,7 @@ bool CefMenuModelCToCpp::IsEnabledAt(int index) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetEnabled(int command_id, bool enabled) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled))
|
||||
|
@ -627,6 +649,7 @@ bool CefMenuModelCToCpp::SetEnabled(int command_id, bool enabled) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetEnabledAt(int index, bool enabled) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled_at))
|
||||
|
@ -641,7 +664,7 @@ bool CefMenuModelCToCpp::SetEnabledAt(int index, bool enabled) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefMenuModelCToCpp::IsChecked(int command_id) {
|
||||
NO_SANITIZE("cfi-icall") bool CefMenuModelCToCpp::IsChecked(int command_id) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_checked))
|
||||
return false;
|
||||
|
@ -655,7 +678,7 @@ bool CefMenuModelCToCpp::IsChecked(int command_id) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefMenuModelCToCpp::IsCheckedAt(int index) {
|
||||
NO_SANITIZE("cfi-icall") bool CefMenuModelCToCpp::IsCheckedAt(int index) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_checked_at))
|
||||
return false;
|
||||
|
@ -669,6 +692,7 @@ bool CefMenuModelCToCpp::IsCheckedAt(int index) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetChecked(int command_id, bool checked) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_checked))
|
||||
|
@ -683,6 +707,7 @@ bool CefMenuModelCToCpp::SetChecked(int command_id, bool checked) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetCheckedAt(int index, bool checked) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_checked_at))
|
||||
|
@ -697,6 +722,7 @@ bool CefMenuModelCToCpp::SetCheckedAt(int index, bool checked) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::HasAccelerator(int command_id) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_accelerator))
|
||||
|
@ -711,7 +737,7 @@ bool CefMenuModelCToCpp::HasAccelerator(int command_id) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefMenuModelCToCpp::HasAcceleratorAt(int index) {
|
||||
NO_SANITIZE("cfi-icall") bool CefMenuModelCToCpp::HasAcceleratorAt(int index) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_accelerator_at))
|
||||
return false;
|
||||
|
@ -725,6 +751,7 @@ bool CefMenuModelCToCpp::HasAcceleratorAt(int index) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetAccelerator(int command_id,
|
||||
int key_code,
|
||||
bool shift_pressed,
|
||||
|
@ -744,6 +771,7 @@ bool CefMenuModelCToCpp::SetAccelerator(int command_id,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetAcceleratorAt(int index,
|
||||
int key_code,
|
||||
bool shift_pressed,
|
||||
|
@ -763,6 +791,7 @@ bool CefMenuModelCToCpp::SetAcceleratorAt(int index,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::RemoveAccelerator(int command_id) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, remove_accelerator))
|
||||
|
@ -777,6 +806,7 @@ bool CefMenuModelCToCpp::RemoveAccelerator(int command_id) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::RemoveAcceleratorAt(int index) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, remove_accelerator_at))
|
||||
|
@ -791,6 +821,7 @@ bool CefMenuModelCToCpp::RemoveAcceleratorAt(int index) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::GetAccelerator(int command_id,
|
||||
int& key_code,
|
||||
bool& shift_pressed,
|
||||
|
@ -825,6 +856,7 @@ bool CefMenuModelCToCpp::GetAccelerator(int command_id,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::GetAcceleratorAt(int index,
|
||||
int& key_code,
|
||||
bool& shift_pressed,
|
||||
|
@ -859,6 +891,7 @@ bool CefMenuModelCToCpp::GetAcceleratorAt(int index,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetColor(int command_id,
|
||||
cef_menu_color_type_t color_type,
|
||||
cef_color_t color) {
|
||||
|
@ -875,6 +908,7 @@ bool CefMenuModelCToCpp::SetColor(int command_id,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetColorAt(int index,
|
||||
cef_menu_color_type_t color_type,
|
||||
cef_color_t color) {
|
||||
|
@ -891,6 +925,7 @@ bool CefMenuModelCToCpp::SetColorAt(int index,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::GetColor(int command_id,
|
||||
cef_menu_color_type_t color_type,
|
||||
cef_color_t& color) {
|
||||
|
@ -907,6 +942,7 @@ bool CefMenuModelCToCpp::GetColor(int command_id,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::GetColorAt(int index,
|
||||
cef_menu_color_type_t color_type,
|
||||
cef_color_t& color) {
|
||||
|
@ -923,6 +959,7 @@ bool CefMenuModelCToCpp::GetColorAt(int index,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetFontList(int command_id,
|
||||
const CefString& font_list) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
|
@ -941,6 +978,7 @@ bool CefMenuModelCToCpp::SetFontList(int command_id,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelCToCpp::SetFontListAt(int index, const CefString& font_list) {
|
||||
cef_menu_model_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_font_list_at))
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=f26b8bb83e7b74dd3122eeb9bb8107bec99bbc50$
|
||||
// $hash=ef0342d66a995b4833fbf83785ea1e1936cb8d28$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/menu_model_delegate_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefMenuModelDelegateCToCpp::ExecuteCommand(
|
||||
CefRefPtr<CefMenuModel> menu_model,
|
||||
int command_id,
|
||||
|
@ -37,6 +38,7 @@ void CefMenuModelDelegateCToCpp::ExecuteCommand(
|
|||
command_id, event_flags);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefMenuModelDelegateCToCpp::MouseOutsideMenu(
|
||||
CefRefPtr<CefMenuModel> menu_model,
|
||||
const CefPoint& screen_point) {
|
||||
|
@ -56,6 +58,7 @@ void CefMenuModelDelegateCToCpp::MouseOutsideMenu(
|
|||
&screen_point);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefMenuModelDelegateCToCpp::UnhandledOpenSubmenu(
|
||||
CefRefPtr<CefMenuModel> menu_model,
|
||||
bool is_rtl) {
|
||||
|
@ -75,6 +78,7 @@ void CefMenuModelDelegateCToCpp::UnhandledOpenSubmenu(
|
|||
is_rtl);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefMenuModelDelegateCToCpp::UnhandledCloseSubmenu(
|
||||
CefRefPtr<CefMenuModel> menu_model,
|
||||
bool is_rtl) {
|
||||
|
@ -94,6 +98,7 @@ void CefMenuModelDelegateCToCpp::UnhandledCloseSubmenu(
|
|||
_struct, CefMenuModelCppToC::Wrap(menu_model), is_rtl);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefMenuModelDelegateCToCpp::MenuWillShow(
|
||||
CefRefPtr<CefMenuModel> menu_model) {
|
||||
cef_menu_model_delegate_t* _struct = GetStruct();
|
||||
|
@ -111,6 +116,7 @@ void CefMenuModelDelegateCToCpp::MenuWillShow(
|
|||
_struct->menu_will_show(_struct, CefMenuModelCppToC::Wrap(menu_model));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefMenuModelDelegateCToCpp::MenuClosed(
|
||||
CefRefPtr<CefMenuModel> menu_model) {
|
||||
cef_menu_model_delegate_t* _struct = GetStruct();
|
||||
|
@ -128,6 +134,7 @@ void CefMenuModelDelegateCToCpp::MenuClosed(
|
|||
_struct->menu_closed(_struct, CefMenuModelCppToC::Wrap(menu_model));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefMenuModelDelegateCToCpp::FormatLabel(CefRefPtr<CefMenuModel> menu_model,
|
||||
CefString& label) {
|
||||
cef_menu_model_delegate_t* _struct = GetStruct();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=9b4a8a1e45f1264df53c6ae0ac3153004372bf9d$
|
||||
// $hash=1cb6eeb5a43ef7c45a7ec8e781511ae0f1a1cbc4$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/navigation_entry_ctocpp.h"
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefNavigationEntryCToCpp::IsValid() {
|
||||
NO_SANITIZE("cfi-icall") bool CefNavigationEntryCToCpp::IsValid() {
|
||||
cef_navigation_entry_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
return false;
|
||||
|
@ -31,7 +31,7 @@ bool CefNavigationEntryCToCpp::IsValid() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
CefString CefNavigationEntryCToCpp::GetURL() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefNavigationEntryCToCpp::GetURL() {
|
||||
cef_navigation_entry_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_url))
|
||||
return CefString();
|
||||
|
@ -47,7 +47,7 @@ CefString CefNavigationEntryCToCpp::GetURL() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefNavigationEntryCToCpp::GetDisplayURL() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefNavigationEntryCToCpp::GetDisplayURL() {
|
||||
cef_navigation_entry_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_display_url))
|
||||
return CefString();
|
||||
|
@ -63,7 +63,7 @@ CefString CefNavigationEntryCToCpp::GetDisplayURL() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefNavigationEntryCToCpp::GetOriginalURL() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefNavigationEntryCToCpp::GetOriginalURL() {
|
||||
cef_navigation_entry_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_original_url))
|
||||
return CefString();
|
||||
|
@ -79,7 +79,7 @@ CefString CefNavigationEntryCToCpp::GetOriginalURL() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
CefString CefNavigationEntryCToCpp::GetTitle() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefNavigationEntryCToCpp::GetTitle() {
|
||||
cef_navigation_entry_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_title))
|
||||
return CefString();
|
||||
|
@ -95,6 +95,7 @@ CefString CefNavigationEntryCToCpp::GetTitle() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefNavigationEntry::TransitionType
|
||||
CefNavigationEntryCToCpp::GetTransitionType() {
|
||||
cef_navigation_entry_t* _struct = GetStruct();
|
||||
|
@ -110,7 +111,7 @@ CefNavigationEntryCToCpp::GetTransitionType() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
bool CefNavigationEntryCToCpp::HasPostData() {
|
||||
NO_SANITIZE("cfi-icall") bool CefNavigationEntryCToCpp::HasPostData() {
|
||||
cef_navigation_entry_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_post_data))
|
||||
return false;
|
||||
|
@ -124,7 +125,7 @@ bool CefNavigationEntryCToCpp::HasPostData() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
CefTime CefNavigationEntryCToCpp::GetCompletionTime() {
|
||||
NO_SANITIZE("cfi-icall") CefTime CefNavigationEntryCToCpp::GetCompletionTime() {
|
||||
cef_navigation_entry_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_completion_time))
|
||||
return CefTime();
|
||||
|
@ -138,7 +139,7 @@ CefTime CefNavigationEntryCToCpp::GetCompletionTime() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
int CefNavigationEntryCToCpp::GetHttpStatusCode() {
|
||||
NO_SANITIZE("cfi-icall") int CefNavigationEntryCToCpp::GetHttpStatusCode() {
|
||||
cef_navigation_entry_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_http_status_code))
|
||||
return 0;
|
||||
|
@ -152,6 +153,7 @@ int CefNavigationEntryCToCpp::GetHttpStatusCode() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefSSLStatus> CefNavigationEntryCToCpp::GetSSLStatus() {
|
||||
cef_navigation_entry_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_sslstatus))
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=f907bfcdd553d3fbc80ae71a00eb8068e0b56def$
|
||||
// $hash=2314a60f20f2f32ff28c0857ea4cef5203977b80$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/navigation_entry_visitor_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefNavigationEntryVisitorCToCpp::Visit(CefRefPtr<CefNavigationEntry> entry,
|
||||
bool current,
|
||||
int index,
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=501bed74c0102df17e0779d63ace939e082bb085$
|
||||
// $hash=4441f1255165e1ac0b3f0b5a373d06e8fed3e800$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/pdf_print_callback_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPdfPrintCallbackCToCpp::OnPdfPrintFinished(const CefString& path,
|
||||
bool ok) {
|
||||
cef_pdf_print_callback_t* _struct = GetStruct();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=1caa041e8504be1bcf7b644cbfbbd2a79d25d0bb$
|
||||
// $hash=f5900630acc5452d589dab602f97c832af220875$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/post_data_ctocpp.h"
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
CefRefPtr<CefPostData> CefPostData::Create() {
|
||||
NO_SANITIZE("cfi-icall") CefRefPtr<CefPostData> CefPostData::Create() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
|
@ -30,7 +30,7 @@ CefRefPtr<CefPostData> CefPostData::Create() {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefPostDataCToCpp::IsReadOnly() {
|
||||
NO_SANITIZE("cfi-icall") bool CefPostDataCToCpp::IsReadOnly() {
|
||||
cef_post_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_read_only))
|
||||
return false;
|
||||
|
@ -44,7 +44,7 @@ bool CefPostDataCToCpp::IsReadOnly() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefPostDataCToCpp::HasExcludedElements() {
|
||||
NO_SANITIZE("cfi-icall") bool CefPostDataCToCpp::HasExcludedElements() {
|
||||
cef_post_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_excluded_elements))
|
||||
return false;
|
||||
|
@ -58,7 +58,7 @@ bool CefPostDataCToCpp::HasExcludedElements() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
size_t CefPostDataCToCpp::GetElementCount() {
|
||||
NO_SANITIZE("cfi-icall") size_t CefPostDataCToCpp::GetElementCount() {
|
||||
cef_post_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_element_count))
|
||||
return 0;
|
||||
|
@ -72,6 +72,7 @@ size_t CefPostDataCToCpp::GetElementCount() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPostDataCToCpp::GetElements(ElementVector& elements) {
|
||||
cef_post_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_elements))
|
||||
|
@ -109,6 +110,7 @@ void CefPostDataCToCpp::GetElements(ElementVector& elements) {
|
|||
}
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefPostDataCToCpp::RemoveElement(CefRefPtr<CefPostDataElement> element) {
|
||||
cef_post_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, remove_element))
|
||||
|
@ -129,6 +131,7 @@ bool CefPostDataCToCpp::RemoveElement(CefRefPtr<CefPostDataElement> element) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefPostDataCToCpp::AddElement(CefRefPtr<CefPostDataElement> element) {
|
||||
cef_post_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, add_element))
|
||||
|
@ -149,7 +152,7 @@ bool CefPostDataCToCpp::AddElement(CefRefPtr<CefPostDataElement> element) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
void CefPostDataCToCpp::RemoveElements() {
|
||||
NO_SANITIZE("cfi-icall") void CefPostDataCToCpp::RemoveElements() {
|
||||
cef_post_data_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, remove_elements))
|
||||
return;
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=bfa801e5fcd4a03b10415183e671b648f08c7870$
|
||||
// $hash=90a6b9d077bbd7df7675b3898d64e3e164531cc3$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/post_data_element_ctocpp.h"
|
||||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefPostDataElement> CefPostDataElement::Create() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
@ -28,7 +29,7 @@ CefRefPtr<CefPostDataElement> CefPostDataElement::Create() {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefPostDataElementCToCpp::IsReadOnly() {
|
||||
NO_SANITIZE("cfi-icall") bool CefPostDataElementCToCpp::IsReadOnly() {
|
||||
cef_post_data_element_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_read_only))
|
||||
return false;
|
||||
|
@ -42,7 +43,7 @@ bool CefPostDataElementCToCpp::IsReadOnly() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
void CefPostDataElementCToCpp::SetToEmpty() {
|
||||
NO_SANITIZE("cfi-icall") void CefPostDataElementCToCpp::SetToEmpty() {
|
||||
cef_post_data_element_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_to_empty))
|
||||
return;
|
||||
|
@ -53,6 +54,7 @@ void CefPostDataElementCToCpp::SetToEmpty() {
|
|||
_struct->set_to_empty(_struct);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPostDataElementCToCpp::SetToFile(const CefString& fileName) {
|
||||
cef_post_data_element_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_to_file))
|
||||
|
@ -69,6 +71,7 @@ void CefPostDataElementCToCpp::SetToFile(const CefString& fileName) {
|
|||
_struct->set_to_file(_struct, fileName.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPostDataElementCToCpp::SetToBytes(size_t size, const void* bytes) {
|
||||
cef_post_data_element_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_to_bytes))
|
||||
|
@ -85,6 +88,7 @@ void CefPostDataElementCToCpp::SetToBytes(size_t size, const void* bytes) {
|
|||
_struct->set_to_bytes(_struct, size, bytes);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefPostDataElement::Type CefPostDataElementCToCpp::GetType() {
|
||||
cef_post_data_element_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type))
|
||||
|
@ -99,7 +103,7 @@ CefPostDataElement::Type CefPostDataElementCToCpp::GetType() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
CefString CefPostDataElementCToCpp::GetFile() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefPostDataElementCToCpp::GetFile() {
|
||||
cef_post_data_element_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_file))
|
||||
return CefString();
|
||||
|
@ -115,7 +119,7 @@ CefString CefPostDataElementCToCpp::GetFile() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
size_t CefPostDataElementCToCpp::GetBytesCount() {
|
||||
NO_SANITIZE("cfi-icall") size_t CefPostDataElementCToCpp::GetBytesCount() {
|
||||
cef_post_data_element_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bytes_count))
|
||||
return 0;
|
||||
|
@ -129,6 +133,7 @@ size_t CefPostDataElementCToCpp::GetBytesCount() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
size_t CefPostDataElementCToCpp::GetBytes(size_t size, void* bytes) {
|
||||
cef_post_data_element_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bytes))
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=b5571470d0f53b671bfc5c223e9e2239fb590801$
|
||||
// $hash=b26c4087b6dd78b137224ecbb7a17d01c8135ff0$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/print_dialog_callback_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPrintDialogCallbackCToCpp::Continue(
|
||||
CefRefPtr<CefPrintSettings> settings) {
|
||||
cef_print_dialog_callback_t* _struct = GetStruct();
|
||||
|
@ -34,7 +35,7 @@ void CefPrintDialogCallbackCToCpp::Continue(
|
|||
_struct->cont(_struct, CefPrintSettingsCToCpp::Unwrap(settings));
|
||||
}
|
||||
|
||||
void CefPrintDialogCallbackCToCpp::Cancel() {
|
||||
NO_SANITIZE("cfi-icall") void CefPrintDialogCallbackCToCpp::Cancel() {
|
||||
cef_print_dialog_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, cancel))
|
||||
return;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=9f5267dcfa30cfef42bde927cf746429be337094$
|
||||
// $hash=31eab8ed8d308359e239f5a648053e60ed5e437b$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/print_handler_ctocpp.h"
|
||||
|
@ -20,6 +20,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPrintHandlerCToCpp::OnPrintStart(CefRefPtr<CefBrowser> browser) {
|
||||
cef_print_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_print_start))
|
||||
|
@ -36,6 +37,7 @@ void CefPrintHandlerCToCpp::OnPrintStart(CefRefPtr<CefBrowser> browser) {
|
|||
_struct->on_print_start(_struct, CefBrowserCppToC::Wrap(browser));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPrintHandlerCToCpp::OnPrintSettings(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefPrintSettings> settings,
|
||||
|
@ -61,6 +63,7 @@ void CefPrintHandlerCToCpp::OnPrintSettings(
|
|||
get_defaults);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefPrintHandlerCToCpp::OnPrintDialog(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
bool has_selection,
|
||||
|
@ -89,6 +92,7 @@ bool CefPrintHandlerCToCpp::OnPrintDialog(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefPrintHandlerCToCpp::OnPrintJob(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
const CefString& document_name,
|
||||
|
@ -126,6 +130,7 @@ bool CefPrintHandlerCToCpp::OnPrintJob(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPrintHandlerCToCpp::OnPrintReset(CefRefPtr<CefBrowser> browser) {
|
||||
cef_print_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_print_reset))
|
||||
|
@ -142,6 +147,7 @@ void CefPrintHandlerCToCpp::OnPrintReset(CefRefPtr<CefBrowser> browser) {
|
|||
_struct->on_print_reset(_struct, CefBrowserCppToC::Wrap(browser));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefSize CefPrintHandlerCToCpp::GetPdfPaperSize(int device_units_per_inch) {
|
||||
cef_print_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_pdf_paper_size))
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=6bd570227988a1f36469ca22a64444dd1b0ee50f$
|
||||
// $hash=22669db306a272484b25efdc390bcf4d21c4b92a$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/print_job_callback_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
void CefPrintJobCallbackCToCpp::Continue() {
|
||||
NO_SANITIZE("cfi-icall") void CefPrintJobCallbackCToCpp::Continue() {
|
||||
cef_print_job_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, cont))
|
||||
return;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d7ce6a1e67a5d6ef72cb82c3df2400e6e60e58e8$
|
||||
// $hash=3f9d0022cdced6ba68884091e35efa10ebccf814$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/print_settings_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefPrintSettings> CefPrintSettings::Create() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
@ -29,7 +30,7 @@ CefRefPtr<CefPrintSettings> CefPrintSettings::Create() {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefPrintSettingsCToCpp::IsValid() {
|
||||
NO_SANITIZE("cfi-icall") bool CefPrintSettingsCToCpp::IsValid() {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
return false;
|
||||
|
@ -43,7 +44,7 @@ bool CefPrintSettingsCToCpp::IsValid() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefPrintSettingsCToCpp::IsReadOnly() {
|
||||
NO_SANITIZE("cfi-icall") bool CefPrintSettingsCToCpp::IsReadOnly() {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_read_only))
|
||||
return false;
|
||||
|
@ -57,6 +58,7 @@ bool CefPrintSettingsCToCpp::IsReadOnly() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefPrintSettings> CefPrintSettingsCToCpp::Copy() {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, copy))
|
||||
|
@ -71,6 +73,7 @@ CefRefPtr<CefPrintSettings> CefPrintSettingsCToCpp::Copy() {
|
|||
return CefPrintSettingsCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPrintSettingsCToCpp::SetOrientation(bool landscape) {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_orientation))
|
||||
|
@ -82,7 +85,7 @@ void CefPrintSettingsCToCpp::SetOrientation(bool landscape) {
|
|||
_struct->set_orientation(_struct, landscape);
|
||||
}
|
||||
|
||||
bool CefPrintSettingsCToCpp::IsLandscape() {
|
||||
NO_SANITIZE("cfi-icall") bool CefPrintSettingsCToCpp::IsLandscape() {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_landscape))
|
||||
return false;
|
||||
|
@ -96,6 +99,7 @@ bool CefPrintSettingsCToCpp::IsLandscape() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPrintSettingsCToCpp::SetPrinterPrintableArea(
|
||||
const CefSize& physical_size_device_units,
|
||||
const CefRect& printable_area_device_units,
|
||||
|
@ -112,6 +116,7 @@ void CefPrintSettingsCToCpp::SetPrinterPrintableArea(
|
|||
landscape_needs_flip);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPrintSettingsCToCpp::SetDeviceName(const CefString& name) {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_device_name))
|
||||
|
@ -125,7 +130,7 @@ void CefPrintSettingsCToCpp::SetDeviceName(const CefString& name) {
|
|||
_struct->set_device_name(_struct, name.GetStruct());
|
||||
}
|
||||
|
||||
CefString CefPrintSettingsCToCpp::GetDeviceName() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefPrintSettingsCToCpp::GetDeviceName() {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_device_name))
|
||||
return CefString();
|
||||
|
@ -141,7 +146,7 @@ CefString CefPrintSettingsCToCpp::GetDeviceName() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
void CefPrintSettingsCToCpp::SetDPI(int dpi) {
|
||||
NO_SANITIZE("cfi-icall") void CefPrintSettingsCToCpp::SetDPI(int dpi) {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_dpi))
|
||||
return;
|
||||
|
@ -152,7 +157,7 @@ void CefPrintSettingsCToCpp::SetDPI(int dpi) {
|
|||
_struct->set_dpi(_struct, dpi);
|
||||
}
|
||||
|
||||
int CefPrintSettingsCToCpp::GetDPI() {
|
||||
NO_SANITIZE("cfi-icall") int CefPrintSettingsCToCpp::GetDPI() {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_dpi))
|
||||
return 0;
|
||||
|
@ -166,6 +171,7 @@ int CefPrintSettingsCToCpp::GetDPI() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPrintSettingsCToCpp::SetPageRanges(const PageRangeList& ranges) {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_page_ranges))
|
||||
|
@ -194,7 +200,7 @@ void CefPrintSettingsCToCpp::SetPageRanges(const PageRangeList& ranges) {
|
|||
delete[] rangesList;
|
||||
}
|
||||
|
||||
size_t CefPrintSettingsCToCpp::GetPageRangesCount() {
|
||||
NO_SANITIZE("cfi-icall") size_t CefPrintSettingsCToCpp::GetPageRangesCount() {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_page_ranges_count))
|
||||
return 0;
|
||||
|
@ -208,6 +214,7 @@ size_t CefPrintSettingsCToCpp::GetPageRangesCount() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPrintSettingsCToCpp::GetPageRanges(PageRangeList& ranges) {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_page_ranges))
|
||||
|
@ -245,6 +252,7 @@ void CefPrintSettingsCToCpp::GetPageRanges(PageRangeList& ranges) {
|
|||
}
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPrintSettingsCToCpp::SetSelectionOnly(bool selection_only) {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_selection_only))
|
||||
|
@ -256,7 +264,7 @@ void CefPrintSettingsCToCpp::SetSelectionOnly(bool selection_only) {
|
|||
_struct->set_selection_only(_struct, selection_only);
|
||||
}
|
||||
|
||||
bool CefPrintSettingsCToCpp::IsSelectionOnly() {
|
||||
NO_SANITIZE("cfi-icall") bool CefPrintSettingsCToCpp::IsSelectionOnly() {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_selection_only))
|
||||
return false;
|
||||
|
@ -270,7 +278,7 @@ bool CefPrintSettingsCToCpp::IsSelectionOnly() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
void CefPrintSettingsCToCpp::SetCollate(bool collate) {
|
||||
NO_SANITIZE("cfi-icall") void CefPrintSettingsCToCpp::SetCollate(bool collate) {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_collate))
|
||||
return;
|
||||
|
@ -281,7 +289,7 @@ void CefPrintSettingsCToCpp::SetCollate(bool collate) {
|
|||
_struct->set_collate(_struct, collate);
|
||||
}
|
||||
|
||||
bool CefPrintSettingsCToCpp::WillCollate() {
|
||||
NO_SANITIZE("cfi-icall") bool CefPrintSettingsCToCpp::WillCollate() {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, will_collate))
|
||||
return false;
|
||||
|
@ -295,6 +303,7 @@ bool CefPrintSettingsCToCpp::WillCollate() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPrintSettingsCToCpp::SetColorModel(ColorModel model) {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_color_model))
|
||||
|
@ -306,6 +315,7 @@ void CefPrintSettingsCToCpp::SetColorModel(ColorModel model) {
|
|||
_struct->set_color_model(_struct, model);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefPrintSettings::ColorModel CefPrintSettingsCToCpp::GetColorModel() {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_color_model))
|
||||
|
@ -320,7 +330,7 @@ CefPrintSettings::ColorModel CefPrintSettingsCToCpp::GetColorModel() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
void CefPrintSettingsCToCpp::SetCopies(int copies) {
|
||||
NO_SANITIZE("cfi-icall") void CefPrintSettingsCToCpp::SetCopies(int copies) {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_copies))
|
||||
return;
|
||||
|
@ -331,7 +341,7 @@ void CefPrintSettingsCToCpp::SetCopies(int copies) {
|
|||
_struct->set_copies(_struct, copies);
|
||||
}
|
||||
|
||||
int CefPrintSettingsCToCpp::GetCopies() {
|
||||
NO_SANITIZE("cfi-icall") int CefPrintSettingsCToCpp::GetCopies() {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_copies))
|
||||
return 0;
|
||||
|
@ -345,6 +355,7 @@ int CefPrintSettingsCToCpp::GetCopies() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPrintSettingsCToCpp::SetDuplexMode(DuplexMode mode) {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_duplex_mode))
|
||||
|
@ -356,6 +367,7 @@ void CefPrintSettingsCToCpp::SetDuplexMode(DuplexMode mode) {
|
|||
_struct->set_duplex_mode(_struct, mode);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefPrintSettings::DuplexMode CefPrintSettingsCToCpp::GetDuplexMode() {
|
||||
cef_print_settings_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_duplex_mode))
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=56e84a88921d747ee35eecc55a0a37a44ba3876d$
|
||||
// $hash=ee14fb3335b8311f52e847a4e6430c5400dcd0b9$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/process_message_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefProcessMessage> CefProcessMessage::Create(const CefString& name) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
@ -34,7 +35,7 @@ CefRefPtr<CefProcessMessage> CefProcessMessage::Create(const CefString& name) {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefProcessMessageCToCpp::IsValid() {
|
||||
NO_SANITIZE("cfi-icall") bool CefProcessMessageCToCpp::IsValid() {
|
||||
cef_process_message_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
return false;
|
||||
|
@ -48,7 +49,7 @@ bool CefProcessMessageCToCpp::IsValid() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefProcessMessageCToCpp::IsReadOnly() {
|
||||
NO_SANITIZE("cfi-icall") bool CefProcessMessageCToCpp::IsReadOnly() {
|
||||
cef_process_message_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_read_only))
|
||||
return false;
|
||||
|
@ -62,6 +63,7 @@ bool CefProcessMessageCToCpp::IsReadOnly() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefProcessMessage> CefProcessMessageCToCpp::Copy() {
|
||||
cef_process_message_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, copy))
|
||||
|
@ -76,7 +78,7 @@ CefRefPtr<CefProcessMessage> CefProcessMessageCToCpp::Copy() {
|
|||
return CefProcessMessageCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
CefString CefProcessMessageCToCpp::GetName() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefProcessMessageCToCpp::GetName() {
|
||||
cef_process_message_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_name))
|
||||
return CefString();
|
||||
|
@ -92,6 +94,7 @@ CefString CefProcessMessageCToCpp::GetName() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefListValue> CefProcessMessageCToCpp::GetArgumentList() {
|
||||
cef_process_message_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_argument_list))
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=90e75388779c70a5e2e5366799a7772802def9ec$
|
||||
// $hash=c3f29dd98a52a1ce978bb30bb6a1680c9e1abca0$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/read_handler_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
size_t CefReadHandlerCToCpp::Read(void* ptr, size_t size, size_t n) {
|
||||
cef_read_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, read))
|
||||
|
@ -35,6 +36,7 @@ size_t CefReadHandlerCToCpp::Read(void* ptr, size_t size, size_t n) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefReadHandlerCToCpp::Seek(int64 offset, int whence) {
|
||||
cef_read_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, seek))
|
||||
|
@ -49,7 +51,7 @@ int CefReadHandlerCToCpp::Seek(int64 offset, int whence) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
int64 CefReadHandlerCToCpp::Tell() {
|
||||
NO_SANITIZE("cfi-icall") int64 CefReadHandlerCToCpp::Tell() {
|
||||
cef_read_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, tell))
|
||||
return 0;
|
||||
|
@ -63,7 +65,7 @@ int64 CefReadHandlerCToCpp::Tell() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
int CefReadHandlerCToCpp::Eof() {
|
||||
NO_SANITIZE("cfi-icall") int CefReadHandlerCToCpp::Eof() {
|
||||
cef_read_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, eof))
|
||||
return 0;
|
||||
|
@ -77,7 +79,7 @@ int CefReadHandlerCToCpp::Eof() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
bool CefReadHandlerCToCpp::MayBlock() {
|
||||
NO_SANITIZE("cfi-icall") bool CefReadHandlerCToCpp::MayBlock() {
|
||||
cef_read_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, may_block))
|
||||
return false;
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=e0a50abe45559eab768795831617ba066311d78a$
|
||||
// $hash=50c90e97ff3042a7539c56199784a0074976ff71$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/register_cdm_callback_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRegisterCdmCallbackCToCpp::OnCdmRegistrationComplete(
|
||||
cef_cdm_registration_error_t result,
|
||||
const CefString& error_message) {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=98ed2d6d147cc82b00f766b45e1b0e15e0f84393$
|
||||
// $hash=bd2800111c1f3f3a5c6107d0454a2b5fe67067b6$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/render_handler_ctocpp.h"
|
||||
|
@ -19,6 +19,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefAccessibilityHandler>
|
||||
CefRenderHandlerCToCpp::GetAccessibilityHandler() {
|
||||
cef_render_handler_t* _struct = GetStruct();
|
||||
|
@ -35,6 +36,7 @@ CefRenderHandlerCToCpp::GetAccessibilityHandler() {
|
|||
return CefAccessibilityHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRenderHandlerCToCpp::GetRootScreenRect(CefRefPtr<CefBrowser> browser,
|
||||
CefRect& rect) {
|
||||
cef_render_handler_t* _struct = GetStruct();
|
||||
|
@ -56,6 +58,7 @@ bool CefRenderHandlerCToCpp::GetRootScreenRect(CefRefPtr<CefBrowser> browser,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRenderHandlerCToCpp::GetViewRect(CefRefPtr<CefBrowser> browser,
|
||||
CefRect& rect) {
|
||||
cef_render_handler_t* _struct = GetStruct();
|
||||
|
@ -77,6 +80,7 @@ bool CefRenderHandlerCToCpp::GetViewRect(CefRefPtr<CefBrowser> browser,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRenderHandlerCToCpp::GetScreenPoint(CefRefPtr<CefBrowser> browser,
|
||||
int viewX,
|
||||
int viewY,
|
||||
|
@ -102,6 +106,7 @@ bool CefRenderHandlerCToCpp::GetScreenPoint(CefRefPtr<CefBrowser> browser,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRenderHandlerCToCpp::GetScreenInfo(CefRefPtr<CefBrowser> browser,
|
||||
CefScreenInfo& screen_info) {
|
||||
cef_render_handler_t* _struct = GetStruct();
|
||||
|
@ -123,6 +128,7 @@ bool CefRenderHandlerCToCpp::GetScreenInfo(CefRefPtr<CefBrowser> browser,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRenderHandlerCToCpp::OnPopupShow(CefRefPtr<CefBrowser> browser,
|
||||
bool show) {
|
||||
cef_render_handler_t* _struct = GetStruct();
|
||||
|
@ -140,6 +146,7 @@ void CefRenderHandlerCToCpp::OnPopupShow(CefRefPtr<CefBrowser> browser,
|
|||
_struct->on_popup_show(_struct, CefBrowserCppToC::Wrap(browser), show);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRenderHandlerCToCpp::OnPopupSize(CefRefPtr<CefBrowser> browser,
|
||||
const CefRect& rect) {
|
||||
cef_render_handler_t* _struct = GetStruct();
|
||||
|
@ -157,6 +164,7 @@ void CefRenderHandlerCToCpp::OnPopupSize(CefRefPtr<CefBrowser> browser,
|
|||
_struct->on_popup_size(_struct, CefBrowserCppToC::Wrap(browser), &rect);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRenderHandlerCToCpp::OnPaint(CefRefPtr<CefBrowser> browser,
|
||||
PaintElementType type,
|
||||
const RectList& dirtyRects,
|
||||
|
@ -200,6 +208,7 @@ void CefRenderHandlerCToCpp::OnPaint(CefRefPtr<CefBrowser> browser,
|
|||
delete[] dirtyRectsList;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRenderHandlerCToCpp::OnCursorChange(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefCursorHandle cursor,
|
||||
|
@ -221,6 +230,7 @@ void CefRenderHandlerCToCpp::OnCursorChange(
|
|||
type, &custom_cursor_info);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRenderHandlerCToCpp::StartDragging(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefDragData> drag_data,
|
||||
DragOperationsMask allowed_ops,
|
||||
|
@ -250,6 +260,7 @@ bool CefRenderHandlerCToCpp::StartDragging(CefRefPtr<CefBrowser> browser,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRenderHandlerCToCpp::UpdateDragCursor(CefRefPtr<CefBrowser> browser,
|
||||
DragOperation operation) {
|
||||
cef_render_handler_t* _struct = GetStruct();
|
||||
|
@ -268,6 +279,7 @@ void CefRenderHandlerCToCpp::UpdateDragCursor(CefRefPtr<CefBrowser> browser,
|
|||
operation);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRenderHandlerCToCpp::OnScrollOffsetChanged(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
double x,
|
||||
|
@ -288,6 +300,7 @@ void CefRenderHandlerCToCpp::OnScrollOffsetChanged(
|
|||
y);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRenderHandlerCToCpp::OnImeCompositionRangeChanged(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
const CefRange& selected_range,
|
||||
|
@ -326,6 +339,7 @@ void CefRenderHandlerCToCpp::OnImeCompositionRangeChanged(
|
|||
delete[] character_boundsList;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRenderHandlerCToCpp::OnTextSelectionChanged(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
const CefString& selected_text,
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=b1925c4cbcf5889e56f005d7f7255366e0daf073$
|
||||
// $hash=2aac87f7b6c15081a57dda5a56afa67dfca2e5af$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/render_process_handler_ctocpp.h"
|
||||
|
@ -25,6 +25,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRenderProcessHandlerCToCpp::OnRenderThreadCreated(
|
||||
CefRefPtr<CefListValue> extra_info) {
|
||||
cef_render_process_handler_t* _struct = GetStruct();
|
||||
|
@ -43,6 +44,7 @@ void CefRenderProcessHandlerCToCpp::OnRenderThreadCreated(
|
|||
CefListValueCppToC::Wrap(extra_info));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRenderProcessHandlerCToCpp::OnWebKitInitialized() {
|
||||
cef_render_process_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_web_kit_initialized))
|
||||
|
@ -54,6 +56,7 @@ void CefRenderProcessHandlerCToCpp::OnWebKitInitialized() {
|
|||
_struct->on_web_kit_initialized(_struct);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRenderProcessHandlerCToCpp::OnBrowserCreated(
|
||||
CefRefPtr<CefBrowser> browser) {
|
||||
cef_render_process_handler_t* _struct = GetStruct();
|
||||
|
@ -71,6 +74,7 @@ void CefRenderProcessHandlerCToCpp::OnBrowserCreated(
|
|||
_struct->on_browser_created(_struct, CefBrowserCppToC::Wrap(browser));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRenderProcessHandlerCToCpp::OnBrowserDestroyed(
|
||||
CefRefPtr<CefBrowser> browser) {
|
||||
cef_render_process_handler_t* _struct = GetStruct();
|
||||
|
@ -88,6 +92,7 @@ void CefRenderProcessHandlerCToCpp::OnBrowserDestroyed(
|
|||
_struct->on_browser_destroyed(_struct, CefBrowserCppToC::Wrap(browser));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefLoadHandler> CefRenderProcessHandlerCToCpp::GetLoadHandler() {
|
||||
cef_render_process_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_load_handler))
|
||||
|
@ -102,6 +107,7 @@ CefRefPtr<CefLoadHandler> CefRenderProcessHandlerCToCpp::GetLoadHandler() {
|
|||
return CefLoadHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRenderProcessHandlerCToCpp::OnContextCreated(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
@ -131,6 +137,7 @@ void CefRenderProcessHandlerCToCpp::OnContextCreated(
|
|||
CefV8ContextCppToC::Wrap(context));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRenderProcessHandlerCToCpp::OnContextReleased(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
@ -160,6 +167,7 @@ void CefRenderProcessHandlerCToCpp::OnContextReleased(
|
|||
CefV8ContextCppToC::Wrap(context));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRenderProcessHandlerCToCpp::OnUncaughtException(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
@ -200,6 +208,7 @@ void CefRenderProcessHandlerCToCpp::OnUncaughtException(
|
|||
CefV8StackTraceCppToC::Wrap(stackTrace));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRenderProcessHandlerCToCpp::OnFocusedNodeChanged(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
@ -222,6 +231,7 @@ void CefRenderProcessHandlerCToCpp::OnFocusedNodeChanged(
|
|||
CefDOMNodeCppToC::Wrap(node));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRenderProcessHandlerCToCpp::OnProcessMessageReceived(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefProcessId source_process,
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=2cdd2e82f2e3ee196519b91a6f6a914f97732cc2$
|
||||
// $hash=1d9f467076c3f94bd7b2f7a335467bfeed341849$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/request_callback_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
void CefRequestCallbackCToCpp::Continue(bool allow) {
|
||||
NO_SANITIZE("cfi-icall") void CefRequestCallbackCToCpp::Continue(bool allow) {
|
||||
cef_request_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, cont))
|
||||
return;
|
||||
|
@ -27,7 +27,7 @@ void CefRequestCallbackCToCpp::Continue(bool allow) {
|
|||
_struct->cont(_struct, allow);
|
||||
}
|
||||
|
||||
void CefRequestCallbackCToCpp::Cancel() {
|
||||
NO_SANITIZE("cfi-icall") void CefRequestCallbackCToCpp::Cancel() {
|
||||
cef_request_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, cancel))
|
||||
return;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=c7e886d96f6c07003d369a50298b952a4a01166c$
|
||||
// $hash=eace9813f29c5f67fedc6e577f03d6d5b4f331ae$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/request_context_ctocpp.h"
|
||||
|
@ -26,6 +26,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefRequestContext> CefRequestContext::GetGlobalContext() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
@ -36,6 +37,7 @@ CefRefPtr<CefRequestContext> CefRequestContext::GetGlobalContext() {
|
|||
return CefRequestContextCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefRequestContext> CefRequestContext::CreateContext(
|
||||
const CefRequestContextSettings& settings,
|
||||
CefRefPtr<CefRequestContextHandler> handler) {
|
||||
|
@ -51,6 +53,7 @@ CefRefPtr<CefRequestContext> CefRequestContext::CreateContext(
|
|||
return CefRequestContextCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefRequestContext> CefRequestContext::CreateContext(
|
||||
CefRefPtr<CefRequestContext> other,
|
||||
CefRefPtr<CefRequestContextHandler> handler) {
|
||||
|
@ -73,6 +76,7 @@ CefRefPtr<CefRequestContext> CefRequestContext::CreateContext(
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestContextCToCpp::IsSame(CefRefPtr<CefRequestContext> other) {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
|
@ -93,6 +97,7 @@ bool CefRequestContextCToCpp::IsSame(CefRefPtr<CefRequestContext> other) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestContextCToCpp::IsSharingWith(
|
||||
CefRefPtr<CefRequestContext> other) {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
|
@ -114,7 +119,7 @@ bool CefRequestContextCToCpp::IsSharingWith(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefRequestContextCToCpp::IsGlobal() {
|
||||
NO_SANITIZE("cfi-icall") bool CefRequestContextCToCpp::IsGlobal() {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_global))
|
||||
return false;
|
||||
|
@ -128,6 +133,7 @@ bool CefRequestContextCToCpp::IsGlobal() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefRequestContextHandler> CefRequestContextCToCpp::GetHandler() {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_handler))
|
||||
|
@ -142,7 +148,7 @@ CefRefPtr<CefRequestContextHandler> CefRequestContextCToCpp::GetHandler() {
|
|||
return CefRequestContextHandlerCppToC::Unwrap(_retval);
|
||||
}
|
||||
|
||||
CefString CefRequestContextCToCpp::GetCachePath() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefRequestContextCToCpp::GetCachePath() {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_cache_path))
|
||||
return CefString();
|
||||
|
@ -158,6 +164,7 @@ CefString CefRequestContextCToCpp::GetCachePath() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefCookieManager> CefRequestContextCToCpp::GetDefaultCookieManager(
|
||||
CefRefPtr<CefCompletionCallback> callback) {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
|
@ -176,6 +183,7 @@ CefRefPtr<CefCookieManager> CefRequestContextCToCpp::GetDefaultCookieManager(
|
|||
return CefCookieManagerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestContextCToCpp::RegisterSchemeHandlerFactory(
|
||||
const CefString& scheme_name,
|
||||
const CefString& domain_name,
|
||||
|
@ -201,6 +209,7 @@ bool CefRequestContextCToCpp::RegisterSchemeHandlerFactory(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestContextCToCpp::ClearSchemeHandlerFactories() {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, clear_scheme_handler_factories))
|
||||
|
@ -215,6 +224,7 @@ bool CefRequestContextCToCpp::ClearSchemeHandlerFactories() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestContextCToCpp::PurgePluginListCache(bool reload_pages) {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, purge_plugin_list_cache))
|
||||
|
@ -226,6 +236,7 @@ void CefRequestContextCToCpp::PurgePluginListCache(bool reload_pages) {
|
|||
_struct->purge_plugin_list_cache(_struct, reload_pages);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestContextCToCpp::HasPreference(const CefString& name) {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_preference))
|
||||
|
@ -245,6 +256,7 @@ bool CefRequestContextCToCpp::HasPreference(const CefString& name) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefValue> CefRequestContextCToCpp::GetPreference(
|
||||
const CefString& name) {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
|
@ -265,6 +277,7 @@ CefRefPtr<CefValue> CefRequestContextCToCpp::GetPreference(
|
|||
return CefValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefDictionaryValue> CefRequestContextCToCpp::GetAllPreferences(
|
||||
bool include_defaults) {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
|
@ -281,6 +294,7 @@ CefRefPtr<CefDictionaryValue> CefRequestContextCToCpp::GetAllPreferences(
|
|||
return CefDictionaryValueCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestContextCToCpp::CanSetPreference(const CefString& name) {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, can_set_preference))
|
||||
|
@ -300,6 +314,7 @@ bool CefRequestContextCToCpp::CanSetPreference(const CefString& name) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestContextCToCpp::SetPreference(const CefString& name,
|
||||
CefRefPtr<CefValue> value,
|
||||
CefString& error) {
|
||||
|
@ -324,6 +339,7 @@ bool CefRequestContextCToCpp::SetPreference(const CefString& name,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestContextCToCpp::ClearCertificateExceptions(
|
||||
CefRefPtr<CefCompletionCallback> callback) {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
|
@ -339,6 +355,7 @@ void CefRequestContextCToCpp::ClearCertificateExceptions(
|
|||
_struct, CefCompletionCallbackCppToC::Wrap(callback));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestContextCToCpp::CloseAllConnections(
|
||||
CefRefPtr<CefCompletionCallback> callback) {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
|
@ -354,6 +371,7 @@ void CefRequestContextCToCpp::CloseAllConnections(
|
|||
CefCompletionCallbackCppToC::Wrap(callback));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestContextCToCpp::ResolveHost(
|
||||
const CefString& origin,
|
||||
CefRefPtr<CefResolveCallback> callback) {
|
||||
|
@ -377,6 +395,7 @@ void CefRequestContextCToCpp::ResolveHost(
|
|||
CefResolveCallbackCppToC::Wrap(callback));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
cef_errorcode_t CefRequestContextCToCpp::ResolveHostCached(
|
||||
const CefString& origin,
|
||||
std::vector<CefString>& resolved_ips) {
|
||||
|
@ -412,6 +431,7 @@ cef_errorcode_t CefRequestContextCToCpp::ResolveHostCached(
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestContextCToCpp::LoadExtension(
|
||||
const CefString& root_directory,
|
||||
CefRefPtr<CefDictionaryValue> manifest,
|
||||
|
@ -434,6 +454,7 @@ void CefRequestContextCToCpp::LoadExtension(
|
|||
CefExtensionHandlerCppToC::Wrap(handler));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestContextCToCpp::DidLoadExtension(const CefString& extension_id) {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, did_load_extension))
|
||||
|
@ -453,6 +474,7 @@ bool CefRequestContextCToCpp::DidLoadExtension(const CefString& extension_id) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestContextCToCpp::HasExtension(const CefString& extension_id) {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_extension))
|
||||
|
@ -472,6 +494,7 @@ bool CefRequestContextCToCpp::HasExtension(const CefString& extension_id) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestContextCToCpp::GetExtensions(
|
||||
std::vector<CefString>& extension_ids) {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
|
@ -500,6 +523,7 @@ bool CefRequestContextCToCpp::GetExtensions(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefExtension> CefRequestContextCToCpp::GetExtension(
|
||||
const CefString& extension_id) {
|
||||
cef_request_context_t* _struct = GetStruct();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=bb8317bc51bc87ad50c0c1dece45c78fdc129eef$
|
||||
// $hash=4ed8138ad069c492978e1a7901fd8dcfed59f886$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/request_context_handler_ctocpp.h"
|
||||
|
@ -19,6 +19,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestContextHandlerCToCpp::OnRequestContextInitialized(
|
||||
CefRefPtr<CefRequestContext> request_context) {
|
||||
cef_request_context_handler_t* _struct = GetStruct();
|
||||
|
@ -37,6 +38,7 @@ void CefRequestContextHandlerCToCpp::OnRequestContextInitialized(
|
|||
_struct, CefRequestContextCppToC::Wrap(request_context));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefCookieManager> CefRequestContextHandlerCToCpp::GetCookieManager() {
|
||||
cef_request_context_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_cookie_manager))
|
||||
|
@ -51,6 +53,7 @@ CefRefPtr<CefCookieManager> CefRequestContextHandlerCToCpp::GetCookieManager() {
|
|||
return CefCookieManagerCppToC::Unwrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestContextHandlerCToCpp::OnBeforePluginLoad(
|
||||
const CefString& mime_type,
|
||||
const CefString& plugin_url,
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=f16a4923704782b50416177bc4d70878bce64065$
|
||||
// $hash=4945c69e46fedbdc808fa279492c3dbc5f100e97$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/request_ctocpp.h"
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
CefRefPtr<CefRequest> CefRequest::Create() {
|
||||
NO_SANITIZE("cfi-icall") CefRefPtr<CefRequest> CefRequest::Create() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
|
@ -30,7 +30,7 @@ CefRefPtr<CefRequest> CefRequest::Create() {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefRequestCToCpp::IsReadOnly() {
|
||||
NO_SANITIZE("cfi-icall") bool CefRequestCToCpp::IsReadOnly() {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_read_only))
|
||||
return false;
|
||||
|
@ -44,7 +44,7 @@ bool CefRequestCToCpp::IsReadOnly() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
CefString CefRequestCToCpp::GetURL() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefRequestCToCpp::GetURL() {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_url))
|
||||
return CefString();
|
||||
|
@ -60,7 +60,7 @@ CefString CefRequestCToCpp::GetURL() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
void CefRequestCToCpp::SetURL(const CefString& url) {
|
||||
NO_SANITIZE("cfi-icall") void CefRequestCToCpp::SetURL(const CefString& url) {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_url))
|
||||
return;
|
||||
|
@ -76,7 +76,7 @@ void CefRequestCToCpp::SetURL(const CefString& url) {
|
|||
_struct->set_url(_struct, url.GetStruct());
|
||||
}
|
||||
|
||||
CefString CefRequestCToCpp::GetMethod() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefRequestCToCpp::GetMethod() {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_method))
|
||||
return CefString();
|
||||
|
@ -92,6 +92,7 @@ CefString CefRequestCToCpp::GetMethod() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestCToCpp::SetMethod(const CefString& method) {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_method))
|
||||
|
@ -108,6 +109,7 @@ void CefRequestCToCpp::SetMethod(const CefString& method) {
|
|||
_struct->set_method(_struct, method.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestCToCpp::SetReferrer(const CefString& referrer_url,
|
||||
ReferrerPolicy policy) {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
|
@ -125,7 +127,7 @@ void CefRequestCToCpp::SetReferrer(const CefString& referrer_url,
|
|||
_struct->set_referrer(_struct, referrer_url.GetStruct(), policy);
|
||||
}
|
||||
|
||||
CefString CefRequestCToCpp::GetReferrerURL() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefRequestCToCpp::GetReferrerURL() {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_referrer_url))
|
||||
return CefString();
|
||||
|
@ -141,6 +143,7 @@ CefString CefRequestCToCpp::GetReferrerURL() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRequest::ReferrerPolicy CefRequestCToCpp::GetReferrerPolicy() {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_referrer_policy))
|
||||
|
@ -155,6 +158,7 @@ CefRequest::ReferrerPolicy CefRequestCToCpp::GetReferrerPolicy() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefPostData> CefRequestCToCpp::GetPostData() {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_post_data))
|
||||
|
@ -169,6 +173,7 @@ CefRefPtr<CefPostData> CefRequestCToCpp::GetPostData() {
|
|||
return CefPostDataCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestCToCpp::SetPostData(CefRefPtr<CefPostData> postData) {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_post_data))
|
||||
|
@ -185,6 +190,7 @@ void CefRequestCToCpp::SetPostData(CefRefPtr<CefPostData> postData) {
|
|||
_struct->set_post_data(_struct, CefPostDataCToCpp::Unwrap(postData));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestCToCpp::GetHeaderMap(HeaderMap& headerMap) {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_header_map))
|
||||
|
@ -209,6 +215,7 @@ void CefRequestCToCpp::GetHeaderMap(HeaderMap& headerMap) {
|
|||
}
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestCToCpp::SetHeaderMap(const HeaderMap& headerMap) {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_header_map))
|
||||
|
@ -230,6 +237,7 @@ void CefRequestCToCpp::SetHeaderMap(const HeaderMap& headerMap) {
|
|||
cef_string_multimap_free(headerMapMultimap);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestCToCpp::Set(const CefString& url,
|
||||
const CefString& method,
|
||||
CefRefPtr<CefPostData> postData,
|
||||
|
@ -265,7 +273,7 @@ void CefRequestCToCpp::Set(const CefString& url,
|
|||
cef_string_multimap_free(headerMapMultimap);
|
||||
}
|
||||
|
||||
int CefRequestCToCpp::GetFlags() {
|
||||
NO_SANITIZE("cfi-icall") int CefRequestCToCpp::GetFlags() {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_flags))
|
||||
return UR_FLAG_NONE;
|
||||
|
@ -279,7 +287,7 @@ int CefRequestCToCpp::GetFlags() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
void CefRequestCToCpp::SetFlags(int flags) {
|
||||
NO_SANITIZE("cfi-icall") void CefRequestCToCpp::SetFlags(int flags) {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_flags))
|
||||
return;
|
||||
|
@ -290,7 +298,7 @@ void CefRequestCToCpp::SetFlags(int flags) {
|
|||
_struct->set_flags(_struct, flags);
|
||||
}
|
||||
|
||||
CefString CefRequestCToCpp::GetFirstPartyForCookies() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefRequestCToCpp::GetFirstPartyForCookies() {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_first_party_for_cookies))
|
||||
return CefString();
|
||||
|
@ -306,6 +314,7 @@ CefString CefRequestCToCpp::GetFirstPartyForCookies() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestCToCpp::SetFirstPartyForCookies(const CefString& url) {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_first_party_for_cookies))
|
||||
|
@ -322,6 +331,7 @@ void CefRequestCToCpp::SetFirstPartyForCookies(const CefString& url) {
|
|||
_struct->set_first_party_for_cookies(_struct, url.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRequest::ResourceType CefRequestCToCpp::GetResourceType() {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_resource_type))
|
||||
|
@ -336,6 +346,7 @@ CefRequest::ResourceType CefRequestCToCpp::GetResourceType() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRequest::TransitionType CefRequestCToCpp::GetTransitionType() {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_transition_type))
|
||||
|
@ -350,7 +361,7 @@ CefRequest::TransitionType CefRequestCToCpp::GetTransitionType() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
uint64 CefRequestCToCpp::GetIdentifier() {
|
||||
NO_SANITIZE("cfi-icall") uint64 CefRequestCToCpp::GetIdentifier() {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_identifier))
|
||||
return 0;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=83e35477036fe71704286b8089535e8787edf2c3$
|
||||
// $hash=f80504de9c152a491b0cff8ea6a48b57324c3a89$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/request_handler_ctocpp.h"
|
||||
|
@ -27,6 +27,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestHandlerCToCpp::OnBeforeBrowse(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
CefRefPtr<CefRequest> request,
|
||||
|
@ -60,6 +61,7 @@ bool CefRequestHandlerCToCpp::OnBeforeBrowse(CefRefPtr<CefBrowser> browser,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestHandlerCToCpp::OnOpenURLFromTab(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
@ -94,6 +96,7 @@ bool CefRequestHandlerCToCpp::OnOpenURLFromTab(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRequestHandler::ReturnValue CefRequestHandlerCToCpp::OnBeforeResourceLoad(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
@ -132,6 +135,7 @@ CefRequestHandler::ReturnValue CefRequestHandlerCToCpp::OnBeforeResourceLoad(
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefResourceHandler> CefRequestHandlerCToCpp::GetResourceHandler(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
@ -164,6 +168,7 @@ CefRefPtr<CefResourceHandler> CefRequestHandlerCToCpp::GetResourceHandler(
|
|||
return CefResourceHandlerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestHandlerCToCpp::OnResourceRedirect(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
@ -200,6 +205,7 @@ void CefRequestHandlerCToCpp::OnResourceRedirect(
|
|||
new_url.GetWritableStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestHandlerCToCpp::OnResourceResponse(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
@ -237,6 +243,7 @@ bool CefRequestHandlerCToCpp::OnResourceResponse(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefResponseFilter> CefRequestHandlerCToCpp::GetResourceResponseFilter(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
@ -274,6 +281,7 @@ CefRefPtr<CefResponseFilter> CefRequestHandlerCToCpp::GetResourceResponseFilter(
|
|||
return CefResponseFilterCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestHandlerCToCpp::OnResourceLoadComplete(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
@ -311,6 +319,7 @@ void CefRequestHandlerCToCpp::OnResourceLoadComplete(
|
|||
status, received_content_length);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestHandlerCToCpp::GetAuthCredentials(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
@ -354,6 +363,7 @@ bool CefRequestHandlerCToCpp::GetAuthCredentials(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestHandlerCToCpp::CanGetCookies(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
CefRefPtr<CefRequest> request) {
|
||||
|
@ -385,6 +395,7 @@ bool CefRequestHandlerCToCpp::CanGetCookies(CefRefPtr<CefBrowser> browser,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestHandlerCToCpp::CanSetCookie(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
CefRefPtr<CefRequest> request,
|
||||
|
@ -417,6 +428,7 @@ bool CefRequestHandlerCToCpp::CanSetCookie(CefRefPtr<CefBrowser> browser,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestHandlerCToCpp::OnQuotaRequest(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
const CefString& origin_url,
|
||||
|
@ -450,6 +462,7 @@ bool CefRequestHandlerCToCpp::OnQuotaRequest(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestHandlerCToCpp::OnProtocolExecution(CefRefPtr<CefBrowser> browser,
|
||||
const CefString& url,
|
||||
bool& allow_os_execution) {
|
||||
|
@ -479,6 +492,7 @@ void CefRequestHandlerCToCpp::OnProtocolExecution(CefRefPtr<CefBrowser> browser,
|
|||
allow_os_execution = allow_os_executionInt ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestHandlerCToCpp::OnCertificateError(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
cef_errorcode_t cert_error,
|
||||
|
@ -518,6 +532,7 @@ bool CefRequestHandlerCToCpp::OnCertificateError(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefRequestHandlerCToCpp::OnSelectClientCertificate(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
bool isProxy,
|
||||
|
@ -571,6 +586,7 @@ bool CefRequestHandlerCToCpp::OnSelectClientCertificate(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestHandlerCToCpp::OnPluginCrashed(CefRefPtr<CefBrowser> browser,
|
||||
const CefString& plugin_path) {
|
||||
cef_request_handler_t* _struct = GetStruct();
|
||||
|
@ -593,6 +609,7 @@ void CefRequestHandlerCToCpp::OnPluginCrashed(CefRefPtr<CefBrowser> browser,
|
|||
plugin_path.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestHandlerCToCpp::OnRenderViewReady(CefRefPtr<CefBrowser> browser) {
|
||||
cef_request_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_render_view_ready))
|
||||
|
@ -609,6 +626,7 @@ void CefRequestHandlerCToCpp::OnRenderViewReady(CefRefPtr<CefBrowser> browser) {
|
|||
_struct->on_render_view_ready(_struct, CefBrowserCppToC::Wrap(browser));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRequestHandlerCToCpp::OnRenderProcessTerminated(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
TerminationStatus status) {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d79db4777effbb4b82dbf171458594228868d702$
|
||||
// $hash=d8dad2efcfeef33de2f54da7c72dccea1aa72993$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/resolve_callback_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefResolveCallbackCToCpp::OnResolveCompleted(
|
||||
cef_errorcode_t result,
|
||||
const std::vector<CefString>& resolved_ips) {
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=87e7cb4c62c701e2ce3f967e1938f01a1f9d04cc$
|
||||
// $hash=5e2fe6d1208791d8cbbc300a902f74ea273ea881$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/resource_bundle_ctocpp.h"
|
||||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefResourceBundle> CefResourceBundle::GetGlobal() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
@ -28,6 +29,7 @@ CefRefPtr<CefResourceBundle> CefResourceBundle::GetGlobal() {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefString CefResourceBundleCToCpp::GetLocalizedString(int string_id) {
|
||||
cef_resource_bundle_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_localized_string))
|
||||
|
@ -45,6 +47,7 @@ CefString CefResourceBundleCToCpp::GetLocalizedString(int string_id) {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefResourceBundleCToCpp::GetDataResource(int resource_id,
|
||||
void*& data,
|
||||
size_t& data_size) {
|
||||
|
@ -62,6 +65,7 @@ bool CefResourceBundleCToCpp::GetDataResource(int resource_id,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefResourceBundleCToCpp::GetDataResourceForScale(int resource_id,
|
||||
ScaleFactor scale_factor,
|
||||
void*& data,
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=32223c03c7acdb953fc9a0fc7a2523c8bfb4a4af$
|
||||
// $hash=12107ff56a34277a6b975365ed671e1a2eb2e8aa$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/resource_bundle_handler_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefResourceBundleHandlerCToCpp::GetLocalizedString(int string_id,
|
||||
CefString& string) {
|
||||
cef_resource_bundle_handler_t* _struct = GetStruct();
|
||||
|
@ -32,6 +33,7 @@ bool CefResourceBundleHandlerCToCpp::GetLocalizedString(int string_id,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefResourceBundleHandlerCToCpp::GetDataResource(int resource_id,
|
||||
void*& data,
|
||||
size_t& data_size) {
|
||||
|
@ -49,6 +51,7 @@ bool CefResourceBundleHandlerCToCpp::GetDataResource(int resource_id,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefResourceBundleHandlerCToCpp::GetDataResourceForScale(
|
||||
int resource_id,
|
||||
ScaleFactor scale_factor,
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=bc492627fb2d11c0ca259abb29c5333a3c6282e0$
|
||||
// $hash=81241c8f03a410b848372ec11acc8ceccc96f62e$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/resource_handler_ctocpp.h"
|
||||
|
@ -19,6 +19,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefResourceHandlerCToCpp::ProcessRequest(CefRefPtr<CefRequest> request,
|
||||
CefRefPtr<CefCallback> callback) {
|
||||
cef_resource_handler_t* _struct = GetStruct();
|
||||
|
@ -45,6 +46,7 @@ bool CefResourceHandlerCToCpp::ProcessRequest(CefRefPtr<CefRequest> request,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefResourceHandlerCToCpp::GetResponseHeaders(
|
||||
CefRefPtr<CefResponse> response,
|
||||
int64& response_length,
|
||||
|
@ -66,6 +68,7 @@ void CefResourceHandlerCToCpp::GetResponseHeaders(
|
|||
redirectUrl.GetWritableStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefResourceHandlerCToCpp::ReadResponse(void* data_out,
|
||||
int bytes_to_read,
|
||||
int& bytes_read,
|
||||
|
@ -94,6 +97,7 @@ bool CefResourceHandlerCToCpp::ReadResponse(void* data_out,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefResourceHandlerCToCpp::CanGetCookie(const CefCookie& cookie) {
|
||||
cef_resource_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, can_get_cookie))
|
||||
|
@ -108,6 +112,7 @@ bool CefResourceHandlerCToCpp::CanGetCookie(const CefCookie& cookie) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefResourceHandlerCToCpp::CanSetCookie(const CefCookie& cookie) {
|
||||
cef_resource_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, can_set_cookie))
|
||||
|
@ -122,7 +127,7 @@ bool CefResourceHandlerCToCpp::CanSetCookie(const CefCookie& cookie) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
void CefResourceHandlerCToCpp::Cancel() {
|
||||
NO_SANITIZE("cfi-icall") void CefResourceHandlerCToCpp::Cancel() {
|
||||
cef_resource_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, cancel))
|
||||
return;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=fbfca8a1320ab81bda709202462543a658ed886d$
|
||||
// $hash=9153daf36af452c5006ee702e9b51ce32f7240d9$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/response_ctocpp.h"
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
CefRefPtr<CefResponse> CefResponse::Create() {
|
||||
NO_SANITIZE("cfi-icall") CefRefPtr<CefResponse> CefResponse::Create() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
|
@ -29,7 +29,7 @@ CefRefPtr<CefResponse> CefResponse::Create() {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefResponseCToCpp::IsReadOnly() {
|
||||
NO_SANITIZE("cfi-icall") bool CefResponseCToCpp::IsReadOnly() {
|
||||
cef_response_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_read_only))
|
||||
return false;
|
||||
|
@ -43,7 +43,7 @@ bool CefResponseCToCpp::IsReadOnly() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
cef_errorcode_t CefResponseCToCpp::GetError() {
|
||||
NO_SANITIZE("cfi-icall") cef_errorcode_t CefResponseCToCpp::GetError() {
|
||||
cef_response_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_error))
|
||||
return ERR_NONE;
|
||||
|
@ -57,6 +57,7 @@ cef_errorcode_t CefResponseCToCpp::GetError() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefResponseCToCpp::SetError(cef_errorcode_t error) {
|
||||
cef_response_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_error))
|
||||
|
@ -68,7 +69,7 @@ void CefResponseCToCpp::SetError(cef_errorcode_t error) {
|
|||
_struct->set_error(_struct, error);
|
||||
}
|
||||
|
||||
int CefResponseCToCpp::GetStatus() {
|
||||
NO_SANITIZE("cfi-icall") int CefResponseCToCpp::GetStatus() {
|
||||
cef_response_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_status))
|
||||
return 0;
|
||||
|
@ -82,7 +83,7 @@ int CefResponseCToCpp::GetStatus() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
void CefResponseCToCpp::SetStatus(int status) {
|
||||
NO_SANITIZE("cfi-icall") void CefResponseCToCpp::SetStatus(int status) {
|
||||
cef_response_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_status))
|
||||
return;
|
||||
|
@ -93,7 +94,7 @@ void CefResponseCToCpp::SetStatus(int status) {
|
|||
_struct->set_status(_struct, status);
|
||||
}
|
||||
|
||||
CefString CefResponseCToCpp::GetStatusText() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefResponseCToCpp::GetStatusText() {
|
||||
cef_response_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_status_text))
|
||||
return CefString();
|
||||
|
@ -109,6 +110,7 @@ CefString CefResponseCToCpp::GetStatusText() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefResponseCToCpp::SetStatusText(const CefString& statusText) {
|
||||
cef_response_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_status_text))
|
||||
|
@ -125,7 +127,7 @@ void CefResponseCToCpp::SetStatusText(const CefString& statusText) {
|
|||
_struct->set_status_text(_struct, statusText.GetStruct());
|
||||
}
|
||||
|
||||
CefString CefResponseCToCpp::GetMimeType() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefResponseCToCpp::GetMimeType() {
|
||||
cef_response_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_mime_type))
|
||||
return CefString();
|
||||
|
@ -141,6 +143,7 @@ CefString CefResponseCToCpp::GetMimeType() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefResponseCToCpp::SetMimeType(const CefString& mimeType) {
|
||||
cef_response_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_mime_type))
|
||||
|
@ -157,6 +160,7 @@ void CefResponseCToCpp::SetMimeType(const CefString& mimeType) {
|
|||
_struct->set_mime_type(_struct, mimeType.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefString CefResponseCToCpp::GetHeader(const CefString& name) {
|
||||
cef_response_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_header))
|
||||
|
@ -179,6 +183,7 @@ CefString CefResponseCToCpp::GetHeader(const CefString& name) {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefResponseCToCpp::GetHeaderMap(HeaderMap& headerMap) {
|
||||
cef_response_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_header_map))
|
||||
|
@ -203,6 +208,7 @@ void CefResponseCToCpp::GetHeaderMap(HeaderMap& headerMap) {
|
|||
}
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefResponseCToCpp::SetHeaderMap(const HeaderMap& headerMap) {
|
||||
cef_response_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_header_map))
|
||||
|
@ -224,7 +230,7 @@ void CefResponseCToCpp::SetHeaderMap(const HeaderMap& headerMap) {
|
|||
cef_string_multimap_free(headerMapMultimap);
|
||||
}
|
||||
|
||||
CefString CefResponseCToCpp::GetURL() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefResponseCToCpp::GetURL() {
|
||||
cef_response_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_url))
|
||||
return CefString();
|
||||
|
@ -240,7 +246,7 @@ CefString CefResponseCToCpp::GetURL() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
void CefResponseCToCpp::SetURL(const CefString& url) {
|
||||
NO_SANITIZE("cfi-icall") void CefResponseCToCpp::SetURL(const CefString& url) {
|
||||
cef_response_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_url))
|
||||
return;
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=9a7519986c13a01f7ac10fd56027278967b886f4$
|
||||
// $hash=14df1b4e62bc8d726d2d2b2546a1a9ce944beed3$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/response_filter_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefResponseFilterCToCpp::InitFilter() {
|
||||
NO_SANITIZE("cfi-icall") bool CefResponseFilterCToCpp::InitFilter() {
|
||||
cef_response_filter_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, init_filter))
|
||||
return false;
|
||||
|
@ -30,6 +30,7 @@ bool CefResponseFilterCToCpp::InitFilter() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefResponseFilter::FilterStatus CefResponseFilterCToCpp::Filter(
|
||||
void* data_in,
|
||||
size_t data_in_size,
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=ac017bad8a3c8b4e516b8f19eda347fda5ecc9fd$
|
||||
// $hash=f723213856f3ee2ad95573b138076cce5b8f9aae$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/run_context_menu_callback_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRunContextMenuCallbackCToCpp::Continue(int command_id,
|
||||
EventFlags event_flags) {
|
||||
cef_run_context_menu_callback_t* _struct = GetStruct();
|
||||
|
@ -28,7 +29,7 @@ void CefRunContextMenuCallbackCToCpp::Continue(int command_id,
|
|||
_struct->cont(_struct, command_id, event_flags);
|
||||
}
|
||||
|
||||
void CefRunContextMenuCallbackCToCpp::Cancel() {
|
||||
NO_SANITIZE("cfi-icall") void CefRunContextMenuCallbackCToCpp::Cancel() {
|
||||
cef_run_context_menu_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, cancel))
|
||||
return;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=f2add6b014acc85c5e0626a86b596fbe08d69348$
|
||||
// $hash=3ef21896ed5ba3e067ec9023865be7f2030934b6$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/run_file_dialog_callback_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefRunFileDialogCallbackCToCpp::OnFileDialogDismissed(
|
||||
int selected_accept_filter,
|
||||
const std::vector<CefString>& file_paths) {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=b6fa77d00fb05e4523c36a9fdf87caa60337feba$
|
||||
// $hash=498d2e99a8b8047387c9a131a7e38c6659ab7cd5$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/scheme_handler_factory_ctocpp.h"
|
||||
|
@ -20,6 +20,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefResourceHandler> CefSchemeHandlerFactoryCToCpp::Create(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=1eb5ac5966df1c081f6c2be44272f5dee1c55cfc$
|
||||
// $hash=f44c706c53363ba0c2657a0fcd8a2b50bb37ccd7$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/scheme_registrar_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefSchemeRegistrarCToCpp::AddCustomScheme(const CefString& scheme_name,
|
||||
bool is_standard,
|
||||
bool is_local,
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=c0bf236fbeef704b6b457df707726714a715a935$
|
||||
// $hash=110ce393b3a52977fc6ff1de2149fc75d4e2dfad$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/select_client_certificate_callback_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefSelectClientCertificateCallbackCToCpp::Select(
|
||||
CefRefPtr<CefX509Certificate> cert) {
|
||||
cef_select_client_certificate_callback_t* _struct = GetStruct();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=ebc5197da8f0e988a24533149fdb949e7a4f127c$
|
||||
// $hash=e5e09840410b20aedf9901cbbe23f37af5641d62$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/server_ctocpp.h"
|
||||
|
@ -19,6 +19,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServer::CreateServer(const CefString& address,
|
||||
uint16 port,
|
||||
int backlog,
|
||||
|
@ -41,6 +42,7 @@ void CefServer::CreateServer(const CefString& address,
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefTaskRunner> CefServerCToCpp::GetTaskRunner() {
|
||||
cef_server_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_task_runner))
|
||||
|
@ -55,7 +57,7 @@ CefRefPtr<CefTaskRunner> CefServerCToCpp::GetTaskRunner() {
|
|||
return CefTaskRunnerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
void CefServerCToCpp::Shutdown() {
|
||||
NO_SANITIZE("cfi-icall") void CefServerCToCpp::Shutdown() {
|
||||
cef_server_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, shutdown))
|
||||
return;
|
||||
|
@ -66,7 +68,7 @@ void CefServerCToCpp::Shutdown() {
|
|||
_struct->shutdown(_struct);
|
||||
}
|
||||
|
||||
bool CefServerCToCpp::IsRunning() {
|
||||
NO_SANITIZE("cfi-icall") bool CefServerCToCpp::IsRunning() {
|
||||
cef_server_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_running))
|
||||
return false;
|
||||
|
@ -80,7 +82,7 @@ bool CefServerCToCpp::IsRunning() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
CefString CefServerCToCpp::GetAddress() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefServerCToCpp::GetAddress() {
|
||||
cef_server_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_address))
|
||||
return CefString();
|
||||
|
@ -96,7 +98,7 @@ CefString CefServerCToCpp::GetAddress() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
bool CefServerCToCpp::HasConnection() {
|
||||
NO_SANITIZE("cfi-icall") bool CefServerCToCpp::HasConnection() {
|
||||
cef_server_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_connection))
|
||||
return false;
|
||||
|
@ -110,6 +112,7 @@ bool CefServerCToCpp::HasConnection() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefServerCToCpp::IsValidConnection(int connection_id) {
|
||||
cef_server_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid_connection))
|
||||
|
@ -124,6 +127,7 @@ bool CefServerCToCpp::IsValidConnection(int connection_id) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServerCToCpp::SendHttp200Response(int connection_id,
|
||||
const CefString& content_type,
|
||||
const void* data,
|
||||
|
@ -148,6 +152,7 @@ void CefServerCToCpp::SendHttp200Response(int connection_id,
|
|||
content_type.GetStruct(), data, data_size);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServerCToCpp::SendHttp404Response(int connection_id) {
|
||||
cef_server_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, send_http404response))
|
||||
|
@ -159,6 +164,7 @@ void CefServerCToCpp::SendHttp404Response(int connection_id) {
|
|||
_struct->send_http404response(_struct, connection_id);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServerCToCpp::SendHttp500Response(int connection_id,
|
||||
const CefString& error_message) {
|
||||
cef_server_t* _struct = GetStruct();
|
||||
|
@ -177,6 +183,7 @@ void CefServerCToCpp::SendHttp500Response(int connection_id,
|
|||
error_message.GetStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServerCToCpp::SendHttpResponse(int connection_id,
|
||||
int response_code,
|
||||
const CefString& content_type,
|
||||
|
@ -210,6 +217,7 @@ void CefServerCToCpp::SendHttpResponse(int connection_id,
|
|||
cef_string_multimap_free(extra_headersMultimap);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServerCToCpp::SendRawData(int connection_id,
|
||||
const void* data,
|
||||
size_t data_size) {
|
||||
|
@ -228,6 +236,7 @@ void CefServerCToCpp::SendRawData(int connection_id,
|
|||
_struct->send_raw_data(_struct, connection_id, data, data_size);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServerCToCpp::CloseConnection(int connection_id) {
|
||||
cef_server_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, close_connection))
|
||||
|
@ -239,6 +248,7 @@ void CefServerCToCpp::CloseConnection(int connection_id) {
|
|||
_struct->close_connection(_struct, connection_id);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServerCToCpp::SendWebSocketMessage(int connection_id,
|
||||
const void* data,
|
||||
size_t data_size) {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=64450371efa1c473976f85e44b95880509d7536a$
|
||||
// $hash=9a7eb4d66d28dd9d46bb7966cfa770e9e848ab83$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/server_handler_ctocpp.h"
|
||||
|
@ -19,6 +19,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServerHandlerCToCpp::OnServerCreated(CefRefPtr<CefServer> server) {
|
||||
cef_server_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_server_created))
|
||||
|
@ -35,6 +36,7 @@ void CefServerHandlerCToCpp::OnServerCreated(CefRefPtr<CefServer> server) {
|
|||
_struct->on_server_created(_struct, CefServerCppToC::Wrap(server));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServerHandlerCToCpp::OnServerDestroyed(CefRefPtr<CefServer> server) {
|
||||
cef_server_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_server_destroyed))
|
||||
|
@ -51,6 +53,7 @@ void CefServerHandlerCToCpp::OnServerDestroyed(CefRefPtr<CefServer> server) {
|
|||
_struct->on_server_destroyed(_struct, CefServerCppToC::Wrap(server));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServerHandlerCToCpp::OnClientConnected(CefRefPtr<CefServer> server,
|
||||
int connection_id) {
|
||||
cef_server_handler_t* _struct = GetStruct();
|
||||
|
@ -69,6 +72,7 @@ void CefServerHandlerCToCpp::OnClientConnected(CefRefPtr<CefServer> server,
|
|||
connection_id);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServerHandlerCToCpp::OnClientDisconnected(CefRefPtr<CefServer> server,
|
||||
int connection_id) {
|
||||
cef_server_handler_t* _struct = GetStruct();
|
||||
|
@ -87,6 +91,7 @@ void CefServerHandlerCToCpp::OnClientDisconnected(CefRefPtr<CefServer> server,
|
|||
connection_id);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServerHandlerCToCpp::OnHttpRequest(CefRefPtr<CefServer> server,
|
||||
int connection_id,
|
||||
const CefString& client_address,
|
||||
|
@ -116,6 +121,7 @@ void CefServerHandlerCToCpp::OnHttpRequest(CefRefPtr<CefServer> server,
|
|||
CefRequestCppToC::Wrap(request));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServerHandlerCToCpp::OnWebSocketRequest(
|
||||
CefRefPtr<CefServer> server,
|
||||
int connection_id,
|
||||
|
@ -152,6 +158,7 @@ void CefServerHandlerCToCpp::OnWebSocketRequest(
|
|||
CefCallbackCppToC::Wrap(callback));
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServerHandlerCToCpp::OnWebSocketConnected(CefRefPtr<CefServer> server,
|
||||
int connection_id) {
|
||||
cef_server_handler_t* _struct = GetStruct();
|
||||
|
@ -170,6 +177,7 @@ void CefServerHandlerCToCpp::OnWebSocketConnected(CefRefPtr<CefServer> server,
|
|||
connection_id);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServerHandlerCToCpp::OnWebSocketMessage(CefRefPtr<CefServer> server,
|
||||
int connection_id,
|
||||
const void* data,
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=95b47a7c128c1ddb4ba842ac13fc344d51cc96dd$
|
||||
// $hash=a5a1ea86be992226e3701109e637149b0fa5c7cd$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/set_cookie_callback_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefSetCookieCallbackCToCpp::OnComplete(bool success) {
|
||||
cef_set_cookie_callback_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_complete))
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=1aeaabcb9a875a75c092e9a851bd222be8aedfa5$
|
||||
// $hash=cb17bbac7b6269a8264dc4568161ffe117ee04c0$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/sslinfo_ctocpp.h"
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
cef_cert_status_t CefSSLInfoCToCpp::GetCertStatus() {
|
||||
NO_SANITIZE("cfi-icall") cef_cert_status_t CefSSLInfoCToCpp::GetCertStatus() {
|
||||
cef_sslinfo_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_cert_status))
|
||||
return CERT_STATUS_NONE;
|
||||
|
@ -31,6 +31,7 @@ cef_cert_status_t CefSSLInfoCToCpp::GetCertStatus() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefX509Certificate> CefSSLInfoCToCpp::GetX509Certificate() {
|
||||
cef_sslinfo_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_x509certificate))
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=469b34dad7e1f51a520166a01806f0308eb6a701$
|
||||
// $hash=21b4db74a6b728862f47fbd8dd6fe4e68609346a$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/sslstatus_ctocpp.h"
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefSSLStatusCToCpp::IsSecureConnection() {
|
||||
NO_SANITIZE("cfi-icall") bool CefSSLStatusCToCpp::IsSecureConnection() {
|
||||
cef_sslstatus_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_secure_connection))
|
||||
return false;
|
||||
|
@ -31,7 +31,7 @@ bool CefSSLStatusCToCpp::IsSecureConnection() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
cef_cert_status_t CefSSLStatusCToCpp::GetCertStatus() {
|
||||
NO_SANITIZE("cfi-icall") cef_cert_status_t CefSSLStatusCToCpp::GetCertStatus() {
|
||||
cef_sslstatus_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_cert_status))
|
||||
return CERT_STATUS_NONE;
|
||||
|
@ -45,7 +45,7 @@ cef_cert_status_t CefSSLStatusCToCpp::GetCertStatus() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
cef_ssl_version_t CefSSLStatusCToCpp::GetSSLVersion() {
|
||||
NO_SANITIZE("cfi-icall") cef_ssl_version_t CefSSLStatusCToCpp::GetSSLVersion() {
|
||||
cef_sslstatus_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_sslversion))
|
||||
return SSL_CONNECTION_VERSION_UNKNOWN;
|
||||
|
@ -59,6 +59,7 @@ cef_ssl_version_t CefSSLStatusCToCpp::GetSSLVersion() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
cef_ssl_content_status_t CefSSLStatusCToCpp::GetContentStatus() {
|
||||
cef_sslstatus_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_content_status))
|
||||
|
@ -73,6 +74,7 @@ cef_ssl_content_status_t CefSSLStatusCToCpp::GetContentStatus() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefX509Certificate> CefSSLStatusCToCpp::GetX509Certificate() {
|
||||
cef_sslstatus_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_x509certificate))
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=b35c8a8c174026cbafddcfc80f3ba33a8a42bf69$
|
||||
// $hash=df4659596e0506371b6d04a753d129aca585a7a4$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/stream_reader_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefStreamReader> CefStreamReader::CreateForFile(
|
||||
const CefString& fileName) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
@ -34,6 +35,7 @@ CefRefPtr<CefStreamReader> CefStreamReader::CreateForFile(
|
|||
return CefStreamReaderCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefStreamReader> CefStreamReader::CreateForData(void* data,
|
||||
size_t size) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
@ -50,6 +52,7 @@ CefRefPtr<CefStreamReader> CefStreamReader::CreateForData(void* data,
|
|||
return CefStreamReaderCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefStreamReader> CefStreamReader::CreateForHandler(
|
||||
CefRefPtr<CefReadHandler> handler) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
@ -69,6 +72,7 @@ CefRefPtr<CefStreamReader> CefStreamReader::CreateForHandler(
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
size_t CefStreamReaderCToCpp::Read(void* ptr, size_t size, size_t n) {
|
||||
cef_stream_reader_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, read))
|
||||
|
@ -88,6 +92,7 @@ size_t CefStreamReaderCToCpp::Read(void* ptr, size_t size, size_t n) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefStreamReaderCToCpp::Seek(int64 offset, int whence) {
|
||||
cef_stream_reader_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, seek))
|
||||
|
@ -102,7 +107,7 @@ int CefStreamReaderCToCpp::Seek(int64 offset, int whence) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
int64 CefStreamReaderCToCpp::Tell() {
|
||||
NO_SANITIZE("cfi-icall") int64 CefStreamReaderCToCpp::Tell() {
|
||||
cef_stream_reader_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, tell))
|
||||
return 0;
|
||||
|
@ -116,7 +121,7 @@ int64 CefStreamReaderCToCpp::Tell() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
int CefStreamReaderCToCpp::Eof() {
|
||||
NO_SANITIZE("cfi-icall") int CefStreamReaderCToCpp::Eof() {
|
||||
cef_stream_reader_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, eof))
|
||||
return 0;
|
||||
|
@ -130,7 +135,7 @@ int CefStreamReaderCToCpp::Eof() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
bool CefStreamReaderCToCpp::MayBlock() {
|
||||
NO_SANITIZE("cfi-icall") bool CefStreamReaderCToCpp::MayBlock() {
|
||||
cef_stream_reader_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, may_block))
|
||||
return false;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=4576edef0bba52eaa9e18b70301a8ca52b985bb5$
|
||||
// $hash=3bc5c29dff8ed5a55cc1fac53f054ef94b7bceb6$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/stream_writer_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefStreamWriter> CefStreamWriter::CreateForFile(
|
||||
const CefString& fileName) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
@ -34,6 +35,7 @@ CefRefPtr<CefStreamWriter> CefStreamWriter::CreateForFile(
|
|||
return CefStreamWriterCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefStreamWriter> CefStreamWriter::CreateForHandler(
|
||||
CefRefPtr<CefWriteHandler> handler) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
@ -53,6 +55,7 @@ CefRefPtr<CefStreamWriter> CefStreamWriter::CreateForHandler(
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
size_t CefStreamWriterCToCpp::Write(const void* ptr, size_t size, size_t n) {
|
||||
cef_stream_writer_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, write))
|
||||
|
@ -72,6 +75,7 @@ size_t CefStreamWriterCToCpp::Write(const void* ptr, size_t size, size_t n) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefStreamWriterCToCpp::Seek(int64 offset, int whence) {
|
||||
cef_stream_writer_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, seek))
|
||||
|
@ -86,7 +90,7 @@ int CefStreamWriterCToCpp::Seek(int64 offset, int whence) {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
int64 CefStreamWriterCToCpp::Tell() {
|
||||
NO_SANITIZE("cfi-icall") int64 CefStreamWriterCToCpp::Tell() {
|
||||
cef_stream_writer_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, tell))
|
||||
return 0;
|
||||
|
@ -100,7 +104,7 @@ int64 CefStreamWriterCToCpp::Tell() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
int CefStreamWriterCToCpp::Flush() {
|
||||
NO_SANITIZE("cfi-icall") int CefStreamWriterCToCpp::Flush() {
|
||||
cef_stream_writer_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, flush))
|
||||
return 0;
|
||||
|
@ -114,7 +118,7 @@ int CefStreamWriterCToCpp::Flush() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
bool CefStreamWriterCToCpp::MayBlock() {
|
||||
NO_SANITIZE("cfi-icall") bool CefStreamWriterCToCpp::MayBlock() {
|
||||
cef_stream_writer_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, may_block))
|
||||
return false;
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=8b5cda489d4cccecb5606bd2959ac9cc3e9e4ff0$
|
||||
// $hash=f821e8d56f699e08879e123a0d5ae91a6c13dd58$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/string_visitor_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefStringVisitorCToCpp::Visit(const CefString& string) {
|
||||
cef_string_visitor_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, visit))
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=b8f2740870761cbd4d14e828a06420f2f907b66b$
|
||||
// $hash=1792fbb45d19fc9cd7280b6f35e75a7cad4c1732$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/task_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
void CefTaskCToCpp::Execute() {
|
||||
NO_SANITIZE("cfi-icall") void CefTaskCToCpp::Execute() {
|
||||
cef_task_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, execute))
|
||||
return;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=660a9d771f8b3f088653a8723ef94b8cc8284979$
|
||||
// $hash=4d25dcb9220d9e06f0b39cce7b938040c98dddd0$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/task_runner_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefTaskRunner> CefTaskRunner::GetForCurrentThread() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
@ -27,6 +28,7 @@ CefRefPtr<CefTaskRunner> CefTaskRunner::GetForCurrentThread() {
|
|||
return CefTaskRunnerCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefTaskRunner> CefTaskRunner::GetForThread(CefThreadId threadId) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
@ -39,6 +41,7 @@ CefRefPtr<CefTaskRunner> CefTaskRunner::GetForThread(CefThreadId threadId) {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTaskRunnerCToCpp::IsSame(CefRefPtr<CefTaskRunner> that) {
|
||||
cef_task_runner_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
|
@ -58,7 +61,7 @@ bool CefTaskRunnerCToCpp::IsSame(CefRefPtr<CefTaskRunner> that) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefTaskRunnerCToCpp::BelongsToCurrentThread() {
|
||||
NO_SANITIZE("cfi-icall") bool CefTaskRunnerCToCpp::BelongsToCurrentThread() {
|
||||
cef_task_runner_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, belongs_to_current_thread))
|
||||
return false;
|
||||
|
@ -72,6 +75,7 @@ bool CefTaskRunnerCToCpp::BelongsToCurrentThread() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTaskRunnerCToCpp::BelongsToThread(CefThreadId threadId) {
|
||||
cef_task_runner_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, belongs_to_thread))
|
||||
|
@ -86,6 +90,7 @@ bool CefTaskRunnerCToCpp::BelongsToThread(CefThreadId threadId) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTaskRunnerCToCpp::PostTask(CefRefPtr<CefTask> task) {
|
||||
cef_task_runner_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, post_task))
|
||||
|
@ -105,6 +110,7 @@ bool CefTaskRunnerCToCpp::PostTask(CefRefPtr<CefTask> task) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTaskRunnerCToCpp::PostDelayedTask(CefRefPtr<CefTask> task,
|
||||
int64 delay_ms) {
|
||||
cef_task_runner_t* _struct = GetStruct();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=4c23b4208c361a884f6e1b27bc578c6cc0e0412e$
|
||||
// $hash=154442fa6ebb5d1200ee843653232844ae3ab5a9$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_ctocpp.h"
|
||||
|
@ -26,6 +26,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefTranslatorTest> CefTranslatorTest::Create() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
@ -38,7 +39,7 @@ CefRefPtr<CefTranslatorTest> CefTranslatorTest::Create() {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
void CefTranslatorTestCToCpp::GetVoid() {
|
||||
NO_SANITIZE("cfi-icall") void CefTranslatorTestCToCpp::GetVoid() {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_void))
|
||||
return;
|
||||
|
@ -49,7 +50,7 @@ void CefTranslatorTestCToCpp::GetVoid() {
|
|||
_struct->get_void(_struct);
|
||||
}
|
||||
|
||||
bool CefTranslatorTestCToCpp::GetBool() {
|
||||
NO_SANITIZE("cfi-icall") bool CefTranslatorTestCToCpp::GetBool() {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bool))
|
||||
return false;
|
||||
|
@ -63,7 +64,7 @@ bool CefTranslatorTestCToCpp::GetBool() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
int CefTranslatorTestCToCpp::GetInt() {
|
||||
NO_SANITIZE("cfi-icall") int CefTranslatorTestCToCpp::GetInt() {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_int))
|
||||
return 0;
|
||||
|
@ -77,7 +78,7 @@ int CefTranslatorTestCToCpp::GetInt() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
double CefTranslatorTestCToCpp::GetDouble() {
|
||||
NO_SANITIZE("cfi-icall") double CefTranslatorTestCToCpp::GetDouble() {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_double))
|
||||
return 0;
|
||||
|
@ -91,7 +92,7 @@ double CefTranslatorTestCToCpp::GetDouble() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
long CefTranslatorTestCToCpp::GetLong() {
|
||||
NO_SANITIZE("cfi-icall") long CefTranslatorTestCToCpp::GetLong() {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_long))
|
||||
return 0;
|
||||
|
@ -105,7 +106,7 @@ long CefTranslatorTestCToCpp::GetLong() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
size_t CefTranslatorTestCToCpp::GetSizet() {
|
||||
NO_SANITIZE("cfi-icall") size_t CefTranslatorTestCToCpp::GetSizet() {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_sizet))
|
||||
return 0;
|
||||
|
@ -119,7 +120,7 @@ size_t CefTranslatorTestCToCpp::GetSizet() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
bool CefTranslatorTestCToCpp::SetVoid() {
|
||||
NO_SANITIZE("cfi-icall") bool CefTranslatorTestCToCpp::SetVoid() {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_void))
|
||||
return false;
|
||||
|
@ -133,7 +134,7 @@ bool CefTranslatorTestCToCpp::SetVoid() {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefTranslatorTestCToCpp::SetBool(bool val) {
|
||||
NO_SANITIZE("cfi-icall") bool CefTranslatorTestCToCpp::SetBool(bool val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bool))
|
||||
return false;
|
||||
|
@ -147,7 +148,7 @@ bool CefTranslatorTestCToCpp::SetBool(bool val) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefTranslatorTestCToCpp::SetInt(int val) {
|
||||
NO_SANITIZE("cfi-icall") bool CefTranslatorTestCToCpp::SetInt(int val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_int))
|
||||
return false;
|
||||
|
@ -161,7 +162,7 @@ bool CefTranslatorTestCToCpp::SetInt(int val) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefTranslatorTestCToCpp::SetDouble(double val) {
|
||||
NO_SANITIZE("cfi-icall") bool CefTranslatorTestCToCpp::SetDouble(double val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_double))
|
||||
return false;
|
||||
|
@ -175,7 +176,7 @@ bool CefTranslatorTestCToCpp::SetDouble(double val) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefTranslatorTestCToCpp::SetLong(long val) {
|
||||
NO_SANITIZE("cfi-icall") bool CefTranslatorTestCToCpp::SetLong(long val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_long))
|
||||
return false;
|
||||
|
@ -189,7 +190,7 @@ bool CefTranslatorTestCToCpp::SetLong(long val) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
bool CefTranslatorTestCToCpp::SetSizet(size_t val) {
|
||||
NO_SANITIZE("cfi-icall") bool CefTranslatorTestCToCpp::SetSizet(size_t val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_sizet))
|
||||
return false;
|
||||
|
@ -203,6 +204,7 @@ bool CefTranslatorTestCToCpp::SetSizet(size_t val) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::SetIntList(const std::vector<int>& val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_int_list))
|
||||
|
@ -234,6 +236,7 @@ bool CefTranslatorTestCToCpp::SetIntList(const std::vector<int>& val) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::GetIntListByRef(IntList& val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_int_list_by_ref))
|
||||
|
@ -274,7 +277,7 @@ bool CefTranslatorTestCToCpp::GetIntListByRef(IntList& val) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
size_t CefTranslatorTestCToCpp::GetIntListSize() {
|
||||
NO_SANITIZE("cfi-icall") size_t CefTranslatorTestCToCpp::GetIntListSize() {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_int_list_size))
|
||||
return 0;
|
||||
|
@ -288,7 +291,7 @@ size_t CefTranslatorTestCToCpp::GetIntListSize() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
CefString CefTranslatorTestCToCpp::GetString() {
|
||||
NO_SANITIZE("cfi-icall") CefString CefTranslatorTestCToCpp::GetString() {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_string))
|
||||
return CefString();
|
||||
|
@ -304,6 +307,7 @@ CefString CefTranslatorTestCToCpp::GetString() {
|
|||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::SetString(const CefString& val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_string))
|
||||
|
@ -323,6 +327,7 @@ bool CefTranslatorTestCToCpp::SetString(const CefString& val) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefTranslatorTestCToCpp::GetStringByRef(CefString& val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_string_by_ref))
|
||||
|
@ -334,6 +339,7 @@ void CefTranslatorTestCToCpp::GetStringByRef(CefString& val) {
|
|||
_struct->get_string_by_ref(_struct, val.GetWritableStruct());
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::SetStringList(const std::vector<CefString>& val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_string_list))
|
||||
|
@ -358,6 +364,7 @@ bool CefTranslatorTestCToCpp::SetStringList(const std::vector<CefString>& val) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::GetStringListByRef(StringList& val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_string_list_by_ref))
|
||||
|
@ -385,6 +392,7 @@ bool CefTranslatorTestCToCpp::GetStringListByRef(StringList& val) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::SetStringMap(const StringMap& val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_string_map))
|
||||
|
@ -409,6 +417,7 @@ bool CefTranslatorTestCToCpp::SetStringMap(const StringMap& val) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::GetStringMapByRef(
|
||||
std::map<CefString, CefString>& val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
|
@ -437,6 +446,7 @@ bool CefTranslatorTestCToCpp::GetStringMapByRef(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::SetStringMultimap(
|
||||
const std::multimap<CefString, CefString>& val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
|
@ -462,6 +472,7 @@ bool CefTranslatorTestCToCpp::SetStringMultimap(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::GetStringMultimapByRef(StringMultimap& val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_string_multimap_by_ref))
|
||||
|
@ -489,7 +500,7 @@ bool CefTranslatorTestCToCpp::GetStringMultimapByRef(StringMultimap& val) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
CefPoint CefTranslatorTestCToCpp::GetPoint() {
|
||||
NO_SANITIZE("cfi-icall") CefPoint CefTranslatorTestCToCpp::GetPoint() {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_point))
|
||||
return CefPoint();
|
||||
|
@ -503,6 +514,7 @@ CefPoint CefTranslatorTestCToCpp::GetPoint() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::SetPoint(const CefPoint& val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_point))
|
||||
|
@ -517,6 +529,7 @@ bool CefTranslatorTestCToCpp::SetPoint(const CefPoint& val) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefTranslatorTestCToCpp::GetPointByRef(CefPoint& val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_point_by_ref))
|
||||
|
@ -528,6 +541,7 @@ void CefTranslatorTestCToCpp::GetPointByRef(CefPoint& val) {
|
|||
_struct->get_point_by_ref(_struct, &val);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::SetPointList(const std::vector<CefPoint>& val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_point_list))
|
||||
|
@ -559,6 +573,7 @@ bool CefTranslatorTestCToCpp::SetPointList(const std::vector<CefPoint>& val) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::GetPointListByRef(PointList& val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_point_list_by_ref))
|
||||
|
@ -599,7 +614,7 @@ bool CefTranslatorTestCToCpp::GetPointListByRef(PointList& val) {
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
size_t CefTranslatorTestCToCpp::GetPointListSize() {
|
||||
NO_SANITIZE("cfi-icall") size_t CefTranslatorTestCToCpp::GetPointListSize() {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_point_list_size))
|
||||
return 0;
|
||||
|
@ -613,6 +628,7 @@ size_t CefTranslatorTestCToCpp::GetPointListSize() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefTranslatorTestRefPtrLibrary>
|
||||
CefTranslatorTestCToCpp::GetRefPtrLibrary(int val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
|
@ -629,6 +645,7 @@ CefTranslatorTestCToCpp::GetRefPtrLibrary(int val) {
|
|||
return CefTranslatorTestRefPtrLibraryCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestCToCpp::SetRefPtrLibrary(
|
||||
CefRefPtr<CefTranslatorTestRefPtrLibrary> val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
|
@ -650,6 +667,7 @@ int CefTranslatorTestCToCpp::SetRefPtrLibrary(
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefTranslatorTestRefPtrLibrary>
|
||||
CefTranslatorTestCToCpp::SetRefPtrLibraryAndReturn(
|
||||
CefRefPtr<CefTranslatorTestRefPtrLibrary> val) {
|
||||
|
@ -673,6 +691,7 @@ CefTranslatorTestCToCpp::SetRefPtrLibraryAndReturn(
|
|||
return CefTranslatorTestRefPtrLibraryCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestCToCpp::SetChildRefPtrLibrary(
|
||||
CefRefPtr<CefTranslatorTestRefPtrLibraryChild> val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
|
@ -694,6 +713,7 @@ int CefTranslatorTestCToCpp::SetChildRefPtrLibrary(
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefTranslatorTestRefPtrLibrary>
|
||||
CefTranslatorTestCToCpp::SetChildRefPtrLibraryAndReturnParent(
|
||||
CefRefPtr<CefTranslatorTestRefPtrLibraryChild> val) {
|
||||
|
@ -717,6 +737,7 @@ CefTranslatorTestCToCpp::SetChildRefPtrLibraryAndReturnParent(
|
|||
return CefTranslatorTestRefPtrLibraryCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::SetRefPtrLibraryList(
|
||||
const std::vector<CefRefPtr<CefTranslatorTestRefPtrLibrary>>& val,
|
||||
int val1,
|
||||
|
@ -752,6 +773,7 @@ bool CefTranslatorTestCToCpp::SetRefPtrLibraryList(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::GetRefPtrLibraryListByRef(RefPtrLibraryList& val,
|
||||
int val1,
|
||||
int val2) {
|
||||
|
@ -796,6 +818,7 @@ bool CefTranslatorTestCToCpp::GetRefPtrLibraryListByRef(RefPtrLibraryList& val,
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
size_t CefTranslatorTestCToCpp::GetRefPtrLibraryListSize() {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_ref_ptr_library_list_size))
|
||||
|
@ -810,6 +833,7 @@ size_t CefTranslatorTestCToCpp::GetRefPtrLibraryListSize() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestCToCpp::SetRefPtrClient(
|
||||
CefRefPtr<CefTranslatorTestRefPtrClient> val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
|
@ -831,6 +855,7 @@ int CefTranslatorTestCToCpp::SetRefPtrClient(
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefTranslatorTestRefPtrClient>
|
||||
CefTranslatorTestCToCpp::SetRefPtrClientAndReturn(
|
||||
CefRefPtr<CefTranslatorTestRefPtrClient> val) {
|
||||
|
@ -854,6 +879,7 @@ CefTranslatorTestCToCpp::SetRefPtrClientAndReturn(
|
|||
return CefTranslatorTestRefPtrClientCppToC::Unwrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestCToCpp::SetChildRefPtrClient(
|
||||
CefRefPtr<CefTranslatorTestRefPtrClientChild> val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
|
@ -875,6 +901,7 @@ int CefTranslatorTestCToCpp::SetChildRefPtrClient(
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefTranslatorTestRefPtrClient>
|
||||
CefTranslatorTestCToCpp::SetChildRefPtrClientAndReturnParent(
|
||||
CefRefPtr<CefTranslatorTestRefPtrClientChild> val) {
|
||||
|
@ -898,6 +925,7 @@ CefTranslatorTestCToCpp::SetChildRefPtrClientAndReturnParent(
|
|||
return CefTranslatorTestRefPtrClientCppToC::Unwrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::SetRefPtrClientList(
|
||||
const std::vector<CefRefPtr<CefTranslatorTestRefPtrClient>>& val,
|
||||
int val1,
|
||||
|
@ -933,6 +961,7 @@ bool CefTranslatorTestCToCpp::SetRefPtrClientList(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::GetRefPtrClientListByRef(
|
||||
RefPtrClientList& val,
|
||||
CefRefPtr<CefTranslatorTestRefPtrClient> val1,
|
||||
|
@ -989,6 +1018,7 @@ bool CefTranslatorTestCToCpp::GetRefPtrClientListByRef(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
size_t CefTranslatorTestCToCpp::GetRefPtrClientListSize() {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_ref_ptr_client_list_size))
|
||||
|
@ -1003,6 +1033,7 @@ size_t CefTranslatorTestCToCpp::GetRefPtrClientListSize() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefOwnPtr<CefTranslatorTestScopedLibrary>
|
||||
CefTranslatorTestCToCpp::GetOwnPtrLibrary(int val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
|
@ -1019,6 +1050,7 @@ CefTranslatorTestCToCpp::GetOwnPtrLibrary(int val) {
|
|||
return CefTranslatorTestScopedLibraryCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestCToCpp::SetOwnPtrLibrary(
|
||||
CefOwnPtr<CefTranslatorTestScopedLibrary> val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
|
@ -1040,6 +1072,7 @@ int CefTranslatorTestCToCpp::SetOwnPtrLibrary(
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefOwnPtr<CefTranslatorTestScopedLibrary>
|
||||
CefTranslatorTestCToCpp::SetOwnPtrLibraryAndReturn(
|
||||
CefOwnPtr<CefTranslatorTestScopedLibrary> val) {
|
||||
|
@ -1064,6 +1097,7 @@ CefTranslatorTestCToCpp::SetOwnPtrLibraryAndReturn(
|
|||
return CefTranslatorTestScopedLibraryCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestCToCpp::SetChildOwnPtrLibrary(
|
||||
CefOwnPtr<CefTranslatorTestScopedLibraryChild> val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
|
@ -1086,6 +1120,7 @@ int CefTranslatorTestCToCpp::SetChildOwnPtrLibrary(
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefOwnPtr<CefTranslatorTestScopedLibrary>
|
||||
CefTranslatorTestCToCpp::SetChildOwnPtrLibraryAndReturnParent(
|
||||
CefOwnPtr<CefTranslatorTestScopedLibraryChild> val) {
|
||||
|
@ -1110,6 +1145,7 @@ CefTranslatorTestCToCpp::SetChildOwnPtrLibraryAndReturnParent(
|
|||
return CefTranslatorTestScopedLibraryCToCpp::Wrap(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestCToCpp::SetOwnPtrClient(
|
||||
CefOwnPtr<CefTranslatorTestScopedClient> val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
|
@ -1131,6 +1167,7 @@ int CefTranslatorTestCToCpp::SetOwnPtrClient(
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefOwnPtr<CefTranslatorTestScopedClient>
|
||||
CefTranslatorTestCToCpp::SetOwnPtrClientAndReturn(
|
||||
CefOwnPtr<CefTranslatorTestScopedClient> val) {
|
||||
|
@ -1154,6 +1191,7 @@ CefTranslatorTestCToCpp::SetOwnPtrClientAndReturn(
|
|||
return CefTranslatorTestScopedClientCppToC::UnwrapOwn(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestCToCpp::SetChildOwnPtrClient(
|
||||
CefOwnPtr<CefTranslatorTestScopedClientChild> val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
|
@ -1176,6 +1214,7 @@ int CefTranslatorTestCToCpp::SetChildOwnPtrClient(
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefOwnPtr<CefTranslatorTestScopedClient>
|
||||
CefTranslatorTestCToCpp::SetChildOwnPtrClientAndReturnParent(
|
||||
CefOwnPtr<CefTranslatorTestScopedClientChild> val) {
|
||||
|
@ -1200,6 +1239,7 @@ CefTranslatorTestCToCpp::SetChildOwnPtrClientAndReturnParent(
|
|||
return CefTranslatorTestScopedClientCppToC::UnwrapOwn(_retval);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestCToCpp::SetRawPtrLibrary(
|
||||
CefRawPtr<CefTranslatorTestScopedLibrary> val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
|
@ -1221,6 +1261,7 @@ int CefTranslatorTestCToCpp::SetRawPtrLibrary(
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestCToCpp::SetChildRawPtrLibrary(
|
||||
CefRawPtr<CefTranslatorTestScopedLibraryChild> val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
|
@ -1242,6 +1283,7 @@ int CefTranslatorTestCToCpp::SetChildRawPtrLibrary(
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::SetRawPtrLibraryList(
|
||||
const std::vector<CefRawPtr<CefTranslatorTestScopedLibrary>>& val,
|
||||
int val1,
|
||||
|
@ -1277,6 +1319,7 @@ bool CefTranslatorTestCToCpp::SetRawPtrLibraryList(
|
|||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestCToCpp::SetRawPtrClient(
|
||||
CefRawPtr<CefTranslatorTestScopedClient> val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
|
@ -1301,6 +1344,7 @@ int CefTranslatorTestCToCpp::SetRawPtrClient(
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestCToCpp::SetChildRawPtrClient(
|
||||
CefRawPtr<CefTranslatorTestScopedClientChild> val) {
|
||||
cef_translator_test_t* _struct = GetStruct();
|
||||
|
@ -1325,6 +1369,7 @@ int CefTranslatorTestCToCpp::SetChildRawPtrClient(
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTranslatorTestCToCpp::SetRawPtrClientList(
|
||||
const std::vector<CefRawPtr<CefTranslatorTestScopedClient>>& val,
|
||||
int val1,
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=6d3fb5d35f0c61ed0a55ba3d54b747324e76490d$
|
||||
// $hash=515dd9767205a2f2a0beb83ae0c9c1e47ed50518$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_ref_ptr_client_child_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestRefPtrClientChildCToCpp::GetOtherValue() {
|
||||
cef_translator_test_ref_ptr_client_child_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_other_value))
|
||||
|
@ -30,6 +31,7 @@ int CefTranslatorTestRefPtrClientChildCToCpp::GetOtherValue() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestRefPtrClientChildCToCpp::GetValue() {
|
||||
cef_translator_test_ref_ptr_client_t* _struct =
|
||||
reinterpret_cast<cef_translator_test_ref_ptr_client_t*>(GetStruct());
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=6163bef79f3a537c07b8c588ed9179da4e63880d$
|
||||
// $hash=9c0e2089629ca3816e6a28ed4dfca821e7435ab8$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_ref_ptr_client_ctocpp.h"
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
int CefTranslatorTestRefPtrClientCToCpp::GetValue() {
|
||||
NO_SANITIZE("cfi-icall") int CefTranslatorTestRefPtrClientCToCpp::GetValue() {
|
||||
cef_translator_test_ref_ptr_client_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_value))
|
||||
return 0;
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=acf7ecb807c0849e4b4ead6e1940505c0cfa1c9e$
|
||||
// $hash=0b9fce1b079c085a247304ff11e2bd745323f501$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_ref_ptr_library_child_child_ctocpp.h"
|
||||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefTranslatorTestRefPtrLibraryChildChild>
|
||||
CefTranslatorTestRefPtrLibraryChildChild::Create(int value,
|
||||
int other_value,
|
||||
|
@ -33,6 +34,7 @@ CefTranslatorTestRefPtrLibraryChildChild::Create(int value,
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestRefPtrLibraryChildChildCToCpp::GetOtherOtherValue() {
|
||||
cef_translator_test_ref_ptr_library_child_child_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_other_other_value))
|
||||
|
@ -47,6 +49,7 @@ int CefTranslatorTestRefPtrLibraryChildChildCToCpp::GetOtherOtherValue() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefTranslatorTestRefPtrLibraryChildChildCToCpp::SetOtherOtherValue(
|
||||
int value) {
|
||||
cef_translator_test_ref_ptr_library_child_child_t* _struct = GetStruct();
|
||||
|
@ -59,6 +62,7 @@ void CefTranslatorTestRefPtrLibraryChildChildCToCpp::SetOtherOtherValue(
|
|||
_struct->set_other_other_value(_struct, value);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestRefPtrLibraryChildChildCToCpp::GetOtherValue() {
|
||||
cef_translator_test_ref_ptr_library_child_t* _struct =
|
||||
reinterpret_cast<cef_translator_test_ref_ptr_library_child_t*>(
|
||||
|
@ -75,6 +79,7 @@ int CefTranslatorTestRefPtrLibraryChildChildCToCpp::GetOtherValue() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefTranslatorTestRefPtrLibraryChildChildCToCpp::SetOtherValue(int value) {
|
||||
cef_translator_test_ref_ptr_library_child_t* _struct =
|
||||
reinterpret_cast<cef_translator_test_ref_ptr_library_child_t*>(
|
||||
|
@ -88,6 +93,7 @@ void CefTranslatorTestRefPtrLibraryChildChildCToCpp::SetOtherValue(int value) {
|
|||
_struct->set_other_value(_struct, value);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestRefPtrLibraryChildChildCToCpp::GetValue() {
|
||||
cef_translator_test_ref_ptr_library_t* _struct =
|
||||
reinterpret_cast<cef_translator_test_ref_ptr_library_t*>(GetStruct());
|
||||
|
@ -103,6 +109,7 @@ int CefTranslatorTestRefPtrLibraryChildChildCToCpp::GetValue() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefTranslatorTestRefPtrLibraryChildChildCToCpp::SetValue(int value) {
|
||||
cef_translator_test_ref_ptr_library_t* _struct =
|
||||
reinterpret_cast<cef_translator_test_ref_ptr_library_t*>(GetStruct());
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=65466745a595046ec6cf6963ecc20d7296ec8c0b$
|
||||
// $hash=ceb923a42bf790b29309bc5d558621e1d51f0678$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_ref_ptr_library_child_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefTranslatorTestRefPtrLibraryChild>
|
||||
CefTranslatorTestRefPtrLibraryChild::Create(int value, int other_value) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
@ -31,6 +32,7 @@ CefTranslatorTestRefPtrLibraryChild::Create(int value, int other_value) {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestRefPtrLibraryChildCToCpp::GetOtherValue() {
|
||||
cef_translator_test_ref_ptr_library_child_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_other_value))
|
||||
|
@ -45,6 +47,7 @@ int CefTranslatorTestRefPtrLibraryChildCToCpp::GetOtherValue() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefTranslatorTestRefPtrLibraryChildCToCpp::SetOtherValue(int value) {
|
||||
cef_translator_test_ref_ptr_library_child_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_other_value))
|
||||
|
@ -56,6 +59,7 @@ void CefTranslatorTestRefPtrLibraryChildCToCpp::SetOtherValue(int value) {
|
|||
_struct->set_other_value(_struct, value);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestRefPtrLibraryChildCToCpp::GetValue() {
|
||||
cef_translator_test_ref_ptr_library_t* _struct =
|
||||
reinterpret_cast<cef_translator_test_ref_ptr_library_t*>(GetStruct());
|
||||
|
@ -71,6 +75,7 @@ int CefTranslatorTestRefPtrLibraryChildCToCpp::GetValue() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefTranslatorTestRefPtrLibraryChildCToCpp::SetValue(int value) {
|
||||
cef_translator_test_ref_ptr_library_t* _struct =
|
||||
reinterpret_cast<cef_translator_test_ref_ptr_library_t*>(GetStruct());
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=9d241f19c3f59afa389c0121658345efbbecaaf8$
|
||||
// $hash=3180c3ee19a92ad7e6b22e2671cdbe6bdab88c77$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_ref_ptr_library_ctocpp.h"
|
||||
|
@ -18,6 +18,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefTranslatorTestRefPtrLibrary>
|
||||
CefTranslatorTestRefPtrLibrary::Create(int value) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
@ -32,7 +33,7 @@ CefTranslatorTestRefPtrLibrary::Create(int value) {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
int CefTranslatorTestRefPtrLibraryCToCpp::GetValue() {
|
||||
NO_SANITIZE("cfi-icall") int CefTranslatorTestRefPtrLibraryCToCpp::GetValue() {
|
||||
cef_translator_test_ref_ptr_library_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_value))
|
||||
return 0;
|
||||
|
@ -46,6 +47,7 @@ int CefTranslatorTestRefPtrLibraryCToCpp::GetValue() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefTranslatorTestRefPtrLibraryCToCpp::SetValue(int value) {
|
||||
cef_translator_test_ref_ptr_library_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_value))
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=888a1ec1d19711f47f0ca5dbaf45434b8ef4ee71$
|
||||
// $hash=8020e125acce042dbc4b2b8d921d88ecd7124bc5$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_scoped_client_child_ctocpp.h"
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestScopedClientChildCToCpp::GetOtherValue() {
|
||||
cef_translator_test_scoped_client_child_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_other_value))
|
||||
|
@ -30,6 +31,7 @@ int CefTranslatorTestScopedClientChildCToCpp::GetOtherValue() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestScopedClientChildCToCpp::GetValue() {
|
||||
cef_translator_test_scoped_client_t* _struct =
|
||||
reinterpret_cast<cef_translator_test_scoped_client_t*>(GetStruct());
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=993b108601f79c701ff594198dfef5dde25be703$
|
||||
// $hash=f2a30e3a6cec28ed71ee718aff817daa4e99735b$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_scoped_client_ctocpp.h"
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
int CefTranslatorTestScopedClientCToCpp::GetValue() {
|
||||
NO_SANITIZE("cfi-icall") int CefTranslatorTestScopedClientCToCpp::GetValue() {
|
||||
cef_translator_test_scoped_client_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_value))
|
||||
return 0;
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=af0a7c34d07ecbdad938f372dd98805352951059$
|
||||
// $hash=ff882a43ac7a9d52dbfa37c054b83e1d68002817$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_scoped_library_child_child_ctocpp.h"
|
||||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefOwnPtr<CefTranslatorTestScopedLibraryChildChild>
|
||||
CefTranslatorTestScopedLibraryChildChild::Create(int value,
|
||||
int other_value,
|
||||
|
@ -33,6 +34,7 @@ CefTranslatorTestScopedLibraryChildChild::Create(int value,
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestScopedLibraryChildChildCToCpp::GetOtherOtherValue() {
|
||||
cef_translator_test_scoped_library_child_child_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_other_other_value))
|
||||
|
@ -47,6 +49,7 @@ int CefTranslatorTestScopedLibraryChildChildCToCpp::GetOtherOtherValue() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefTranslatorTestScopedLibraryChildChildCToCpp::SetOtherOtherValue(
|
||||
int value) {
|
||||
cef_translator_test_scoped_library_child_child_t* _struct = GetStruct();
|
||||
|
@ -59,6 +62,7 @@ void CefTranslatorTestScopedLibraryChildChildCToCpp::SetOtherOtherValue(
|
|||
_struct->set_other_other_value(_struct, value);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestScopedLibraryChildChildCToCpp::GetOtherValue() {
|
||||
cef_translator_test_scoped_library_child_t* _struct =
|
||||
reinterpret_cast<cef_translator_test_scoped_library_child_t*>(
|
||||
|
@ -75,6 +79,7 @@ int CefTranslatorTestScopedLibraryChildChildCToCpp::GetOtherValue() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefTranslatorTestScopedLibraryChildChildCToCpp::SetOtherValue(int value) {
|
||||
cef_translator_test_scoped_library_child_t* _struct =
|
||||
reinterpret_cast<cef_translator_test_scoped_library_child_t*>(
|
||||
|
@ -88,6 +93,7 @@ void CefTranslatorTestScopedLibraryChildChildCToCpp::SetOtherValue(int value) {
|
|||
_struct->set_other_value(_struct, value);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestScopedLibraryChildChildCToCpp::GetValue() {
|
||||
cef_translator_test_scoped_library_t* _struct =
|
||||
reinterpret_cast<cef_translator_test_scoped_library_t*>(GetStruct());
|
||||
|
@ -103,6 +109,7 @@ int CefTranslatorTestScopedLibraryChildChildCToCpp::GetValue() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefTranslatorTestScopedLibraryChildChildCToCpp::SetValue(int value) {
|
||||
cef_translator_test_scoped_library_t* _struct =
|
||||
reinterpret_cast<cef_translator_test_scoped_library_t*>(GetStruct());
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d66e44e875c6c2012c0cc20ea16dd107a877ea99$
|
||||
// $hash=6e4e8ee21a1cb77750c482ec500bd5471c4c44c2$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_scoped_library_child_ctocpp.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefOwnPtr<CefTranslatorTestScopedLibraryChild>
|
||||
CefTranslatorTestScopedLibraryChild::Create(int value, int other_value) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
@ -31,6 +32,7 @@ CefTranslatorTestScopedLibraryChild::Create(int value, int other_value) {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestScopedLibraryChildCToCpp::GetOtherValue() {
|
||||
cef_translator_test_scoped_library_child_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_other_value))
|
||||
|
@ -45,6 +47,7 @@ int CefTranslatorTestScopedLibraryChildCToCpp::GetOtherValue() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefTranslatorTestScopedLibraryChildCToCpp::SetOtherValue(int value) {
|
||||
cef_translator_test_scoped_library_child_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_other_value))
|
||||
|
@ -56,6 +59,7 @@ void CefTranslatorTestScopedLibraryChildCToCpp::SetOtherValue(int value) {
|
|||
_struct->set_other_value(_struct, value);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefTranslatorTestScopedLibraryChildCToCpp::GetValue() {
|
||||
cef_translator_test_scoped_library_t* _struct =
|
||||
reinterpret_cast<cef_translator_test_scoped_library_t*>(GetStruct());
|
||||
|
@ -71,6 +75,7 @@ int CefTranslatorTestScopedLibraryChildCToCpp::GetValue() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefTranslatorTestScopedLibraryChildCToCpp::SetValue(int value) {
|
||||
cef_translator_test_scoped_library_t* _struct =
|
||||
reinterpret_cast<cef_translator_test_scoped_library_t*>(GetStruct());
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=1c9915e5ad68a382d2076f30b6e516ac78772d8f$
|
||||
// $hash=b3662f5626c8aadbc442300f140e400ec3a9ef0d$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/translator_test_scoped_library_ctocpp.h"
|
||||
|
@ -18,6 +18,7 @@
|
|||
|
||||
// STATIC METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefOwnPtr<CefTranslatorTestScopedLibrary>
|
||||
CefTranslatorTestScopedLibrary::Create(int value) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
@ -32,7 +33,7 @@ CefTranslatorTestScopedLibrary::Create(int value) {
|
|||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
int CefTranslatorTestScopedLibraryCToCpp::GetValue() {
|
||||
NO_SANITIZE("cfi-icall") int CefTranslatorTestScopedLibraryCToCpp::GetValue() {
|
||||
cef_translator_test_scoped_library_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_value))
|
||||
return 0;
|
||||
|
@ -46,6 +47,7 @@ int CefTranslatorTestScopedLibraryCToCpp::GetValue() {
|
|||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefTranslatorTestScopedLibraryCToCpp::SetValue(int value) {
|
||||
cef_translator_test_scoped_library_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_value))
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue