mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update generated files for int/char typedef removal (see #3507)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=add4d2a56f890fe5c868ebd23a03a4da4d8d6727$
|
||||
// $hash=976fbf502a9f2d21ad92b3c64d3ca8d414f9869c$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/audio_handler_ctocpp.h"
|
||||
@@ -73,7 +73,7 @@ NO_SANITIZE("cfi-icall")
|
||||
void CefAudioHandlerCToCpp::OnAudioStreamPacket(CefRefPtr<CefBrowser> browser,
|
||||
const float** data,
|
||||
int frames,
|
||||
int64 pts) {
|
||||
int64_t pts) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_audio_handler_t* _struct = GetStruct();
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=761b05f6a7cd2f0cfc1968a3902bd874060ad79b$
|
||||
// $hash=93c0cae17d2e380e7a0268ba658b1449cc0bc71c$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_AUDIO_HANDLER_CTOCPP_H_
|
||||
@@ -42,7 +42,7 @@ class CefAudioHandlerCToCpp : public CefCToCppRefCounted<CefAudioHandlerCToCpp,
|
||||
void OnAudioStreamPacket(CefRefPtr<CefBrowser> browser,
|
||||
const float** data,
|
||||
int frames,
|
||||
int64 pts) override;
|
||||
int64_t pts) override;
|
||||
void OnAudioStreamStopped(CefRefPtr<CefBrowser> browser) override;
|
||||
void OnAudioStreamError(CefRefPtr<CefBrowser> browser,
|
||||
const CefString& message) override;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=459764183df818659c82a91a5bb1170ab02561ae$
|
||||
// $hash=315497b4073b309e7976214a92204d6aede24fb1$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/browser_ctocpp.h"
|
||||
@@ -287,7 +287,7 @@ CefRefPtr<CefFrame> CefBrowserCToCpp::GetFocusedFrame() {
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefFrame> CefBrowserCToCpp::GetFrame(int64 identifier) {
|
||||
CefRefPtr<CefFrame> CefBrowserCToCpp::GetFrame(int64_t identifier) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
@@ -342,7 +342,7 @@ NO_SANITIZE("cfi-icall") size_t CefBrowserCToCpp::GetFrameCount() {
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserCToCpp::GetFrameIdentifiers(std::vector<int64>& identifiers) {
|
||||
void CefBrowserCToCpp::GetFrameIdentifiers(std::vector<int64_t>& identifiers) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_t* _struct = GetStruct();
|
||||
@@ -355,12 +355,12 @@ void CefBrowserCToCpp::GetFrameIdentifiers(std::vector<int64>& identifiers) {
|
||||
// Translate param: identifiers; type: simple_vec_byref
|
||||
size_t identifiersSize = identifiers.size();
|
||||
size_t identifiersCount = std::max(GetFrameCount(), identifiersSize);
|
||||
int64* identifiersList = NULL;
|
||||
int64_t* identifiersList = NULL;
|
||||
if (identifiersCount > 0) {
|
||||
identifiersList = new int64[identifiersCount];
|
||||
identifiersList = new int64_t[identifiersCount];
|
||||
DCHECK(identifiersList);
|
||||
if (identifiersList) {
|
||||
memset(identifiersList, 0, sizeof(int64) * identifiersCount);
|
||||
memset(identifiersList, 0, sizeof(int64_t) * identifiersCount);
|
||||
}
|
||||
if (identifiersList && identifiersSize > 0) {
|
||||
for (size_t i = 0; i < identifiersSize; ++i) {
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=675d288fbd8077e1a702308dd4a57e63aea00ba8$
|
||||
// $hash=a55c1986eac8be1d5d3c9f1fd3b2883bf8957449$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_BROWSER_CTOCPP_H_
|
||||
@@ -52,10 +52,10 @@ class CefBrowserCToCpp
|
||||
bool HasDocument() override;
|
||||
CefRefPtr<CefFrame> GetMainFrame() override;
|
||||
CefRefPtr<CefFrame> GetFocusedFrame() override;
|
||||
CefRefPtr<CefFrame> GetFrame(int64 identifier) override;
|
||||
CefRefPtr<CefFrame> GetFrame(int64_t identifier) override;
|
||||
CefRefPtr<CefFrame> GetFrame(const CefString& name) override;
|
||||
size_t GetFrameCount() override;
|
||||
void GetFrameIdentifiers(std::vector<int64>& identifiers) override;
|
||||
void GetFrameIdentifiers(std::vector<int64_t>& identifiers) override;
|
||||
void GetFrameNames(std::vector<CefString>& names) override;
|
||||
};
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=661cc019b1ef90360e09491c9ccaf1a7b69d6f7e$
|
||||
// $hash=02a6c45f14489fd5548eb61210ba453de05bcd2d$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/browser_host_ctocpp.h"
|
||||
@@ -332,7 +332,7 @@ NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserHostCToCpp::DownloadImage(
|
||||
const CefString& image_url,
|
||||
bool is_favicon,
|
||||
uint32 max_image_size,
|
||||
uint32_t max_image_size,
|
||||
bool bypass_cache,
|
||||
CefRefPtr<CefDownloadImageCallback> callback) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=95d1cd8a96633dc2338a636c3c4eda9a15442846$
|
||||
// $hash=4700b3b409abf624334f9f6ecf9c1c20131e4849$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_BROWSER_HOST_CTOCPP_H_
|
||||
@@ -56,7 +56,7 @@ class CefBrowserHostCToCpp : public CefCToCppRefCounted<CefBrowserHostCToCpp,
|
||||
void StartDownload(const CefString& url) override;
|
||||
void DownloadImage(const CefString& image_url,
|
||||
bool is_favicon,
|
||||
uint32 max_image_size,
|
||||
uint32_t max_image_size,
|
||||
bool bypass_cache,
|
||||
CefRefPtr<CefDownloadImageCallback> callback) override;
|
||||
void Print() override;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=db95f4b4337e9eec478f506df6f322247f8b24f6$
|
||||
// $hash=533775387bf1001675aeb94a62bc4ece1eb11125$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/browser_process_handler_ctocpp.h"
|
||||
@@ -80,7 +80,8 @@ void CefBrowserProcessHandlerCToCpp::OnBeforeChildProcessLaunch(
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefBrowserProcessHandlerCToCpp::OnScheduleMessagePumpWork(int64 delay_ms) {
|
||||
void CefBrowserProcessHandlerCToCpp::OnScheduleMessagePumpWork(
|
||||
int64_t delay_ms) {
|
||||
cef_browser_process_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_schedule_message_pump_work)) {
|
||||
return;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d86cc781b93a34ab7bc94f35b7c45ab9587aef10$
|
||||
// $hash=5dd3fc70331d85a1c7ce5e402bc1e2f050fbe467$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_BROWSER_PROCESS_HANDLER_CTOCPP_H_
|
||||
@@ -41,7 +41,7 @@ class CefBrowserProcessHandlerCToCpp
|
||||
void OnContextInitialized() override;
|
||||
void OnBeforeChildProcessLaunch(
|
||||
CefRefPtr<CefCommandLine> command_line) override;
|
||||
void OnScheduleMessagePumpWork(int64 delay_ms) override;
|
||||
void OnScheduleMessagePumpWork(int64_t delay_ms) override;
|
||||
CefRefPtr<CefClient> GetDefaultClient() override;
|
||||
};
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d4e111b0649264459c7acfdc4b5df8ba5d6a3f13$
|
||||
// $hash=36f3d78a68210e51b75e59dd8521c5d8bbfc12e9$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/download_item_ctocpp.h"
|
||||
@@ -121,7 +121,7 @@ cef_download_interrupt_reason_t CefDownloadItemCToCpp::GetInterruptReason() {
|
||||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall") int64 CefDownloadItemCToCpp::GetCurrentSpeed() {
|
||||
NO_SANITIZE("cfi-icall") int64_t CefDownloadItemCToCpp::GetCurrentSpeed() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
@@ -132,7 +132,7 @@ NO_SANITIZE("cfi-icall") int64 CefDownloadItemCToCpp::GetCurrentSpeed() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
int64 _retval = _struct->get_current_speed(_struct);
|
||||
int64_t _retval = _struct->get_current_speed(_struct);
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
@@ -155,7 +155,7 @@ NO_SANITIZE("cfi-icall") int CefDownloadItemCToCpp::GetPercentComplete() {
|
||||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall") int64 CefDownloadItemCToCpp::GetTotalBytes() {
|
||||
NO_SANITIZE("cfi-icall") int64_t CefDownloadItemCToCpp::GetTotalBytes() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
@@ -166,13 +166,13 @@ NO_SANITIZE("cfi-icall") int64 CefDownloadItemCToCpp::GetTotalBytes() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
int64 _retval = _struct->get_total_bytes(_struct);
|
||||
int64_t _retval = _struct->get_total_bytes(_struct);
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall") int64 CefDownloadItemCToCpp::GetReceivedBytes() {
|
||||
NO_SANITIZE("cfi-icall") int64_t CefDownloadItemCToCpp::GetReceivedBytes() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
@@ -183,7 +183,7 @@ NO_SANITIZE("cfi-icall") int64 CefDownloadItemCToCpp::GetReceivedBytes() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
int64 _retval = _struct->get_received_bytes(_struct);
|
||||
int64_t _retval = _struct->get_received_bytes(_struct);
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
@@ -242,7 +242,7 @@ NO_SANITIZE("cfi-icall") CefString CefDownloadItemCToCpp::GetFullPath() {
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall") uint32 CefDownloadItemCToCpp::GetId() {
|
||||
NO_SANITIZE("cfi-icall") uint32_t CefDownloadItemCToCpp::GetId() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_download_item_t* _struct = GetStruct();
|
||||
@@ -253,7 +253,7 @@ NO_SANITIZE("cfi-icall") uint32 CefDownloadItemCToCpp::GetId() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
uint32 _retval = _struct->get_id(_struct);
|
||||
uint32_t _retval = _struct->get_id(_struct);
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=8db814c52f72368cb7dd612ed3d2efaccddb865c$
|
||||
// $hash=4422e2d57ebf8624ca57ad064cd78963c5de26ba$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_DOWNLOAD_ITEM_CTOCPP_H_
|
||||
@@ -40,14 +40,14 @@ class CefDownloadItemCToCpp : public CefCToCppRefCounted<CefDownloadItemCToCpp,
|
||||
bool IsCanceled() override;
|
||||
bool IsInterrupted() override;
|
||||
cef_download_interrupt_reason_t GetInterruptReason() override;
|
||||
int64 GetCurrentSpeed() override;
|
||||
int64_t GetCurrentSpeed() override;
|
||||
int GetPercentComplete() override;
|
||||
int64 GetTotalBytes() override;
|
||||
int64 GetReceivedBytes() override;
|
||||
int64_t GetTotalBytes() override;
|
||||
int64_t GetReceivedBytes() override;
|
||||
CefBaseTime GetStartTime() override;
|
||||
CefBaseTime GetEndTime() override;
|
||||
CefString GetFullPath() override;
|
||||
uint32 GetId() override;
|
||||
uint32_t GetId() override;
|
||||
CefString GetURL() override;
|
||||
CefString GetOriginalUrl() override;
|
||||
CefString GetSuggestedFileName() override;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=94e3dd98f86cbce550ab941e8ad10fa5423ee44b$
|
||||
// $hash=52b39b5e284097cb9f674258a89680ca23adb2bb$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/frame_ctocpp.h"
|
||||
@@ -315,7 +315,7 @@ NO_SANITIZE("cfi-icall") CefString CefFrameCToCpp::GetName() {
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall") int64 CefFrameCToCpp::GetIdentifier() {
|
||||
NO_SANITIZE("cfi-icall") int64_t CefFrameCToCpp::GetIdentifier() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_frame_t* _struct = GetStruct();
|
||||
@@ -326,7 +326,7 @@ NO_SANITIZE("cfi-icall") int64 CefFrameCToCpp::GetIdentifier() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
int64 _retval = _struct->get_identifier(_struct);
|
||||
int64_t _retval = _struct->get_identifier(_struct);
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=6b1e5c1fa56a6561a054d35866e1c598c7e64368$
|
||||
// $hash=6215ffe1d66a8b1fd9c9acbebfc792e5acc68490$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_FRAME_CTOCPP_H_
|
||||
@@ -58,7 +58,7 @@ class CefFrameCToCpp
|
||||
bool IsMain() override;
|
||||
bool IsFocused() override;
|
||||
CefString GetName() override;
|
||||
int64 GetIdentifier() override;
|
||||
int64_t GetIdentifier() override;
|
||||
CefRefPtr<CefFrame> GetParent() override;
|
||||
CefString GetURL() override;
|
||||
CefRefPtr<CefBrowser> GetBrowser() override;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=2525282ec6eb7a1e2f59d464a2136466ecf1aa5b$
|
||||
// $hash=cc22e20810193cde875d9aa027dc140639060787$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/media_access_callback_ctocpp.h"
|
||||
@@ -18,7 +18,7 @@
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefMediaAccessCallbackCToCpp::Continue(uint32 allowed_permissions) {
|
||||
void CefMediaAccessCallbackCToCpp::Continue(uint32_t allowed_permissions) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_media_access_callback_t* _struct = GetStruct();
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=44c5b964bd7f3953354c90ce10979b8612b05ae8$
|
||||
// $hash=36268cf93134620f9e6e79c4fc96c67cb8fa9570$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_MEDIA_ACCESS_CALLBACK_CTOCPP_H_
|
||||
@@ -35,7 +35,7 @@ class CefMediaAccessCallbackCToCpp
|
||||
virtual ~CefMediaAccessCallbackCToCpp();
|
||||
|
||||
// CefMediaAccessCallback methods.
|
||||
void Continue(uint32 allowed_permissions) override;
|
||||
void Continue(uint32_t allowed_permissions) override;
|
||||
void Cancel() override;
|
||||
};
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=866524abe3d8f0ad9953a6364bbb49f625fe3a38$
|
||||
// $hash=2461a078bc8ccb378b66d02981ca0dbe0f631452$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/permission_handler_ctocpp.h"
|
||||
@@ -26,7 +26,7 @@ bool CefPermissionHandlerCToCpp::OnRequestMediaAccessPermission(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
const CefString& requesting_origin,
|
||||
uint32 requested_permissions,
|
||||
uint32_t requested_permissions,
|
||||
CefRefPtr<CefMediaAccessCallback> callback) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
@@ -71,9 +71,9 @@ bool CefPermissionHandlerCToCpp::OnRequestMediaAccessPermission(
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefPermissionHandlerCToCpp::OnShowPermissionPrompt(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
uint64 prompt_id,
|
||||
uint64_t prompt_id,
|
||||
const CefString& requesting_origin,
|
||||
uint32 requested_permissions,
|
||||
uint32_t requested_permissions,
|
||||
CefRefPtr<CefPermissionPromptCallback> callback) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
@@ -113,7 +113,7 @@ bool CefPermissionHandlerCToCpp::OnShowPermissionPrompt(
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefPermissionHandlerCToCpp::OnDismissPermissionPrompt(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
uint64 prompt_id,
|
||||
uint64_t prompt_id,
|
||||
cef_permission_request_result_t result) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d04848217552f94ca2bd3647ce973b92a0e62a01$
|
||||
// $hash=71589a699700902297887e1f07de72df32630f15$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_PERMISSION_HANDLER_CTOCPP_H_
|
||||
@@ -39,17 +39,17 @@ class CefPermissionHandlerCToCpp
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
const CefString& requesting_origin,
|
||||
uint32 requested_permissions,
|
||||
uint32_t requested_permissions,
|
||||
CefRefPtr<CefMediaAccessCallback> callback) override;
|
||||
bool OnShowPermissionPrompt(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
uint64 prompt_id,
|
||||
uint64_t prompt_id,
|
||||
const CefString& requesting_origin,
|
||||
uint32 requested_permissions,
|
||||
uint32_t requested_permissions,
|
||||
CefRefPtr<CefPermissionPromptCallback> callback) override;
|
||||
void OnDismissPermissionPrompt(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
uint64 prompt_id,
|
||||
uint64_t prompt_id,
|
||||
cef_permission_request_result_t result) override;
|
||||
};
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d38e55ad4edf278002de04d58023524d7ce633a8$
|
||||
// $hash=b13f9e52b84e1d9be3f7a43927002ae2e57d4636$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/read_handler_ctocpp.h"
|
||||
@@ -42,7 +42,7 @@ size_t CefReadHandlerCToCpp::Read(void* ptr, size_t size, size_t n) {
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefReadHandlerCToCpp::Seek(int64 offset, int whence) {
|
||||
int CefReadHandlerCToCpp::Seek(int64_t offset, int whence) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_read_handler_t* _struct = GetStruct();
|
||||
@@ -59,7 +59,7 @@ int CefReadHandlerCToCpp::Seek(int64 offset, int whence) {
|
||||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall") int64 CefReadHandlerCToCpp::Tell() {
|
||||
NO_SANITIZE("cfi-icall") int64_t CefReadHandlerCToCpp::Tell() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_read_handler_t* _struct = GetStruct();
|
||||
@@ -70,7 +70,7 @@ NO_SANITIZE("cfi-icall") int64 CefReadHandlerCToCpp::Tell() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
int64 _retval = _struct->tell(_struct);
|
||||
int64_t _retval = _struct->tell(_struct);
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d4b05ef2f8edd18da8b5ed9c5d4afe8162f81069$
|
||||
// $hash=9ff5c66c86a68f0a11093ca3e871261be66c16b9$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_READ_HANDLER_CTOCPP_H_
|
||||
@@ -35,8 +35,8 @@ class CefReadHandlerCToCpp : public CefCToCppRefCounted<CefReadHandlerCToCpp,
|
||||
|
||||
// CefReadHandler methods.
|
||||
size_t Read(void* ptr, size_t size, size_t n) override;
|
||||
int Seek(int64 offset, int whence) override;
|
||||
int64 Tell() override;
|
||||
int Seek(int64_t offset, int whence) override;
|
||||
int64_t Tell() override;
|
||||
int Eof() override;
|
||||
bool MayBlock() override;
|
||||
};
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=6f9bdbf9eefdaee77d0e87c1c55b564752e903cd$
|
||||
// $hash=f8ac1c909cbcf2dfa78c14cfc790b5ea01b11dde$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/request_ctocpp.h"
|
||||
@@ -432,7 +432,7 @@ CefRequest::TransitionType CefRequestCToCpp::GetTransitionType() {
|
||||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall") uint64 CefRequestCToCpp::GetIdentifier() {
|
||||
NO_SANITIZE("cfi-icall") uint64_t CefRequestCToCpp::GetIdentifier() {
|
||||
cef_request_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_identifier)) {
|
||||
return 0;
|
||||
@@ -441,7 +441,7 @@ NO_SANITIZE("cfi-icall") uint64 CefRequestCToCpp::GetIdentifier() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
uint64 _retval = _struct->get_identifier(_struct);
|
||||
uint64_t _retval = _struct->get_identifier(_struct);
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=7e87acb36c494058615248f36c7536368d3d5fb5$
|
||||
// $hash=cede9199ca4b019787a67fe4bc2cb739759f3cd6$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_REQUEST_CTOCPP_H_
|
||||
@@ -60,7 +60,7 @@ class CefRequestCToCpp
|
||||
void SetFirstPartyForCookies(const CefString& url) override;
|
||||
ResourceType GetResourceType() override;
|
||||
TransitionType GetTransitionType() override;
|
||||
uint64 GetIdentifier() override;
|
||||
uint64_t GetIdentifier() override;
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_DLL_CTOCPP_REQUEST_CTOCPP_H_
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=e6ff075b94ab1f2196fd4ba112f014da22cfed8f$
|
||||
// $hash=c5c801a75133b150cef77b8dc88a544064cc74f0$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/resource_handler_ctocpp.h"
|
||||
@@ -96,7 +96,7 @@ bool CefResourceHandlerCToCpp::ProcessRequest(CefRefPtr<CefRequest> request,
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefResourceHandlerCToCpp::GetResponseHeaders(
|
||||
CefRefPtr<CefResponse> response,
|
||||
int64& response_length,
|
||||
int64_t& response_length,
|
||||
CefString& redirectUrl) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
@@ -121,8 +121,8 @@ void CefResourceHandlerCToCpp::GetResponseHeaders(
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefResourceHandlerCToCpp::Skip(
|
||||
int64 bytes_to_skip,
|
||||
int64& bytes_skipped,
|
||||
int64_t bytes_to_skip,
|
||||
int64_t& bytes_skipped,
|
||||
CefRefPtr<CefResourceSkipCallback> callback) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=8cf5fea5fc1d33f8268a4608417a75ef6ee9bf51$
|
||||
// $hash=8fb252b18d67a1b189bd8eafeabde08bf28f0904$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_RESOURCE_HANDLER_CTOCPP_H_
|
||||
@@ -41,10 +41,10 @@ class CefResourceHandlerCToCpp
|
||||
bool ProcessRequest(CefRefPtr<CefRequest> request,
|
||||
CefRefPtr<CefCallback> callback) override;
|
||||
void GetResponseHeaders(CefRefPtr<CefResponse> response,
|
||||
int64& response_length,
|
||||
int64_t& response_length,
|
||||
CefString& redirectUrl) override;
|
||||
bool Skip(int64 bytes_to_skip,
|
||||
int64& bytes_skipped,
|
||||
bool Skip(int64_t bytes_to_skip,
|
||||
int64_t& bytes_skipped,
|
||||
CefRefPtr<CefResourceSkipCallback> callback) override;
|
||||
bool Read(void* data_out,
|
||||
int bytes_to_read,
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=bbb95fcb51fd9200a472d7a35f857750f4f8798b$
|
||||
// $hash=c83807dbfe712034b49de15498c682b0f0e42d71$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/resource_request_handler_ctocpp.h"
|
||||
@@ -226,7 +226,7 @@ void CefResourceRequestHandlerCToCpp::OnResourceLoadComplete(
|
||||
CefRefPtr<CefRequest> request,
|
||||
CefRefPtr<CefResponse> response,
|
||||
URLRequestStatus status,
|
||||
int64 received_content_length) {
|
||||
int64_t received_content_length) {
|
||||
cef_resource_request_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_resource_load_complete)) {
|
||||
return;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=4564ea5efd8c4be32e2df7c98fd70a645eb9f696$
|
||||
// $hash=7d93191b6f6cc58914df4909e3170d11fc826452$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_RESOURCE_REQUEST_HANDLER_CTOCPP_H_
|
||||
@@ -66,7 +66,7 @@ class CefResourceRequestHandlerCToCpp
|
||||
CefRefPtr<CefRequest> request,
|
||||
CefRefPtr<CefResponse> response,
|
||||
URLRequestStatus status,
|
||||
int64 received_content_length) override;
|
||||
int64_t received_content_length) override;
|
||||
void OnProtocolExecution(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
CefRefPtr<CefRequest> request,
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=c91c9abe489d40b7841d1de59c7fecf6cf4af362$
|
||||
// $hash=454b004b9ea5060a540663985fcc76cbf250d69b$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/resource_skip_callback_ctocpp.h"
|
||||
@@ -18,7 +18,7 @@
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefResourceSkipCallbackCToCpp::Continue(int64 bytes_skipped) {
|
||||
void CefResourceSkipCallbackCToCpp::Continue(int64_t bytes_skipped) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_resource_skip_callback_t* _struct = GetStruct();
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=ace627f34f6c16512fb0d7a9a4ebb96e9c00c78d$
|
||||
// $hash=199035206a81ce991d025997baf3e64007d74c65$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_RESOURCE_SKIP_CALLBACK_CTOCPP_H_
|
||||
@@ -35,7 +35,7 @@ class CefResourceSkipCallbackCToCpp
|
||||
virtual ~CefResourceSkipCallbackCToCpp();
|
||||
|
||||
// CefResourceSkipCallback methods.
|
||||
void Continue(int64 bytes_skipped) override;
|
||||
void Continue(int64_t bytes_skipped) override;
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_DLL_CTOCPP_RESOURCE_SKIP_CALLBACK_CTOCPP_H_
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=f1a9552e2522cec989f7267b64a4298964982d46$
|
||||
// $hash=c8c7a86f0fb91ad4ddca453253038e540b63f313$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/server_ctocpp.h"
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefServer::CreateServer(const CefString& address,
|
||||
uint16 port,
|
||||
uint16_t port,
|
||||
int backlog,
|
||||
CefRefPtr<CefServerHandler> handler) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
@@ -222,7 +222,7 @@ NO_SANITIZE("cfi-icall")
|
||||
void CefServerCToCpp::SendHttpResponse(int connection_id,
|
||||
int response_code,
|
||||
const CefString& content_type,
|
||||
int64 content_length,
|
||||
int64_t content_length,
|
||||
const HeaderMap& extra_headers) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=efb9652f9e2a17079ff20457264e8b0ecfd19499$
|
||||
// $hash=f46aa5f341aa11d832e6e90847eaa3fa3c8a84a8$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_SERVER_CTOCPP_H_
|
||||
@@ -49,7 +49,7 @@ class CefServerCToCpp
|
||||
void SendHttpResponse(int connection_id,
|
||||
int response_code,
|
||||
const CefString& content_type,
|
||||
int64 content_length,
|
||||
int64_t content_length,
|
||||
const HeaderMap& extra_headers) override;
|
||||
void SendRawData(int connection_id,
|
||||
const void* data,
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=baecf84629a6ee97545572b2973650c5d7938938$
|
||||
// $hash=c96da6d6c400b9d7ed7f60d94502fe933b63aba1$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/stream_reader_ctocpp.h"
|
||||
@@ -107,7 +107,7 @@ size_t CefStreamReaderCToCpp::Read(void* ptr, size_t size, size_t n) {
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefStreamReaderCToCpp::Seek(int64 offset, int whence) {
|
||||
int CefStreamReaderCToCpp::Seek(int64_t offset, int whence) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_stream_reader_t* _struct = GetStruct();
|
||||
@@ -124,7 +124,7 @@ int CefStreamReaderCToCpp::Seek(int64 offset, int whence) {
|
||||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall") int64 CefStreamReaderCToCpp::Tell() {
|
||||
NO_SANITIZE("cfi-icall") int64_t CefStreamReaderCToCpp::Tell() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_stream_reader_t* _struct = GetStruct();
|
||||
@@ -135,7 +135,7 @@ NO_SANITIZE("cfi-icall") int64 CefStreamReaderCToCpp::Tell() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
int64 _retval = _struct->tell(_struct);
|
||||
int64_t _retval = _struct->tell(_struct);
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=8a1cd61b67d54a528ac936415fa11ff1936cd628$
|
||||
// $hash=f9d6d1b80e4e2d30bddc9eb6e473c1f530186654$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_STREAM_READER_CTOCPP_H_
|
||||
@@ -35,8 +35,8 @@ class CefStreamReaderCToCpp : public CefCToCppRefCounted<CefStreamReaderCToCpp,
|
||||
|
||||
// CefStreamReader methods.
|
||||
size_t Read(void* ptr, size_t size, size_t n) override;
|
||||
int Seek(int64 offset, int whence) override;
|
||||
int64 Tell() override;
|
||||
int Seek(int64_t offset, int whence) override;
|
||||
int64_t Tell() override;
|
||||
int Eof() override;
|
||||
bool MayBlock() override;
|
||||
};
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=2bbeabe2eb7355b48188a0c0806fba7d08dc3144$
|
||||
// $hash=dcffd9ca0bb9504371e7c207e6e9768f9f4c31ae$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/stream_writer_ctocpp.h"
|
||||
@@ -87,7 +87,7 @@ size_t CefStreamWriterCToCpp::Write(const void* ptr, size_t size, size_t n) {
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefStreamWriterCToCpp::Seek(int64 offset, int whence) {
|
||||
int CefStreamWriterCToCpp::Seek(int64_t offset, int whence) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_stream_writer_t* _struct = GetStruct();
|
||||
@@ -104,7 +104,7 @@ int CefStreamWriterCToCpp::Seek(int64 offset, int whence) {
|
||||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall") int64 CefStreamWriterCToCpp::Tell() {
|
||||
NO_SANITIZE("cfi-icall") int64_t CefStreamWriterCToCpp::Tell() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_stream_writer_t* _struct = GetStruct();
|
||||
@@ -115,7 +115,7 @@ NO_SANITIZE("cfi-icall") int64 CefStreamWriterCToCpp::Tell() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
int64 _retval = _struct->tell(_struct);
|
||||
int64_t _retval = _struct->tell(_struct);
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=f1156f9657858024d8d0dc20af0b5f53e82b5d74$
|
||||
// $hash=e5131e9cf438a098db3ceec47c2a666f703b6d10$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_STREAM_WRITER_CTOCPP_H_
|
||||
@@ -35,8 +35,8 @@ class CefStreamWriterCToCpp : public CefCToCppRefCounted<CefStreamWriterCToCpp,
|
||||
|
||||
// CefStreamWriter methods.
|
||||
size_t Write(const void* ptr, size_t size, size_t n) override;
|
||||
int Seek(int64 offset, int whence) override;
|
||||
int64 Tell() override;
|
||||
int Seek(int64_t offset, int whence) override;
|
||||
int64_t Tell() override;
|
||||
int Flush() override;
|
||||
bool MayBlock() override;
|
||||
};
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=fbc7a64ec7f731112c32185bf2ecd9bfd9920a34$
|
||||
// $hash=f058d18f988de0b2bbc131907080bdef50fe6290$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/task_runner_ctocpp.h"
|
||||
@@ -131,7 +131,7 @@ bool CefTaskRunnerCToCpp::PostTask(CefRefPtr<CefTask> task) {
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefTaskRunnerCToCpp::PostDelayedTask(CefRefPtr<CefTask> task,
|
||||
int64 delay_ms) {
|
||||
int64_t delay_ms) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
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=372cc40047bb36d78f80f4d1edbbba30faad2c7f$
|
||||
// $hash=614f17d01c97522a373ef4a4710202bbe6b76d11$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_TASK_RUNNER_CTOCPP_H_
|
||||
@@ -38,7 +38,7 @@ class CefTaskRunnerCToCpp : public CefCToCppRefCounted<CefTaskRunnerCToCpp,
|
||||
bool BelongsToCurrentThread() override;
|
||||
bool BelongsToThread(CefThreadId threadId) override;
|
||||
bool PostTask(CefRefPtr<CefTask> task) override;
|
||||
bool PostDelayedTask(CefRefPtr<CefTask> task, int64 delay_ms) override;
|
||||
bool PostDelayedTask(CefRefPtr<CefTask> task, int64_t delay_ms) override;
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_DLL_CTOCPP_TASK_RUNNER_CTOCPP_H_
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=50c7d4b9b04e640de46aa816dc44b8eeb718cc79$
|
||||
// $hash=9d289e78e4406bbe55872a7132531c0b9673bc47$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/test/test_server_ctocpp.h"
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefTestServer> CefTestServer::CreateAndStart(
|
||||
uint16 port,
|
||||
uint16_t port,
|
||||
bool https_server,
|
||||
cef_test_cert_type_t https_cert_type,
|
||||
CefRefPtr<CefTestServerHandler> handler) {
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=01563ca6bfdf4177e300fd94befec528e5a3d2c8$
|
||||
// $hash=4d593132f79049ee1f5bc752b17d0a5c3a9aff91$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/urlrequest_client_ctocpp.h"
|
||||
@@ -44,8 +44,8 @@ void CefURLRequestClientCToCpp::OnRequestComplete(
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefURLRequestClientCToCpp::OnUploadProgress(
|
||||
CefRefPtr<CefURLRequest> request,
|
||||
int64 current,
|
||||
int64 total) {
|
||||
int64_t current,
|
||||
int64_t total) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_urlrequest_client_t* _struct = GetStruct();
|
||||
@@ -69,8 +69,8 @@ void CefURLRequestClientCToCpp::OnUploadProgress(
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefURLRequestClientCToCpp::OnDownloadProgress(
|
||||
CefRefPtr<CefURLRequest> request,
|
||||
int64 current,
|
||||
int64 total) {
|
||||
int64_t current,
|
||||
int64_t total) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_urlrequest_client_t* _struct = GetStruct();
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=50740eddae0ae234cf24d2b73eadcfdb16fcf0f0$
|
||||
// $hash=0b70adb9a01fcb166ffa6b310825a4d9679a8d23$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_URLREQUEST_CLIENT_CTOCPP_H_
|
||||
@@ -37,11 +37,11 @@ class CefURLRequestClientCToCpp
|
||||
// CefURLRequestClient methods.
|
||||
void OnRequestComplete(CefRefPtr<CefURLRequest> request) override;
|
||||
void OnUploadProgress(CefRefPtr<CefURLRequest> request,
|
||||
int64 current,
|
||||
int64 total) override;
|
||||
int64_t current,
|
||||
int64_t total) override;
|
||||
void OnDownloadProgress(CefRefPtr<CefURLRequest> request,
|
||||
int64 current,
|
||||
int64 total) override;
|
||||
int64_t current,
|
||||
int64_t total) override;
|
||||
void OnDownloadData(CefRefPtr<CefURLRequest> request,
|
||||
const void* data,
|
||||
size_t data_length) override;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=2d4ed978e25a9db2be8740bb076b9750723e45e1$
|
||||
// $hash=459c331b0c02f55c4b700761ad2132d7320fd467$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/v8value_ctocpp.h"
|
||||
@@ -56,7 +56,7 @@ CefRefPtr<CefV8Value> CefV8Value::CreateBool(bool value) {
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefV8Value> CefV8Value::CreateInt(int32 value) {
|
||||
CefRefPtr<CefV8Value> CefV8Value::CreateInt(int32_t value) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
@@ -67,7 +67,7 @@ CefRefPtr<CefV8Value> CefV8Value::CreateInt(int32 value) {
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
CefRefPtr<CefV8Value> CefV8Value::CreateUInt(uint32 value) {
|
||||
CefRefPtr<CefV8Value> CefV8Value::CreateUInt(uint32_t value) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
@@ -451,7 +451,7 @@ NO_SANITIZE("cfi-icall") bool CefV8ValueCToCpp::GetBoolValue() {
|
||||
return _retval ? true : false;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall") int32 CefV8ValueCToCpp::GetIntValue() {
|
||||
NO_SANITIZE("cfi-icall") int32_t CefV8ValueCToCpp::GetIntValue() {
|
||||
cef_v8value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_int_value)) {
|
||||
return 0;
|
||||
@@ -460,13 +460,13 @@ NO_SANITIZE("cfi-icall") int32 CefV8ValueCToCpp::GetIntValue() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
int32 _retval = _struct->get_int_value(_struct);
|
||||
int32_t _retval = _struct->get_int_value(_struct);
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall") uint32 CefV8ValueCToCpp::GetUIntValue() {
|
||||
NO_SANITIZE("cfi-icall") uint32_t CefV8ValueCToCpp::GetUIntValue() {
|
||||
cef_v8value_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_uint_value)) {
|
||||
return 0;
|
||||
@@ -475,7 +475,7 @@ NO_SANITIZE("cfi-icall") uint32 CefV8ValueCToCpp::GetUIntValue() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
uint32 _retval = _struct->get_uint_value(_struct);
|
||||
uint32_t _retval = _struct->get_uint_value(_struct);
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=ec4b3cb221b3fcfb0f8f5e35aa351d3696cb78bb$
|
||||
// $hash=cab5b018f6706a3c8496865e0c9f30fcbc94cdd8$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_V8VALUE_CTOCPP_H_
|
||||
@@ -50,8 +50,8 @@ class CefV8ValueCToCpp
|
||||
bool IsPromise() override;
|
||||
bool IsSame(CefRefPtr<CefV8Value> that) override;
|
||||
bool GetBoolValue() override;
|
||||
int32 GetIntValue() override;
|
||||
uint32 GetUIntValue() override;
|
||||
int32_t GetIntValue() override;
|
||||
uint32_t GetUIntValue() override;
|
||||
double GetDoubleValue() override;
|
||||
CefBaseTime GetDateValue() override;
|
||||
CefString GetStringValue() override;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=b80bdf378a812e1ab80aaf67c1042c69223eaa6b$
|
||||
// $hash=d53ce4c040c4839540a656901efd75e55720de98$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/display_ctocpp.h"
|
||||
@@ -164,7 +164,7 @@ CefRect CefDisplay::ConvertScreenRectFromPixels(const CefRect& rect) {
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
NO_SANITIZE("cfi-icall") int64 CefDisplayCToCpp::GetID() {
|
||||
NO_SANITIZE("cfi-icall") int64_t CefDisplayCToCpp::GetID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_display_t* _struct = GetStruct();
|
||||
@@ -175,7 +175,7 @@ NO_SANITIZE("cfi-icall") int64 CefDisplayCToCpp::GetID() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
int64 _retval = _struct->get_id(_struct);
|
||||
int64_t _retval = _struct->get_id(_struct);
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=a05d5f989630c0c031cbe9cc04150a6e1e54c4d4$
|
||||
// $hash=344eaf627105f0a3b80b44e1d576baa7f2cdc47d$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_DISPLAY_CTOCPP_H_
|
||||
@@ -33,7 +33,7 @@ class CefDisplayCToCpp
|
||||
virtual ~CefDisplayCToCpp();
|
||||
|
||||
// CefDisplay methods.
|
||||
int64 GetID() override;
|
||||
int64_t GetID() override;
|
||||
float GetDeviceScaleFactor() override;
|
||||
void ConvertPointToPixels(CefPoint& point) override;
|
||||
void ConvertPointFromPixels(CefPoint& point) override;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=30ee552d6bcf02136ce44a3bb5d0d0be7eb112c0$
|
||||
// $hash=29399b84620b09e086f65f712b50573d7fcd1be8$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/window_ctocpp.h"
|
||||
@@ -589,7 +589,7 @@ NO_SANITIZE("cfi-icall") CefWindowHandle CefWindowCToCpp::GetWindowHandle() {
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
void CefWindowCToCpp::SendKeyPress(int key_code, uint32 event_flags) {
|
||||
void CefWindowCToCpp::SendKeyPress(int key_code, uint32_t event_flags) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_window_t* _struct = GetStruct();
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=a16d73107ffbbcdb06153c0bfcc5e4ac43bbadb0$
|
||||
// $hash=5ea05d2b5c24bfc214a529d62fba2e69ea626b78$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_WINDOW_CTOCPP_H_
|
||||
@@ -70,7 +70,7 @@ class CefWindowCToCpp
|
||||
void SetDraggableRegions(
|
||||
const std::vector<CefDraggableRegion>& regions) override;
|
||||
CefWindowHandle GetWindowHandle() override;
|
||||
void SendKeyPress(int key_code, uint32 event_flags) override;
|
||||
void SendKeyPress(int key_code, uint32_t event_flags) override;
|
||||
void SendMouseMove(int screen_x, int screen_y) override;
|
||||
void SendMouseEvents(cef_mouse_button_type_t button,
|
||||
bool mouse_down,
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=39c5b39b7ba2c9b80a75e0c0882145842ee7200d$
|
||||
// $hash=5a17c94ca2e63c936ad570de435893b55326df42$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/waitable_event_ctocpp.h"
|
||||
@@ -94,7 +94,8 @@ NO_SANITIZE("cfi-icall") void CefWaitableEventCToCpp::Wait() {
|
||||
_struct->wait(_struct);
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall") bool CefWaitableEventCToCpp::TimedWait(int64 max_ms) {
|
||||
NO_SANITIZE("cfi-icall")
|
||||
bool CefWaitableEventCToCpp::TimedWait(int64_t max_ms) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_waitable_event_t* _struct = GetStruct();
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=ea92b8c5871694e9c32c29a5d554774afe7aa3dd$
|
||||
// $hash=587149e6f5d7d1dd1200f6ce7dd7294da82417cf$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_WAITABLE_EVENT_CTOCPP_H_
|
||||
@@ -39,7 +39,7 @@ class CefWaitableEventCToCpp
|
||||
void Signal() override;
|
||||
bool IsSignaled() override;
|
||||
void Wait() override;
|
||||
bool TimedWait(int64 max_ms) override;
|
||||
bool TimedWait(int64_t max_ms) override;
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_DLL_CTOCPP_WAITABLE_EVENT_CTOCPP_H_
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=5bd2fb1e0278480edade1fa59ea7321ca39cfa19$
|
||||
// $hash=7e4a0a11aab2b3b4cfedb6cd6efe099b154a9063$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/write_handler_ctocpp.h"
|
||||
@@ -42,7 +42,7 @@ size_t CefWriteHandlerCToCpp::Write(const void* ptr, size_t size, size_t n) {
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
int CefWriteHandlerCToCpp::Seek(int64 offset, int whence) {
|
||||
int CefWriteHandlerCToCpp::Seek(int64_t offset, int whence) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_write_handler_t* _struct = GetStruct();
|
||||
@@ -59,7 +59,7 @@ int CefWriteHandlerCToCpp::Seek(int64 offset, int whence) {
|
||||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall") int64 CefWriteHandlerCToCpp::Tell() {
|
||||
NO_SANITIZE("cfi-icall") int64_t CefWriteHandlerCToCpp::Tell() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_write_handler_t* _struct = GetStruct();
|
||||
@@ -70,7 +70,7 @@ NO_SANITIZE("cfi-icall") int64 CefWriteHandlerCToCpp::Tell() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
int64 _retval = _struct->tell(_struct);
|
||||
int64_t _retval = _struct->tell(_struct);
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=56728a12a3e14ab71d1dee991a7912d5d3c111f6$
|
||||
// $hash=e5d33f6123dce1c11aaeb7fefe9d86eb244dda7e$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_WRITE_HANDLER_CTOCPP_H_
|
||||
@@ -35,8 +35,8 @@ class CefWriteHandlerCToCpp : public CefCToCppRefCounted<CefWriteHandlerCToCpp,
|
||||
|
||||
// CefWriteHandler methods.
|
||||
size_t Write(const void* ptr, size_t size, size_t n) override;
|
||||
int Seek(int64 offset, int whence) override;
|
||||
int64 Tell() override;
|
||||
int Seek(int64_t offset, int whence) override;
|
||||
int64_t Tell() override;
|
||||
int Flush() override;
|
||||
bool MayBlock() override;
|
||||
};
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=1c8a7adb48ee3403ecae28f61f8f175fc819c2c3$
|
||||
// $hash=d1ddb1f38bfc28dec90884ee9cfc9e5e79583a4e$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/zip_reader_ctocpp.h"
|
||||
@@ -137,7 +137,7 @@ NO_SANITIZE("cfi-icall") CefString CefZipReaderCToCpp::GetFileName() {
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall") int64 CefZipReaderCToCpp::GetFileSize() {
|
||||
NO_SANITIZE("cfi-icall") int64_t CefZipReaderCToCpp::GetFileSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_zip_reader_t* _struct = GetStruct();
|
||||
@@ -148,7 +148,7 @@ NO_SANITIZE("cfi-icall") int64 CefZipReaderCToCpp::GetFileSize() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
int64 _retval = _struct->get_file_size(_struct);
|
||||
int64_t _retval = _struct->get_file_size(_struct);
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
@@ -232,7 +232,7 @@ int CefZipReaderCToCpp::ReadFile(void* buffer, size_t bufferSize) {
|
||||
return _retval;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall") int64 CefZipReaderCToCpp::Tell() {
|
||||
NO_SANITIZE("cfi-icall") int64_t CefZipReaderCToCpp::Tell() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_zip_reader_t* _struct = GetStruct();
|
||||
@@ -243,7 +243,7 @@ NO_SANITIZE("cfi-icall") int64 CefZipReaderCToCpp::Tell() {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
int64 _retval = _struct->tell(_struct);
|
||||
int64_t _retval = _struct->tell(_struct);
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=607dfcaa8f19f7510fc4f87fc31a8754369fdc3a$
|
||||
// $hash=78a547d4bdefaadebcaefda5fed81dfe0e0124cb$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_ZIP_READER_CTOCPP_H_
|
||||
@@ -39,12 +39,12 @@ class CefZipReaderCToCpp : public CefCToCppRefCounted<CefZipReaderCToCpp,
|
||||
bool MoveToFile(const CefString& fileName, bool caseSensitive) override;
|
||||
bool Close() override;
|
||||
CefString GetFileName() override;
|
||||
int64 GetFileSize() override;
|
||||
int64_t GetFileSize() override;
|
||||
CefBaseTime GetFileLastModified() override;
|
||||
bool OpenFile(const CefString& password) override;
|
||||
bool CloseFile() override;
|
||||
int ReadFile(void* buffer, size_t bufferSize) override;
|
||||
int64 Tell() override;
|
||||
int64_t Tell() override;
|
||||
bool Eof() override;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user