mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update generated files for copyright year and bracket style
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=f20a2530c9b5ad72cccd301ee4234a16132c487d$
|
||||
// $hash=1ed29ea773cbebaa14bbd019d7902d98e336e964$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/accessibility_handler_cpptoc.h"
|
||||
@@ -28,12 +28,14 @@ void CEF_CALLBACK accessibility_handler_on_accessibility_tree_change(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: value; type: refptr_diff
|
||||
DCHECK(value);
|
||||
if (!value)
|
||||
if (!value) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefAccessibilityHandlerCppToC::Get(self)->OnAccessibilityTreeChange(
|
||||
@@ -48,12 +50,14 @@ void CEF_CALLBACK accessibility_handler_on_accessibility_location_change(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: value; type: refptr_diff
|
||||
DCHECK(value);
|
||||
if (!value)
|
||||
if (!value) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefAccessibilityHandlerCppToC::Get(self)->OnAccessibilityLocationChange(
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=0605de17534cba62d36fc1160997660c4a38e40b$
|
||||
// $hash=0d1469b1473cbef38092a2b0624ac33faa6e1d89$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_ACCESSIBILITY_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=ee267b6567062246b9f82b4b50b68d82d2cc939f$
|
||||
// $hash=f90f2c0c5749139bef7c914fbb4f17cfe585e4e8$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/app_cpptoc.h"
|
||||
@@ -30,12 +30,14 @@ void CEF_CALLBACK app_on_before_command_line_processing(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: command_line; type: refptr_diff
|
||||
DCHECK(command_line);
|
||||
if (!command_line)
|
||||
if (!command_line) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: process_type
|
||||
|
||||
// Execute
|
||||
@@ -49,12 +51,14 @@ app_on_register_custom_schemes(struct _cef_app_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: registrar; type: rawptr_diff
|
||||
DCHECK(registrar);
|
||||
if (!registrar)
|
||||
if (!registrar) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: registrar; type: rawptr_diff
|
||||
CefOwnPtr<CefSchemeRegistrar> registrarPtr(
|
||||
@@ -69,8 +73,9 @@ app_get_resource_bundle_handler(struct _cef_app_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefResourceBundleHandler> _retval =
|
||||
@@ -85,8 +90,9 @@ app_get_browser_process_handler(struct _cef_app_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefBrowserProcessHandler> _retval =
|
||||
@@ -101,8 +107,9 @@ app_get_render_process_handler(struct _cef_app_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefRenderProcessHandler> _retval =
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=601455da6a16a7212debdb8184b8f731be4e2f8d$
|
||||
// $hash=a4d3edb584e87581659ded4e0bb20739b2b0efea$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_APP_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=519a82bbea84ea39cadc72c55291e15cb2a74072$
|
||||
// $hash=0e814467a4d428a493930a3e72123dfd6721786e$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/audio_handler_cpptoc.h"
|
||||
@@ -29,16 +29,19 @@ audio_handler_get_audio_parameters(struct _cef_audio_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: params; type: simple_byref
|
||||
DCHECK(params);
|
||||
if (!params)
|
||||
if (!params) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: params; type: simple_byref
|
||||
CefAudioParameters paramsVal = params ? *params : CefAudioParameters();
|
||||
@@ -48,8 +51,9 @@ audio_handler_get_audio_parameters(struct _cef_audio_handler_t* self,
|
||||
CefBrowserCToCpp::Wrap(browser), paramsVal);
|
||||
|
||||
// Restore param: params; type: simple_byref
|
||||
if (params)
|
||||
if (params) {
|
||||
*params = paramsVal;
|
||||
}
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
@@ -65,16 +69,19 @@ audio_handler_on_audio_stream_started(struct _cef_audio_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: params; type: simple_byref_const
|
||||
DCHECK(params);
|
||||
if (!params)
|
||||
if (!params) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: params; type: simple_byref_const
|
||||
CefAudioParameters paramsVal = params ? *params : CefAudioParameters();
|
||||
@@ -95,16 +102,19 @@ audio_handler_on_audio_stream_packet(struct _cef_audio_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: data; type: simple_byaddr
|
||||
DCHECK(data);
|
||||
if (!data)
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefAudioHandlerCppToC::Get(self)->OnAudioStreamPacket(
|
||||
@@ -119,12 +129,14 @@ audio_handler_on_audio_stream_stopped(struct _cef_audio_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefAudioHandlerCppToC::Get(self)->OnAudioStreamStopped(
|
||||
@@ -140,16 +152,19 @@ audio_handler_on_audio_stream_error(struct _cef_audio_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: message; type: string_byref_const
|
||||
DCHECK(message);
|
||||
if (!message)
|
||||
if (!message) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefAudioHandlerCppToC::Get(self)->OnAudioStreamError(
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=352ed71e6c70ef8e5f38e635ed8fc17b2fcc2b4e$
|
||||
// $hash=6d31cfb9774514e0a15c999903fa4eb9ce76634d$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_AUDIO_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=7497a44116b3cfc86eb309dc940c91c7cca78353$
|
||||
// $hash=0a14f97c38bffa0ead433d74df13b04028c44a21$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/auth_callback_cpptoc.h"
|
||||
@@ -27,8 +27,9 @@ void CEF_CALLBACK auth_callback_cont(struct _cef_auth_callback_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: username, password
|
||||
|
||||
// Execute
|
||||
@@ -42,8 +43,9 @@ void CEF_CALLBACK auth_callback_cancel(struct _cef_auth_callback_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefAuthCallbackCppToC::Get(self)->Cancel();
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=036ebbbaaa86b497dda11ef6371e5bc6c9171b04$
|
||||
// $hash=be94cb2e319c4a42e8bc9ee41b78935834e8a59c$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_AUTH_CALLBACK_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=0f0475ffcd9ea6ca7f91616c52c21b3e51b075f3$
|
||||
// $hash=a4ba36a9532aa6e1a10f7e43e9ba26ab3e8faea0$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/before_download_callback_cpptoc.h"
|
||||
@@ -28,8 +28,9 @@ before_download_callback_cont(struct _cef_before_download_callback_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: download_path
|
||||
|
||||
// Execute
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=53a024e4e503f7e107c19ed638684c5708efd6e6$
|
||||
// $hash=76dfadaa2d0f5ef6cdb8621cad3136e89b33ae25$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_BEFORE_DOWNLOAD_CALLBACK_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=fd59a248f99060800fc3bab5c381784eb3309a57$
|
||||
// $hash=ae640fec7d7fd1ba5c4b373b0a4f5036f90ab744$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/binary_value_cpptoc.h"
|
||||
@@ -25,8 +25,9 @@ CEF_EXPORT cef_binary_value_t* cef_binary_value_create(const void* data,
|
||||
|
||||
// Verify param: data; type: simple_byaddr
|
||||
DCHECK(data);
|
||||
if (!data)
|
||||
if (!data) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefBinaryValue> _retval = CefBinaryValue::Create(data, data_size);
|
||||
@@ -45,8 +46,9 @@ int CEF_CALLBACK binary_value_is_valid(struct _cef_binary_value_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBinaryValueCppToC::Get(self)->IsValid();
|
||||
@@ -61,8 +63,9 @@ int CEF_CALLBACK binary_value_is_owned(struct _cef_binary_value_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBinaryValueCppToC::Get(self)->IsOwned();
|
||||
@@ -78,12 +81,14 @@ int CEF_CALLBACK binary_value_is_same(struct _cef_binary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that);
|
||||
if (!that)
|
||||
if (!that) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBinaryValueCppToC::Get(self)->IsSame(
|
||||
@@ -100,12 +105,14 @@ int CEF_CALLBACK binary_value_is_equal(struct _cef_binary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that);
|
||||
if (!that)
|
||||
if (!that) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBinaryValueCppToC::Get(self)->IsEqual(
|
||||
@@ -122,8 +129,9 @@ binary_value_copy(struct _cef_binary_value_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefBinaryValue> _retval = CefBinaryValueCppToC::Get(self)->Copy();
|
||||
@@ -138,8 +146,9 @@ size_t CEF_CALLBACK binary_value_get_size(struct _cef_binary_value_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
size_t _retval = CefBinaryValueCppToC::Get(self)->GetSize();
|
||||
@@ -157,12 +166,14 @@ size_t CEF_CALLBACK binary_value_get_data(struct _cef_binary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: buffer; type: simple_byaddr
|
||||
DCHECK(buffer);
|
||||
if (!buffer)
|
||||
if (!buffer) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
size_t _retval = CefBinaryValueCppToC::Get(self)->GetData(buffer, buffer_size,
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=83361bb9395a566ef5bfcd9d87eade8df222d075$
|
||||
// $hash=bdc631b2bd2c0a68146e823e0ff23e1b3a455023$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_BINARY_VALUE_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=074dadfb1f84663a3efd6e8532257236b3c0634f$
|
||||
// $hash=60cc6a84bbd0c6822e9722687de05d265a3d8a1b$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/browser_cpptoc.h"
|
||||
@@ -29,8 +29,9 @@ int CEF_CALLBACK browser_is_valid(struct _cef_browser_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBrowserCppToC::Get(self)->IsValid();
|
||||
@@ -46,8 +47,9 @@ browser_get_host(struct _cef_browser_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefBrowserHost> _retval = CefBrowserCppToC::Get(self)->GetHost();
|
||||
@@ -62,8 +64,9 @@ int CEF_CALLBACK browser_can_go_back(struct _cef_browser_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBrowserCppToC::Get(self)->CanGoBack();
|
||||
@@ -78,8 +81,9 @@ void CEF_CALLBACK browser_go_back(struct _cef_browser_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserCppToC::Get(self)->GoBack();
|
||||
@@ -91,8 +95,9 @@ int CEF_CALLBACK browser_can_go_forward(struct _cef_browser_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBrowserCppToC::Get(self)->CanGoForward();
|
||||
@@ -107,8 +112,9 @@ void CEF_CALLBACK browser_go_forward(struct _cef_browser_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserCppToC::Get(self)->GoForward();
|
||||
@@ -120,8 +126,9 @@ int CEF_CALLBACK browser_is_loading(struct _cef_browser_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBrowserCppToC::Get(self)->IsLoading();
|
||||
@@ -136,8 +143,9 @@ void CEF_CALLBACK browser_reload(struct _cef_browser_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserCppToC::Get(self)->Reload();
|
||||
@@ -149,8 +157,9 @@ void CEF_CALLBACK browser_reload_ignore_cache(struct _cef_browser_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserCppToC::Get(self)->ReloadIgnoreCache();
|
||||
@@ -162,8 +171,9 @@ void CEF_CALLBACK browser_stop_load(struct _cef_browser_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserCppToC::Get(self)->StopLoad();
|
||||
@@ -175,8 +185,9 @@ int CEF_CALLBACK browser_get_identifier(struct _cef_browser_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = CefBrowserCppToC::Get(self)->GetIdentifier();
|
||||
@@ -192,12 +203,14 @@ int CEF_CALLBACK browser_is_same(struct _cef_browser_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that);
|
||||
if (!that)
|
||||
if (!that) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@@ -213,8 +226,9 @@ int CEF_CALLBACK browser_is_popup(struct _cef_browser_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBrowserCppToC::Get(self)->IsPopup();
|
||||
@@ -229,8 +243,9 @@ int CEF_CALLBACK browser_has_document(struct _cef_browser_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBrowserCppToC::Get(self)->HasDocument();
|
||||
@@ -246,8 +261,9 @@ browser_get_main_frame(struct _cef_browser_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefFrame> _retval = CefBrowserCppToC::Get(self)->GetMainFrame();
|
||||
@@ -263,8 +279,9 @@ browser_get_focused_frame(struct _cef_browser_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefFrame> _retval = CefBrowserCppToC::Get(self)->GetFocusedFrame();
|
||||
@@ -280,8 +297,9 @@ browser_get_frame_byident(struct _cef_browser_t* self, int64 identifier) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefFrame> _retval =
|
||||
@@ -298,8 +316,9 @@ struct _cef_frame_t* CEF_CALLBACK browser_get_frame(struct _cef_browser_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
// Unverified params: name
|
||||
|
||||
// Execute
|
||||
@@ -316,8 +335,9 @@ size_t CEF_CALLBACK browser_get_frame_count(struct _cef_browser_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
size_t _retval = CefBrowserCppToC::Get(self)->GetFrameCount();
|
||||
@@ -334,12 +354,14 @@ void CEF_CALLBACK browser_get_frame_identifiers(struct _cef_browser_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: identifiers; type: simple_vec_byref
|
||||
DCHECK(identifiersCount && (*identifiersCount == 0 || identifiers));
|
||||
if (!identifiersCount || (*identifiersCount > 0 && !identifiers))
|
||||
if (!identifiersCount || (*identifiersCount > 0 && !identifiers)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: identifiers; type: simple_vec_byref
|
||||
std::vector<int64> identifiersList;
|
||||
@@ -370,12 +392,14 @@ void CEF_CALLBACK browser_get_frame_names(struct _cef_browser_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: names; type: string_vec_byref
|
||||
DCHECK(names);
|
||||
if (!names)
|
||||
if (!names) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: names; type: string_vec_byref
|
||||
std::vector<CefString> namesList;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=68e6a8ff4e47ec0c3c767d80746091550b9d11dc$
|
||||
// $hash=01e044c521a174528e137e4b131d9df95875eb65$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_BROWSER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=3a9153112764b124ef7b38c7a29970c84a0b6b30$
|
||||
// $hash=c4f784a8632ae70a588619db29e826fac26531e1$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/browser_host_cpptoc.h"
|
||||
@@ -45,16 +45,18 @@ CEF_EXPORT int cef_browser_host_create_browser(
|
||||
|
||||
// Verify param: windowInfo; type: struct_byref_const
|
||||
DCHECK(windowInfo);
|
||||
if (!windowInfo)
|
||||
if (!windowInfo) {
|
||||
return 0;
|
||||
}
|
||||
if (!template_util::has_valid_size(windowInfo)) {
|
||||
NOTREACHED() << "invalid windowInfo->[base.]size";
|
||||
return 0;
|
||||
}
|
||||
// Verify param: settings; type: struct_byref_const
|
||||
DCHECK(settings);
|
||||
if (!settings)
|
||||
if (!settings) {
|
||||
return 0;
|
||||
}
|
||||
if (!template_util::has_valid_size(settings)) {
|
||||
NOTREACHED() << "invalid settings->[base.]size";
|
||||
return 0;
|
||||
@@ -63,12 +65,14 @@ CEF_EXPORT int cef_browser_host_create_browser(
|
||||
|
||||
// Translate param: windowInfo; type: struct_byref_const
|
||||
CefWindowInfo windowInfoObj;
|
||||
if (windowInfo)
|
||||
if (windowInfo) {
|
||||
windowInfoObj.Set(*windowInfo, false);
|
||||
}
|
||||
// Translate param: settings; type: struct_byref_const
|
||||
CefBrowserSettings settingsObj;
|
||||
if (settings)
|
||||
if (settings) {
|
||||
settingsObj.Set(*settings, false);
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBrowserHost::CreateBrowser(
|
||||
@@ -93,16 +97,18 @@ CEF_EXPORT cef_browser_t* cef_browser_host_create_browser_sync(
|
||||
|
||||
// Verify param: windowInfo; type: struct_byref_const
|
||||
DCHECK(windowInfo);
|
||||
if (!windowInfo)
|
||||
if (!windowInfo) {
|
||||
return NULL;
|
||||
}
|
||||
if (!template_util::has_valid_size(windowInfo)) {
|
||||
NOTREACHED() << "invalid windowInfo->[base.]size";
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: settings; type: struct_byref_const
|
||||
DCHECK(settings);
|
||||
if (!settings)
|
||||
if (!settings) {
|
||||
return NULL;
|
||||
}
|
||||
if (!template_util::has_valid_size(settings)) {
|
||||
NOTREACHED() << "invalid settings->[base.]size";
|
||||
return NULL;
|
||||
@@ -111,12 +117,14 @@ CEF_EXPORT cef_browser_t* cef_browser_host_create_browser_sync(
|
||||
|
||||
// Translate param: windowInfo; type: struct_byref_const
|
||||
CefWindowInfo windowInfoObj;
|
||||
if (windowInfo)
|
||||
if (windowInfo) {
|
||||
windowInfoObj.Set(*windowInfo, false);
|
||||
}
|
||||
// Translate param: settings; type: struct_byref_const
|
||||
CefBrowserSettings settingsObj;
|
||||
if (settings)
|
||||
if (settings) {
|
||||
settingsObj.Set(*settings, false);
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefBrowser> _retval = CefBrowserHost::CreateBrowserSync(
|
||||
@@ -139,8 +147,9 @@ browser_host_get_browser(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefBrowser> _retval = CefBrowserHostCppToC::Get(self)->GetBrowser();
|
||||
@@ -156,8 +165,9 @@ void CEF_CALLBACK browser_host_close_browser(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->CloseBrowser(force_close ? true : false);
|
||||
@@ -170,8 +180,9 @@ browser_host_try_close_browser(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBrowserHostCppToC::Get(self)->TryCloseBrowser();
|
||||
@@ -187,8 +198,9 @@ void CEF_CALLBACK browser_host_set_focus(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->SetFocus(focus ? true : false);
|
||||
@@ -201,8 +213,9 @@ browser_host_get_window_handle(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return kNullWindowHandle;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_window_handle_t _retval =
|
||||
@@ -219,8 +232,9 @@ browser_host_get_opener_window_handle(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return kNullWindowHandle;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_window_handle_t _retval =
|
||||
@@ -236,8 +250,9 @@ int CEF_CALLBACK browser_host_has_view(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBrowserHostCppToC::Get(self)->HasView();
|
||||
@@ -253,8 +268,9 @@ browser_host_get_client(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefClient> _retval = CefBrowserHostCppToC::Get(self)->GetClient();
|
||||
@@ -270,8 +286,9 @@ browser_host_get_request_context(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefRequestContext> _retval =
|
||||
@@ -288,8 +305,9 @@ browser_host_get_zoom_level(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
double _retval = CefBrowserHostCppToC::Get(self)->GetZoomLevel();
|
||||
@@ -305,8 +323,9 @@ void CEF_CALLBACK browser_host_set_zoom_level(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->SetZoomLevel(zoomLevel);
|
||||
@@ -324,12 +343,14 @@ browser_host_run_file_dialog(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback);
|
||||
if (!callback)
|
||||
if (!callback) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: title, default_file_path, accept_filters
|
||||
|
||||
// Translate param: accept_filters; type: string_vec_byref_const
|
||||
@@ -349,12 +370,14 @@ void CEF_CALLBACK browser_host_start_download(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: url; type: string_byref_const
|
||||
DCHECK(url);
|
||||
if (!url)
|
||||
if (!url) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->StartDownload(CefString(url));
|
||||
@@ -372,16 +395,19 @@ browser_host_download_image(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: image_url; type: string_byref_const
|
||||
DCHECK(image_url);
|
||||
if (!image_url)
|
||||
if (!image_url) {
|
||||
return;
|
||||
}
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback);
|
||||
if (!callback)
|
||||
if (!callback) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->DownloadImage(
|
||||
@@ -396,8 +422,9 @@ void CEF_CALLBACK browser_host_print(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->Print();
|
||||
@@ -413,16 +440,19 @@ browser_host_print_to_pdf(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: path; type: string_byref_const
|
||||
DCHECK(path);
|
||||
if (!path)
|
||||
if (!path) {
|
||||
return;
|
||||
}
|
||||
// Verify param: settings; type: struct_byref_const
|
||||
DCHECK(settings);
|
||||
if (!settings)
|
||||
if (!settings) {
|
||||
return;
|
||||
}
|
||||
if (!template_util::has_valid_size(settings)) {
|
||||
NOTREACHED() << "invalid settings->[base.]size";
|
||||
return;
|
||||
@@ -431,8 +461,9 @@ browser_host_print_to_pdf(struct _cef_browser_host_t* self,
|
||||
|
||||
// Translate param: settings; type: struct_byref_const
|
||||
CefPdfPrintSettings settingsObj;
|
||||
if (settings)
|
||||
if (settings) {
|
||||
settingsObj.Set(*settings, false);
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->PrintToPDF(
|
||||
@@ -449,12 +480,14 @@ void CEF_CALLBACK browser_host_find(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: searchText; type: string_byref_const
|
||||
DCHECK(searchText);
|
||||
if (!searchText)
|
||||
if (!searchText) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->Find(
|
||||
@@ -469,8 +502,9 @@ void CEF_CALLBACK browser_host_stop_finding(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->StopFinding(clearSelection ? true : false);
|
||||
@@ -487,18 +521,21 @@ browser_host_show_dev_tools(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: windowInfo, client, settings, inspect_element_at
|
||||
|
||||
// Translate param: windowInfo; type: struct_byref_const
|
||||
CefWindowInfo windowInfoObj;
|
||||
if (windowInfo)
|
||||
if (windowInfo) {
|
||||
windowInfoObj.Set(*windowInfo, false);
|
||||
}
|
||||
// Translate param: settings; type: struct_byref_const
|
||||
CefBrowserSettings settingsObj;
|
||||
if (settings)
|
||||
if (settings) {
|
||||
settingsObj.Set(*settings, false);
|
||||
}
|
||||
// Translate param: inspect_element_at; type: simple_byref_const
|
||||
CefPoint inspect_element_atVal =
|
||||
inspect_element_at ? *inspect_element_at : CefPoint();
|
||||
@@ -516,8 +553,9 @@ browser_host_close_dev_tools(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->CloseDevTools();
|
||||
@@ -529,8 +567,9 @@ int CEF_CALLBACK browser_host_has_dev_tools(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBrowserHostCppToC::Get(self)->HasDevTools();
|
||||
@@ -548,12 +587,14 @@ browser_host_send_dev_tools_message(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: message; type: simple_byaddr
|
||||
DCHECK(message);
|
||||
if (!message)
|
||||
if (!message) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBrowserHostCppToC::Get(self)->SendDevToolsMessage(
|
||||
@@ -573,12 +614,14 @@ browser_host_execute_dev_tools_method(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: method; type: string_byref_const
|
||||
DCHECK(method);
|
||||
if (!method)
|
||||
if (!method) {
|
||||
return 0;
|
||||
}
|
||||
// Unverified params: params
|
||||
|
||||
// Execute
|
||||
@@ -598,12 +641,14 @@ browser_host_add_dev_tools_message_observer(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: observer; type: refptr_diff
|
||||
DCHECK(observer);
|
||||
if (!observer)
|
||||
if (!observer) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefRegistration> _retval =
|
||||
@@ -623,12 +668,14 @@ browser_host_get_navigation_entries(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: visitor; type: refptr_diff
|
||||
DCHECK(visitor);
|
||||
if (!visitor)
|
||||
if (!visitor) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->GetNavigationEntries(
|
||||
@@ -644,12 +691,14 @@ browser_host_replace_misspelling(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: word; type: string_byref_const
|
||||
DCHECK(word);
|
||||
if (!word)
|
||||
if (!word) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->ReplaceMisspelling(CefString(word));
|
||||
@@ -663,12 +712,14 @@ browser_host_add_word_to_dictionary(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: word; type: string_byref_const
|
||||
DCHECK(word);
|
||||
if (!word)
|
||||
if (!word) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->AddWordToDictionary(CefString(word));
|
||||
@@ -681,8 +732,9 @@ browser_host_is_window_rendering_disabled(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBrowserHostCppToC::Get(self)->IsWindowRenderingDisabled();
|
||||
@@ -697,8 +749,9 @@ void CEF_CALLBACK browser_host_was_resized(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->WasResized();
|
||||
@@ -711,8 +764,9 @@ void CEF_CALLBACK browser_host_was_hidden(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->WasHidden(hidden ? true : false);
|
||||
@@ -725,8 +779,9 @@ browser_host_notify_screen_info_changed(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->NotifyScreenInfoChanged();
|
||||
@@ -739,8 +794,9 @@ void CEF_CALLBACK browser_host_invalidate(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->Invalidate(type);
|
||||
@@ -753,8 +809,9 @@ browser_host_send_external_begin_frame(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->SendExternalBeginFrame();
|
||||
@@ -767,12 +824,14 @@ void CEF_CALLBACK browser_host_send_key_event(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: event; type: simple_byref_const
|
||||
DCHECK(event);
|
||||
if (!event)
|
||||
if (!event) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: event; type: simple_byref_const
|
||||
CefKeyEvent eventVal = event ? *event : CefKeyEvent();
|
||||
@@ -792,12 +851,14 @@ browser_host_send_mouse_click_event(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: event; type: simple_byref_const
|
||||
DCHECK(event);
|
||||
if (!event)
|
||||
if (!event) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: event; type: simple_byref_const
|
||||
CefMouseEvent eventVal = event ? *event : CefMouseEvent();
|
||||
@@ -816,12 +877,14 @@ browser_host_send_mouse_move_event(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: event; type: simple_byref_const
|
||||
DCHECK(event);
|
||||
if (!event)
|
||||
if (!event) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: event; type: simple_byref_const
|
||||
CefMouseEvent eventVal = event ? *event : CefMouseEvent();
|
||||
@@ -841,12 +904,14 @@ browser_host_send_mouse_wheel_event(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: event; type: simple_byref_const
|
||||
DCHECK(event);
|
||||
if (!event)
|
||||
if (!event) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: event; type: simple_byref_const
|
||||
CefMouseEvent eventVal = event ? *event : CefMouseEvent();
|
||||
@@ -864,12 +929,14 @@ browser_host_send_touch_event(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: event; type: simple_byref_const
|
||||
DCHECK(event);
|
||||
if (!event)
|
||||
if (!event) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: event; type: simple_byref_const
|
||||
CefTouchEvent eventVal = event ? *event : CefTouchEvent();
|
||||
@@ -885,8 +952,9 @@ browser_host_send_capture_lost_event(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->SendCaptureLostEvent();
|
||||
@@ -899,8 +967,9 @@ browser_host_notify_move_or_resize_started(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->NotifyMoveOrResizeStarted();
|
||||
@@ -913,8 +982,9 @@ browser_host_get_windowless_frame_rate(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = CefBrowserHostCppToC::Get(self)->GetWindowlessFrameRate();
|
||||
@@ -931,8 +1001,9 @@ browser_host_set_windowless_frame_rate(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->SetWindowlessFrameRate(frame_rate);
|
||||
@@ -950,16 +1021,19 @@ browser_host_ime_set_composition(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: replacement_range; type: simple_byref_const
|
||||
DCHECK(replacement_range);
|
||||
if (!replacement_range)
|
||||
if (!replacement_range) {
|
||||
return;
|
||||
}
|
||||
// Verify param: selection_range; type: simple_byref_const
|
||||
DCHECK(selection_range);
|
||||
if (!selection_range)
|
||||
if (!selection_range) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: text, underlines
|
||||
|
||||
// Translate param: underlines; type: simple_vec_byref_const
|
||||
@@ -992,12 +1066,14 @@ browser_host_ime_commit_text(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: replacement_range; type: simple_byref_const
|
||||
DCHECK(replacement_range);
|
||||
if (!replacement_range)
|
||||
if (!replacement_range) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: text
|
||||
|
||||
// Translate param: replacement_range; type: simple_byref_const
|
||||
@@ -1017,8 +1093,9 @@ browser_host_ime_finish_composing_text(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->ImeFinishComposingText(
|
||||
@@ -1032,8 +1109,9 @@ browser_host_ime_cancel_composition(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->ImeCancelComposition();
|
||||
@@ -1049,16 +1127,19 @@ browser_host_drag_target_drag_enter(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: drag_data; type: refptr_same
|
||||
DCHECK(drag_data);
|
||||
if (!drag_data)
|
||||
if (!drag_data) {
|
||||
return;
|
||||
}
|
||||
// Verify param: event; type: simple_byref_const
|
||||
DCHECK(event);
|
||||
if (!event)
|
||||
if (!event) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: event; type: simple_byref_const
|
||||
CefMouseEvent eventVal = event ? *event : CefMouseEvent();
|
||||
@@ -1077,12 +1158,14 @@ browser_host_drag_target_drag_over(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: event; type: simple_byref_const
|
||||
DCHECK(event);
|
||||
if (!event)
|
||||
if (!event) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: event; type: simple_byref_const
|
||||
CefMouseEvent eventVal = event ? *event : CefMouseEvent();
|
||||
@@ -1098,8 +1181,9 @@ browser_host_drag_target_drag_leave(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->DragTargetDragLeave();
|
||||
@@ -1113,12 +1197,14 @@ browser_host_drag_target_drop(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: event; type: simple_byref_const
|
||||
DCHECK(event);
|
||||
if (!event)
|
||||
if (!event) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: event; type: simple_byref_const
|
||||
CefMouseEvent eventVal = event ? *event : CefMouseEvent();
|
||||
@@ -1137,8 +1223,9 @@ browser_host_drag_source_ended_at(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->DragSourceEndedAt(x, y, op);
|
||||
@@ -1151,8 +1238,9 @@ browser_host_drag_source_system_drag_ended(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->DragSourceSystemDragEnded();
|
||||
@@ -1165,8 +1253,9 @@ browser_host_get_visible_navigation_entry(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefNavigationEntry> _retval =
|
||||
@@ -1184,8 +1273,9 @@ browser_host_set_accessibility_state(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->SetAccessibilityState(accessibility_state);
|
||||
@@ -1201,16 +1291,19 @@ browser_host_set_auto_resize_enabled(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: min_size; type: simple_byref_const
|
||||
DCHECK(min_size);
|
||||
if (!min_size)
|
||||
if (!min_size) {
|
||||
return;
|
||||
}
|
||||
// Verify param: max_size; type: simple_byref_const
|
||||
DCHECK(max_size);
|
||||
if (!max_size)
|
||||
if (!max_size) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: min_size; type: simple_byref_const
|
||||
CefSize min_sizeVal = min_size ? *min_size : CefSize();
|
||||
@@ -1229,8 +1322,9 @@ browser_host_get_extension(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefExtension> _retval =
|
||||
@@ -1247,8 +1341,9 @@ browser_host_is_background_host(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBrowserHostCppToC::Get(self)->IsBackgroundHost();
|
||||
@@ -1264,8 +1359,9 @@ void CEF_CALLBACK browser_host_set_audio_muted(struct _cef_browser_host_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserHostCppToC::Get(self)->SetAudioMuted(mute ? true : false);
|
||||
@@ -1277,8 +1373,9 @@ int CEF_CALLBACK browser_host_is_audio_muted(struct _cef_browser_host_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefBrowserHostCppToC::Get(self)->IsAudioMuted();
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=244bcb519cd21d6febf70c4ce40fbc1cbb18176c$
|
||||
// $hash=e51f496e40bd2b3b9573d2ca084e578bb1df1407$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_BROWSER_HOST_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=984f4b764ebd914b5f5e585479866bd7a36c0429$
|
||||
// $hash=a5446c4b823971a827d933afb128f94dddacd970$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/browser_process_handler_cpptoc.h"
|
||||
@@ -28,12 +28,14 @@ void CEF_CALLBACK browser_process_handler_on_register_custom_preferences(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: registrar; type: rawptr_diff
|
||||
DCHECK(registrar);
|
||||
if (!registrar)
|
||||
if (!registrar) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: registrar; type: rawptr_diff
|
||||
CefOwnPtr<CefPreferenceRegistrar> registrarPtr(
|
||||
@@ -49,8 +51,9 @@ void CEF_CALLBACK browser_process_handler_on_context_initialized(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserProcessHandlerCppToC::Get(self)->OnContextInitialized();
|
||||
@@ -62,12 +65,14 @@ void CEF_CALLBACK browser_process_handler_on_before_child_process_launch(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: command_line; type: refptr_diff
|
||||
DCHECK(command_line);
|
||||
if (!command_line)
|
||||
if (!command_line) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserProcessHandlerCppToC::Get(self)->OnBeforeChildProcessLaunch(
|
||||
@@ -80,8 +85,9 @@ void CEF_CALLBACK browser_process_handler_on_schedule_message_pump_work(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefBrowserProcessHandlerCppToC::Get(self)->OnScheduleMessagePumpWork(
|
||||
@@ -93,8 +99,9 @@ struct _cef_client_t* CEF_CALLBACK browser_process_handler_get_default_client(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefClient> _retval =
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=ebbabaa3d73f0266003818a764f8ca677a9ec6b2$
|
||||
// $hash=508373dbbfcb411f218ad9688d56b49380d8ca75$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_BROWSER_PROCESS_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=01b8f661ca054d4a48ee00f1163011688b32e9f1$
|
||||
// $hash=5cfe318d106b21ec761956734b0868ccb083620a$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/callback_cpptoc.h"
|
||||
@@ -25,8 +25,9 @@ void CEF_CALLBACK callback_cont(struct _cef_callback_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefCallbackCppToC::Get(self)->Continue();
|
||||
@@ -38,8 +39,9 @@ void CEF_CALLBACK callback_cancel(struct _cef_callback_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefCallbackCppToC::Get(self)->Cancel();
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=5b2fa7fef3cde7efde7df615769b6361ea81ce46$
|
||||
// $hash=f0c92901c6462ad03d3c95c0ba92129784c808e1$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_CALLBACK_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=6af3f901e4429197d0e47b15a68e980ea574b256$
|
||||
// $hash=8eec741d5a0ac7aec671b0e1f3a6dc502f94fa44$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/client_cpptoc.h"
|
||||
@@ -44,8 +44,9 @@ client_get_audio_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefAudioHandler> _retval =
|
||||
@@ -60,8 +61,9 @@ client_get_command_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefCommandHandler> _retval =
|
||||
@@ -76,8 +78,9 @@ client_get_context_menu_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefContextMenuHandler> _retval =
|
||||
@@ -92,8 +95,9 @@ client_get_dialog_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDialogHandler> _retval =
|
||||
@@ -108,8 +112,9 @@ client_get_display_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDisplayHandler> _retval =
|
||||
@@ -124,8 +129,9 @@ client_get_download_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDownloadHandler> _retval =
|
||||
@@ -140,8 +146,9 @@ client_get_drag_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDragHandler> _retval =
|
||||
@@ -156,8 +163,9 @@ client_get_find_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefFindHandler> _retval =
|
||||
@@ -172,8 +180,9 @@ client_get_focus_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefFocusHandler> _retval =
|
||||
@@ -188,8 +197,9 @@ client_get_frame_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefFrameHandler> _retval =
|
||||
@@ -204,8 +214,9 @@ client_get_permission_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefPermissionHandler> _retval =
|
||||
@@ -220,8 +231,9 @@ client_get_jsdialog_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefJSDialogHandler> _retval =
|
||||
@@ -236,8 +248,9 @@ client_get_keyboard_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefKeyboardHandler> _retval =
|
||||
@@ -252,8 +265,9 @@ client_get_life_span_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefLifeSpanHandler> _retval =
|
||||
@@ -268,8 +282,9 @@ client_get_load_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefLoadHandler> _retval =
|
||||
@@ -284,8 +299,9 @@ client_get_print_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefPrintHandler> _retval =
|
||||
@@ -300,8 +316,9 @@ client_get_render_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefRenderHandler> _retval =
|
||||
@@ -316,8 +333,9 @@ client_get_request_handler(struct _cef_client_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefRequestHandler> _retval =
|
||||
@@ -336,20 +354,24 @@ client_on_process_message_received(struct _cef_client_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: message; type: refptr_diff
|
||||
DCHECK(message);
|
||||
if (!message)
|
||||
if (!message) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefClientCppToC::Get(self)->OnProcessMessageReceived(
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=30d4264433606a5e29f5ec2a325f630b278d4be9$
|
||||
// $hash=6dd8a3977d8a7d75da7399a9c15a160afbfcf744$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_CLIENT_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=929bc6804bc4beb1601ee44f3300a42ecc917c74$
|
||||
// $hash=bf815bb565ccf2570c6f6b881009fe7df20805f0$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/command_handler_cpptoc.h"
|
||||
@@ -30,12 +30,14 @@ command_handler_on_chrome_command(struct _cef_command_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefCommandHandlerCppToC::Get(self)->OnChromeCommand(
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=85e5de7b82a22ab4738de3a6a2bb141eb5c79579$
|
||||
// $hash=beb365f3b4d93d967612c9d8505240d7b727fd08$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_COMMAND_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=fec108946a9d826210e4fa3746839b56a123316c$
|
||||
// $hash=3e70ff63428c3bce590fe137945a2085b432e9ad$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/command_line_cpptoc.h"
|
||||
@@ -45,8 +45,9 @@ int CEF_CALLBACK command_line_is_valid(struct _cef_command_line_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefCommandLineCppToC::Get(self)->IsValid();
|
||||
@@ -59,8 +60,9 @@ int CEF_CALLBACK command_line_is_read_only(struct _cef_command_line_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefCommandLineCppToC::Get(self)->IsReadOnly();
|
||||
@@ -74,8 +76,9 @@ command_line_copy(struct _cef_command_line_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefCommandLine> _retval = CefCommandLineCppToC::Get(self)->Copy();
|
||||
@@ -90,12 +93,14 @@ void CEF_CALLBACK command_line_init_from_argv(struct _cef_command_line_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: argv; type: simple_byaddr
|
||||
DCHECK(argv);
|
||||
if (!argv)
|
||||
if (!argv) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefCommandLineCppToC::Get(self)->InitFromArgv(argc, argv);
|
||||
@@ -107,12 +112,14 @@ command_line_init_from_string(struct _cef_command_line_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: command_line; type: string_byref_const
|
||||
DCHECK(command_line);
|
||||
if (!command_line)
|
||||
if (!command_line) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefCommandLineCppToC::Get(self)->InitFromString(CefString(command_line));
|
||||
@@ -122,8 +129,9 @@ void CEF_CALLBACK command_line_reset(struct _cef_command_line_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefCommandLineCppToC::Get(self)->Reset();
|
||||
@@ -134,12 +142,14 @@ void CEF_CALLBACK command_line_get_argv(struct _cef_command_line_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: argv; type: string_vec_byref
|
||||
DCHECK(argv);
|
||||
if (!argv)
|
||||
if (!argv) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: argv; type: string_vec_byref
|
||||
std::vector<CefString> argvList;
|
||||
@@ -158,8 +168,9 @@ command_line_get_command_line_string(struct _cef_command_line_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefCommandLineCppToC::Get(self)->GetCommandLineString();
|
||||
@@ -173,8 +184,9 @@ command_line_get_program(struct _cef_command_line_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefCommandLineCppToC::Get(self)->GetProgram();
|
||||
@@ -188,12 +200,14 @@ void CEF_CALLBACK command_line_set_program(struct _cef_command_line_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: program; type: string_byref_const
|
||||
DCHECK(program);
|
||||
if (!program)
|
||||
if (!program) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefCommandLineCppToC::Get(self)->SetProgram(CefString(program));
|
||||
@@ -203,8 +217,9 @@ int CEF_CALLBACK command_line_has_switches(struct _cef_command_line_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefCommandLineCppToC::Get(self)->HasSwitches();
|
||||
@@ -218,12 +233,14 @@ int CEF_CALLBACK command_line_has_switch(struct _cef_command_line_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: name; type: string_byref_const
|
||||
DCHECK(name);
|
||||
if (!name)
|
||||
if (!name) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefCommandLineCppToC::Get(self)->HasSwitch(CefString(name));
|
||||
@@ -238,12 +255,14 @@ command_line_get_switch_value(struct _cef_command_line_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: name; type: string_byref_const
|
||||
DCHECK(name);
|
||||
if (!name)
|
||||
if (!name) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval =
|
||||
@@ -258,12 +277,14 @@ void CEF_CALLBACK command_line_get_switches(struct _cef_command_line_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: switches; type: string_map_single_byref
|
||||
DCHECK(switches);
|
||||
if (!switches)
|
||||
if (!switches) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: switches; type: string_map_single_byref
|
||||
std::map<CefString, CefString> switchesMap;
|
||||
@@ -282,12 +303,14 @@ void CEF_CALLBACK command_line_append_switch(struct _cef_command_line_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: name; type: string_byref_const
|
||||
DCHECK(name);
|
||||
if (!name)
|
||||
if (!name) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefCommandLineCppToC::Get(self)->AppendSwitch(CefString(name));
|
||||
@@ -300,16 +323,19 @@ command_line_append_switch_with_value(struct _cef_command_line_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: name; type: string_byref_const
|
||||
DCHECK(name);
|
||||
if (!name)
|
||||
if (!name) {
|
||||
return;
|
||||
}
|
||||
// Verify param: value; type: string_byref_const
|
||||
DCHECK(value);
|
||||
if (!value)
|
||||
if (!value) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefCommandLineCppToC::Get(self)->AppendSwitchWithValue(CefString(name),
|
||||
@@ -320,8 +346,9 @@ int CEF_CALLBACK command_line_has_arguments(struct _cef_command_line_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefCommandLineCppToC::Get(self)->HasArguments();
|
||||
@@ -335,12 +362,14 @@ void CEF_CALLBACK command_line_get_arguments(struct _cef_command_line_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: arguments; type: string_vec_byref
|
||||
DCHECK(arguments);
|
||||
if (!arguments)
|
||||
if (!arguments) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: arguments; type: string_vec_byref
|
||||
std::vector<CefString> argumentsList;
|
||||
@@ -359,12 +388,14 @@ void CEF_CALLBACK command_line_append_argument(struct _cef_command_line_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: argument; type: string_byref_const
|
||||
DCHECK(argument);
|
||||
if (!argument)
|
||||
if (!argument) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefCommandLineCppToC::Get(self)->AppendArgument(CefString(argument));
|
||||
@@ -375,12 +406,14 @@ void CEF_CALLBACK command_line_prepend_wrapper(struct _cef_command_line_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: wrapper; type: string_byref_const
|
||||
DCHECK(wrapper);
|
||||
if (!wrapper)
|
||||
if (!wrapper) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefCommandLineCppToC::Get(self)->PrependWrapper(CefString(wrapper));
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=395fccd246892782a1c4a26a87baa43f75436bd8$
|
||||
// $hash=f8af58d9e62d25a46593ccebc487734730f6a1a3$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_COMMAND_LINE_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=c16d5dc361785c620c9066fc473a443651afa7ab$
|
||||
// $hash=71f2ac1fe5be9a4783d35211352a92b19f1a84c0$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/completion_callback_cpptoc.h"
|
||||
@@ -26,8 +26,9 @@ completion_callback_on_complete(struct _cef_completion_callback_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefCompletionCallbackCppToC::Get(self)->OnComplete();
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=7ac48d4ac56f3e31947f8f3b9d9bf54a3bc3383c$
|
||||
// $hash=407df18b90244b245e73c4f69a199663df079f0d$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_COMPLETION_CALLBACK_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=1531579b642c3009765e7ef273887c423e552b36$
|
||||
// $hash=6b90c347c6cc6cfbd8aa5e92eebc19929bd8c2c2$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/context_menu_handler_cpptoc.h"
|
||||
@@ -36,24 +36,29 @@ void CEF_CALLBACK context_menu_handler_on_before_context_menu(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return;
|
||||
}
|
||||
// Verify param: params; type: refptr_diff
|
||||
DCHECK(params);
|
||||
if (!params)
|
||||
if (!params) {
|
||||
return;
|
||||
}
|
||||
// Verify param: model; type: refptr_diff
|
||||
DCHECK(model);
|
||||
if (!model)
|
||||
if (!model) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefContextMenuHandlerCppToC::Get(self)->OnBeforeContextMenu(
|
||||
@@ -74,28 +79,34 @@ int CEF_CALLBACK context_menu_handler_run_context_menu(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: params; type: refptr_diff
|
||||
DCHECK(params);
|
||||
if (!params)
|
||||
if (!params) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: model; type: refptr_diff
|
||||
DCHECK(model);
|
||||
if (!model)
|
||||
if (!model) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback);
|
||||
if (!callback)
|
||||
if (!callback) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefContextMenuHandlerCppToC::Get(self)->RunContextMenu(
|
||||
@@ -119,20 +130,24 @@ int CEF_CALLBACK context_menu_handler_on_context_menu_command(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: params; type: refptr_diff
|
||||
DCHECK(params);
|
||||
if (!params)
|
||||
if (!params) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefContextMenuHandlerCppToC::Get(self)->OnContextMenuCommand(
|
||||
@@ -152,16 +167,19 @@ void CEF_CALLBACK context_menu_handler_on_context_menu_dismissed(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefContextMenuHandlerCppToC::Get(self)->OnContextMenuDismissed(
|
||||
@@ -181,28 +199,34 @@ int CEF_CALLBACK context_menu_handler_run_quick_menu(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: location; type: simple_byref_const
|
||||
DCHECK(location);
|
||||
if (!location)
|
||||
if (!location) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: size; type: simple_byref_const
|
||||
DCHECK(size);
|
||||
if (!size)
|
||||
if (!size) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback);
|
||||
if (!callback)
|
||||
if (!callback) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: location; type: simple_byref_const
|
||||
CefPoint locationVal = location ? *location : CefPoint();
|
||||
@@ -229,16 +253,19 @@ int CEF_CALLBACK context_menu_handler_on_quick_menu_command(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefContextMenuHandlerCppToC::Get(self)->OnQuickMenuCommand(
|
||||
@@ -258,16 +285,19 @@ void CEF_CALLBACK context_menu_handler_on_quick_menu_dismissed(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefContextMenuHandlerCppToC::Get(self)->OnQuickMenuDismissed(
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=51d213cb8d40ba1f608944422e0522749e433a6f$
|
||||
// $hash=68dd3aa1b0a216bdc63aa9ed3008b0b5815f8040$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_CONTEXT_MENU_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=e2f6dee4f74c0eb0979d7a557b007fb8e495bcbb$
|
||||
// $hash=c543b9784333ad4f48c459585d03b65241884d45$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/context_menu_params_cpptoc.h"
|
||||
@@ -27,8 +27,9 @@ context_menu_params_get_xcoord(struct _cef_context_menu_params_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = CefContextMenuParamsCppToC::Get(self)->GetXCoord();
|
||||
@@ -44,8 +45,9 @@ context_menu_params_get_ycoord(struct _cef_context_menu_params_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = CefContextMenuParamsCppToC::Get(self)->GetYCoord();
|
||||
@@ -61,8 +63,9 @@ context_menu_params_get_type_flags(struct _cef_context_menu_params_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CM_TYPEFLAG_NONE;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_context_menu_type_flags_t _retval =
|
||||
@@ -79,8 +82,9 @@ context_menu_params_get_link_url(struct _cef_context_menu_params_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefContextMenuParamsCppToC::Get(self)->GetLinkUrl();
|
||||
@@ -96,8 +100,9 @@ cef_string_userfree_t CEF_CALLBACK context_menu_params_get_unfiltered_link_url(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval =
|
||||
@@ -114,8 +119,9 @@ context_menu_params_get_source_url(struct _cef_context_menu_params_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefContextMenuParamsCppToC::Get(self)->GetSourceUrl();
|
||||
@@ -131,8 +137,9 @@ int CEF_CALLBACK context_menu_params_has_image_contents(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefContextMenuParamsCppToC::Get(self)->HasImageContents();
|
||||
@@ -148,8 +155,9 @@ context_menu_params_get_title_text(struct _cef_context_menu_params_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefContextMenuParamsCppToC::Get(self)->GetTitleText();
|
||||
@@ -165,8 +173,9 @@ context_menu_params_get_page_url(struct _cef_context_menu_params_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefContextMenuParamsCppToC::Get(self)->GetPageUrl();
|
||||
@@ -182,8 +191,9 @@ context_menu_params_get_frame_url(struct _cef_context_menu_params_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefContextMenuParamsCppToC::Get(self)->GetFrameUrl();
|
||||
@@ -199,8 +209,9 @@ context_menu_params_get_frame_charset(struct _cef_context_menu_params_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefContextMenuParamsCppToC::Get(self)->GetFrameCharset();
|
||||
@@ -216,8 +227,9 @@ context_menu_params_get_media_type(struct _cef_context_menu_params_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CM_MEDIATYPE_NONE;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_context_menu_media_type_t _retval =
|
||||
@@ -235,8 +247,9 @@ context_menu_params_get_media_state_flags(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CM_MEDIAFLAG_NONE;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_context_menu_media_state_flags_t _retval =
|
||||
@@ -253,8 +266,9 @@ cef_string_userfree_t CEF_CALLBACK context_menu_params_get_selection_text(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefContextMenuParamsCppToC::Get(self)->GetSelectionText();
|
||||
@@ -270,8 +284,9 @@ cef_string_userfree_t CEF_CALLBACK context_menu_params_get_misspelled_word(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval =
|
||||
@@ -289,12 +304,14 @@ int CEF_CALLBACK context_menu_params_get_dictionary_suggestions(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: suggestions; type: string_vec_byref
|
||||
DCHECK(suggestions);
|
||||
if (!suggestions)
|
||||
if (!suggestions) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: suggestions; type: string_vec_byref
|
||||
std::vector<CefString> suggestionsList;
|
||||
@@ -320,8 +337,9 @@ context_menu_params_is_editable(struct _cef_context_menu_params_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefContextMenuParamsCppToC::Get(self)->IsEditable();
|
||||
@@ -337,8 +355,9 @@ int CEF_CALLBACK context_menu_params_is_spell_check_enabled(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefContextMenuParamsCppToC::Get(self)->IsSpellCheckEnabled();
|
||||
@@ -355,8 +374,9 @@ context_menu_params_get_edit_state_flags(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CM_EDITFLAG_NONE;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_context_menu_edit_state_flags_t _retval =
|
||||
@@ -373,8 +393,9 @@ context_menu_params_is_custom_menu(struct _cef_context_menu_params_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefContextMenuParamsCppToC::Get(self)->IsCustomMenu();
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=9612bbf58cbf1ee4c41d9cec79267e473d130172$
|
||||
// $hash=289e9100aeb329f9ec7d1696354e31f2eb7d8ce9$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_CONTEXT_MENU_PARAMS_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=1edf004108ba7cab51110552f50d23e545ae6c72$
|
||||
// $hash=f175b71f11857a4362fcf79178ea3ab531b15891$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/cookie_access_filter_cpptoc.h"
|
||||
@@ -32,16 +32,19 @@ cookie_access_filter_can_send_cookie(struct _cef_cookie_access_filter_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: request; type: refptr_diff
|
||||
DCHECK(request);
|
||||
if (!request)
|
||||
if (!request) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: cookie; type: struct_byref_const
|
||||
DCHECK(cookie);
|
||||
if (!cookie)
|
||||
if (!cookie) {
|
||||
return 0;
|
||||
}
|
||||
if (!template_util::has_valid_size(cookie)) {
|
||||
NOTREACHED() << "invalid cookie->[base.]size";
|
||||
return 0;
|
||||
@@ -50,8 +53,9 @@ cookie_access_filter_can_send_cookie(struct _cef_cookie_access_filter_t* self,
|
||||
|
||||
// Translate param: cookie; type: struct_byref_const
|
||||
CefCookie cookieObj;
|
||||
if (cookie)
|
||||
if (cookie) {
|
||||
cookieObj.Set(*cookie, false);
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefCookieAccessFilterCppToC::Get(self)->CanSendCookie(
|
||||
@@ -72,20 +76,24 @@ cookie_access_filter_can_save_cookie(struct _cef_cookie_access_filter_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: request; type: refptr_diff
|
||||
DCHECK(request);
|
||||
if (!request)
|
||||
if (!request) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: response; type: refptr_diff
|
||||
DCHECK(response);
|
||||
if (!response)
|
||||
if (!response) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: cookie; type: struct_byref_const
|
||||
DCHECK(cookie);
|
||||
if (!cookie)
|
||||
if (!cookie) {
|
||||
return 0;
|
||||
}
|
||||
if (!template_util::has_valid_size(cookie)) {
|
||||
NOTREACHED() << "invalid cookie->[base.]size";
|
||||
return 0;
|
||||
@@ -94,8 +102,9 @@ cookie_access_filter_can_save_cookie(struct _cef_cookie_access_filter_t* self,
|
||||
|
||||
// Translate param: cookie; type: struct_byref_const
|
||||
CefCookie cookieObj;
|
||||
if (cookie)
|
||||
if (cookie) {
|
||||
cookieObj.Set(*cookie, false);
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefCookieAccessFilterCppToC::Get(self)->CanSaveCookie(
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=16e58fb5b73a0c13602b01a14afb4f6a882c094d$
|
||||
// $hash=e0b8da1120abbbb306c6cc789ec94e38dc07ceb0$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_COOKIE_ACCESS_FILTER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=3f01b74591540c44243e693043cb3b8a9f4e05d2$
|
||||
// $hash=8ed89e1ba19cde7c43e1c9e8d30354cfc356a1aa$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/cookie_manager_cpptoc.h"
|
||||
@@ -45,12 +45,14 @@ cookie_manager_visit_all_cookies(struct _cef_cookie_manager_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: visitor; type: refptr_diff
|
||||
DCHECK(visitor);
|
||||
if (!visitor)
|
||||
if (!visitor) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefCookieManagerCppToC::Get(self)->VisitAllCookies(
|
||||
@@ -68,16 +70,19 @@ cookie_manager_visit_url_cookies(struct _cef_cookie_manager_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: url; type: string_byref_const
|
||||
DCHECK(url);
|
||||
if (!url)
|
||||
if (!url) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: visitor; type: refptr_diff
|
||||
DCHECK(visitor);
|
||||
if (!visitor)
|
||||
if (!visitor) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefCookieManagerCppToC::Get(self)->VisitUrlCookies(
|
||||
@@ -96,16 +101,19 @@ cookie_manager_set_cookie(struct _cef_cookie_manager_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: url; type: string_byref_const
|
||||
DCHECK(url);
|
||||
if (!url)
|
||||
if (!url) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: cookie; type: struct_byref_const
|
||||
DCHECK(cookie);
|
||||
if (!cookie)
|
||||
if (!cookie) {
|
||||
return 0;
|
||||
}
|
||||
if (!template_util::has_valid_size(cookie)) {
|
||||
NOTREACHED() << "invalid cookie->[base.]size";
|
||||
return 0;
|
||||
@@ -114,8 +122,9 @@ cookie_manager_set_cookie(struct _cef_cookie_manager_t* self,
|
||||
|
||||
// Translate param: cookie; type: struct_byref_const
|
||||
CefCookie cookieObj;
|
||||
if (cookie)
|
||||
if (cookie) {
|
||||
cookieObj.Set(*cookie, false);
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefCookieManagerCppToC::Get(self)->SetCookie(
|
||||
@@ -133,8 +142,9 @@ cookie_manager_delete_cookies(struct _cef_cookie_manager_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Unverified params: url, cookie_name, callback
|
||||
|
||||
// Execute
|
||||
@@ -152,8 +162,9 @@ cookie_manager_flush_store(struct _cef_cookie_manager_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Unverified params: callback
|
||||
|
||||
// Execute
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=75170ff033e8e382ba463d350493fab6e12e4192$
|
||||
// $hash=3c70ed00438c00d85c27407d1c0947d2b310f401$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_COOKIE_MANAGER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=ae61607070ff1973c16bc9b484a33be6b6e22883$
|
||||
// $hash=6706f5bf43d926b749840fb27aa7931111f1a638$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/cookie_visitor_cpptoc.h"
|
||||
@@ -30,25 +30,29 @@ int CEF_CALLBACK cookie_visitor_visit(struct _cef_cookie_visitor_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: cookie; type: struct_byref_const
|
||||
DCHECK(cookie);
|
||||
if (!cookie)
|
||||
if (!cookie) {
|
||||
return 0;
|
||||
}
|
||||
if (!template_util::has_valid_size(cookie)) {
|
||||
NOTREACHED() << "invalid cookie->[base.]size";
|
||||
return 0;
|
||||
}
|
||||
// Verify param: deleteCookie; type: bool_byref
|
||||
DCHECK(deleteCookie);
|
||||
if (!deleteCookie)
|
||||
if (!deleteCookie) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: cookie; type: struct_byref_const
|
||||
CefCookie cookieObj;
|
||||
if (cookie)
|
||||
if (cookie) {
|
||||
cookieObj.Set(*cookie, false);
|
||||
}
|
||||
// Translate param: deleteCookie; type: bool_byref
|
||||
bool deleteCookieBool = (deleteCookie && *deleteCookie) ? true : false;
|
||||
|
||||
@@ -57,8 +61,9 @@ int CEF_CALLBACK cookie_visitor_visit(struct _cef_cookie_visitor_t* self,
|
||||
cookieObj, count, total, deleteCookieBool);
|
||||
|
||||
// Restore param: deleteCookie; type: bool_byref
|
||||
if (deleteCookie)
|
||||
if (deleteCookie) {
|
||||
*deleteCookie = deleteCookieBool ? true : false;
|
||||
}
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=2c087a5613a69038aa9bba45c46a56d96c6a60ba$
|
||||
// $hash=45985eb9f0544a0c90fea396ec66c921e44f55a5$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_COOKIE_VISITOR_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=0d2b19ca10e7a4ad389d3ce8de83addc1cad4b63$
|
||||
// $hash=b464cf54dd6dbbe3b7f45adaf8defd0b0015c9c3$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/delete_cookies_callback_cpptoc.h"
|
||||
@@ -27,8 +27,9 @@ delete_cookies_callback_on_complete(struct _cef_delete_cookies_callback_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDeleteCookiesCallbackCppToC::Get(self)->OnComplete(num_deleted);
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=424b81efdcb5b86629d8388df5df13b1229155bb$
|
||||
// $hash=9ef76b4e16c9ee12b2c5956a3e4789fe2e40d9f0$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_DELETE_COOKIES_CALLBACK_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=a8a10af1258edd37dbb8d079a10943070c1e9c4c$
|
||||
// $hash=78a2561a28bab409e06b44eaff38cac7e156bdf4$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/dev_tools_message_observer_cpptoc.h"
|
||||
@@ -30,16 +30,19 @@ int CEF_CALLBACK dev_tools_message_observer_on_dev_tools_message(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: message; type: simple_byaddr
|
||||
DCHECK(message);
|
||||
if (!message)
|
||||
if (!message) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDevToolsMessageObserverCppToC::Get(self)->OnDevToolsMessage(
|
||||
@@ -61,12 +64,14 @@ void CEF_CALLBACK dev_tools_message_observer_on_dev_tools_method_result(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: result
|
||||
|
||||
// Execute
|
||||
@@ -86,16 +91,19 @@ void CEF_CALLBACK dev_tools_message_observer_on_dev_tools_event(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: method; type: string_byref_const
|
||||
DCHECK(method);
|
||||
if (!method)
|
||||
if (!method) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: params
|
||||
|
||||
// Execute
|
||||
@@ -111,12 +119,14 @@ void CEF_CALLBACK dev_tools_message_observer_on_dev_tools_agent_attached(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDevToolsMessageObserverCppToC::Get(self)->OnDevToolsAgentAttached(
|
||||
@@ -131,12 +141,14 @@ void CEF_CALLBACK dev_tools_message_observer_on_dev_tools_agent_detached(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDevToolsMessageObserverCppToC::Get(self)->OnDevToolsAgentDetached(
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=309236e96bdbd2d39e63f94872d2de18552bec80$
|
||||
// $hash=4f034b01b5709e8012ff089e000216008f6232b6$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_DEV_TOOLS_MESSAGE_OBSERVER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=3e2fc4cf108e13165c53ee3e8b10b483dbe5ff5e$
|
||||
// $hash=a71a7566407304bb219d211d4faf5c95c979b052$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/dialog_handler_cpptoc.h"
|
||||
@@ -35,16 +35,19 @@ dialog_handler_on_file_dialog(struct _cef_dialog_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback);
|
||||
if (!callback)
|
||||
if (!callback) {
|
||||
return 0;
|
||||
}
|
||||
// Unverified params: title, default_file_path, accept_filters
|
||||
|
||||
// Translate param: accept_filters; type: string_vec_byref_const
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=52c108ee7b518b733b331b7d172f16bf3126fe3d$
|
||||
// $hash=fca3fb90b8a74c5cdf3dc16e1489668ce80c7c07$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_DIALOG_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=c55e53ae76eba8e90a364cd6768764a4c56967ff$
|
||||
// $hash=3e9334efe52aaa876470421341bbd8ca2936f19e$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/dictionary_value_cpptoc.h"
|
||||
@@ -44,8 +44,9 @@ dictionary_value_is_valid(struct _cef_dictionary_value_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDictionaryValueCppToC::Get(self)->IsValid();
|
||||
@@ -61,8 +62,9 @@ dictionary_value_is_owned(struct _cef_dictionary_value_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDictionaryValueCppToC::Get(self)->IsOwned();
|
||||
@@ -78,8 +80,9 @@ dictionary_value_is_read_only(struct _cef_dictionary_value_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDictionaryValueCppToC::Get(self)->IsReadOnly();
|
||||
@@ -96,12 +99,14 @@ dictionary_value_is_same(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that);
|
||||
if (!that)
|
||||
if (!that) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDictionaryValueCppToC::Get(self)->IsSame(
|
||||
@@ -119,12 +124,14 @@ dictionary_value_is_equal(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that);
|
||||
if (!that)
|
||||
if (!that) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDictionaryValueCppToC::Get(self)->IsEqual(
|
||||
@@ -142,8 +149,9 @@ dictionary_value_copy(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDictionaryValue> _retval =
|
||||
@@ -161,8 +169,9 @@ dictionary_value_get_size(struct _cef_dictionary_value_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
size_t _retval = CefDictionaryValueCppToC::Get(self)->GetSize();
|
||||
@@ -177,8 +186,9 @@ int CEF_CALLBACK dictionary_value_clear(struct _cef_dictionary_value_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDictionaryValueCppToC::Get(self)->Clear();
|
||||
@@ -194,12 +204,14 @@ int CEF_CALLBACK dictionary_value_has_key(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDictionaryValueCppToC::Get(self)->HasKey(CefString(key));
|
||||
@@ -215,12 +227,14 @@ int CEF_CALLBACK dictionary_value_get_keys(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: keys; type: string_vec_byref
|
||||
DCHECK(keys);
|
||||
if (!keys)
|
||||
if (!keys) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: keys; type: string_vec_byref
|
||||
std::vector<CefString> keysList;
|
||||
@@ -244,12 +258,14 @@ int CEF_CALLBACK dictionary_value_remove(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDictionaryValueCppToC::Get(self)->Remove(CefString(key));
|
||||
@@ -266,12 +282,14 @@ dictionary_value_get_type(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return VTYPE_INVALID;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return VTYPE_INVALID;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_value_type_t _retval =
|
||||
@@ -289,12 +307,14 @@ dictionary_value_get_value(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefValue> _retval =
|
||||
@@ -311,12 +331,14 @@ int CEF_CALLBACK dictionary_value_get_bool(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDictionaryValueCppToC::Get(self)->GetBool(CefString(key));
|
||||
@@ -332,12 +354,14 @@ int CEF_CALLBACK dictionary_value_get_int(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = CefDictionaryValueCppToC::Get(self)->GetInt(CefString(key));
|
||||
@@ -354,12 +378,14 @@ dictionary_value_get_double(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
double _retval =
|
||||
@@ -377,12 +403,14 @@ dictionary_value_get_string(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval =
|
||||
@@ -400,12 +428,14 @@ dictionary_value_get_binary(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefBinaryValue> _retval =
|
||||
@@ -423,12 +453,14 @@ dictionary_value_get_dictionary(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDictionaryValue> _retval =
|
||||
@@ -446,12 +478,14 @@ dictionary_value_get_list(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefListValue> _retval =
|
||||
@@ -470,16 +504,19 @@ dictionary_value_set_value(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: value; type: refptr_same
|
||||
DCHECK(value);
|
||||
if (!value)
|
||||
if (!value) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDictionaryValueCppToC::Get(self)->SetValue(
|
||||
@@ -496,12 +533,14 @@ int CEF_CALLBACK dictionary_value_set_null(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDictionaryValueCppToC::Get(self)->SetNull(CefString(key));
|
||||
@@ -518,12 +557,14 @@ int CEF_CALLBACK dictionary_value_set_bool(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDictionaryValueCppToC::Get(self)->SetBool(
|
||||
@@ -541,12 +582,14 @@ int CEF_CALLBACK dictionary_value_set_int(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@@ -565,12 +608,14 @@ dictionary_value_set_double(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@@ -589,12 +634,14 @@ dictionary_value_set_string(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return 0;
|
||||
}
|
||||
// Unverified params: value
|
||||
|
||||
// Execute
|
||||
@@ -614,16 +661,19 @@ dictionary_value_set_binary(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: value; type: refptr_same
|
||||
DCHECK(value);
|
||||
if (!value)
|
||||
if (!value) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDictionaryValueCppToC::Get(self)->SetBinary(
|
||||
@@ -642,16 +692,19 @@ dictionary_value_set_dictionary(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: value; type: refptr_same
|
||||
DCHECK(value);
|
||||
if (!value)
|
||||
if (!value) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDictionaryValueCppToC::Get(self)->SetDictionary(
|
||||
@@ -669,16 +722,19 @@ int CEF_CALLBACK dictionary_value_set_list(struct _cef_dictionary_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: key; type: string_byref_const
|
||||
DCHECK(key);
|
||||
if (!key)
|
||||
if (!key) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: value; type: refptr_same
|
||||
DCHECK(value);
|
||||
if (!value)
|
||||
if (!value) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDictionaryValueCppToC::Get(self)->SetList(
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=ddb7429c3059bb7af3a285adde53aab78a99d39d$
|
||||
// $hash=dd73e5b97103c4ad27620af89886e49bfbdc8d21$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_DICTIONARY_VALUE_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=53bd2b4cabde53903719d240c7c9f6000cbf1a37$
|
||||
// $hash=e898cf0b420fd86d6dd345fdae18f297da93a09b$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/display_handler_cpptoc.h"
|
||||
@@ -32,20 +32,24 @@ display_handler_on_address_change(struct _cef_display_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return;
|
||||
}
|
||||
// Verify param: url; type: string_byref_const
|
||||
DCHECK(url);
|
||||
if (!url)
|
||||
if (!url) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDisplayHandlerCppToC::Get(self)->OnAddressChange(
|
||||
@@ -62,12 +66,14 @@ display_handler_on_title_change(struct _cef_display_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: title
|
||||
|
||||
// Execute
|
||||
@@ -84,12 +90,14 @@ display_handler_on_favicon_urlchange(struct _cef_display_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: icon_urls
|
||||
|
||||
// Translate param: icon_urls; type: string_vec_byref_const
|
||||
@@ -110,12 +118,14 @@ display_handler_on_fullscreen_mode_change(struct _cef_display_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDisplayHandlerCppToC::Get(self)->OnFullscreenModeChange(
|
||||
@@ -130,12 +140,14 @@ int CEF_CALLBACK display_handler_on_tooltip(struct _cef_display_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Unverified params: text
|
||||
|
||||
// Translate param: text; type: string_byref
|
||||
@@ -158,12 +170,14 @@ display_handler_on_status_message(struct _cef_display_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: value
|
||||
|
||||
// Execute
|
||||
@@ -183,12 +197,14 @@ display_handler_on_console_message(struct _cef_display_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Unverified params: message, source
|
||||
|
||||
// Execute
|
||||
@@ -209,16 +225,19 @@ display_handler_on_auto_resize(struct _cef_display_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: new_size; type: simple_byref_const
|
||||
DCHECK(new_size);
|
||||
if (!new_size)
|
||||
if (!new_size) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: new_size; type: simple_byref_const
|
||||
CefSize new_sizeVal = new_size ? *new_size : CefSize();
|
||||
@@ -240,12 +259,14 @@ display_handler_on_loading_progress_change(struct _cef_display_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDisplayHandlerCppToC::Get(self)->OnLoadingProgressChange(
|
||||
@@ -263,16 +284,19 @@ display_handler_on_cursor_change(struct _cef_display_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: custom_cursor_info; type: simple_byref_const
|
||||
DCHECK(custom_cursor_info);
|
||||
if (!custom_cursor_info)
|
||||
if (!custom_cursor_info) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: custom_cursor_info; type: simple_byref_const
|
||||
CefCursorInfo custom_cursor_infoVal =
|
||||
@@ -296,12 +320,14 @@ display_handler_on_media_access_change(struct _cef_display_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDisplayHandlerCppToC::Get(self)->OnMediaAccessChange(
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=db9ca0d224aa971d8912fc577c53cc9abe52fe58$
|
||||
// $hash=8ba6fb9ce96e92ba80a05258060e530ddf822264$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_DISPLAY_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=c4cad301694f35ea716d7c4376252140fcb0d78f$
|
||||
// $hash=bb85a1fcd9a95568fc9887f490e817ccb67a2971$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/domdocument_cpptoc.h"
|
||||
@@ -27,8 +27,9 @@ domdocument_get_type(struct _cef_domdocument_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return DOM_DOCUMENT_TYPE_UNKNOWN;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_dom_document_type_t _retval = CefDOMDocumentCppToC::Get(self)->GetType();
|
||||
@@ -44,8 +45,9 @@ domdocument_get_document(struct _cef_domdocument_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDOMNode> _retval =
|
||||
@@ -62,8 +64,9 @@ domdocument_get_body(struct _cef_domdocument_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDOMNode> _retval = CefDOMDocumentCppToC::Get(self)->GetBody();
|
||||
@@ -79,8 +82,9 @@ domdocument_get_head(struct _cef_domdocument_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDOMNode> _retval = CefDOMDocumentCppToC::Get(self)->GetHead();
|
||||
@@ -96,8 +100,9 @@ domdocument_get_title(struct _cef_domdocument_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDOMDocumentCppToC::Get(self)->GetTitle();
|
||||
@@ -114,12 +119,14 @@ domdocument_get_element_by_id(struct _cef_domdocument_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: id; type: string_byref_const
|
||||
DCHECK(id);
|
||||
if (!id)
|
||||
if (!id) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDOMNode> _retval =
|
||||
@@ -136,8 +143,9 @@ domdocument_get_focused_node(struct _cef_domdocument_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDOMNode> _retval =
|
||||
@@ -153,8 +161,9 @@ int CEF_CALLBACK domdocument_has_selection(struct _cef_domdocument_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDOMDocumentCppToC::Get(self)->HasSelection();
|
||||
@@ -170,8 +179,9 @@ domdocument_get_selection_start_offset(struct _cef_domdocument_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = CefDOMDocumentCppToC::Get(self)->GetSelectionStartOffset();
|
||||
@@ -187,8 +197,9 @@ domdocument_get_selection_end_offset(struct _cef_domdocument_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = CefDOMDocumentCppToC::Get(self)->GetSelectionEndOffset();
|
||||
@@ -204,8 +215,9 @@ domdocument_get_selection_as_markup(struct _cef_domdocument_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDOMDocumentCppToC::Get(self)->GetSelectionAsMarkup();
|
||||
@@ -221,8 +233,9 @@ domdocument_get_selection_as_text(struct _cef_domdocument_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDOMDocumentCppToC::Get(self)->GetSelectionAsText();
|
||||
@@ -238,8 +251,9 @@ domdocument_get_base_url(struct _cef_domdocument_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDOMDocumentCppToC::Get(self)->GetBaseURL();
|
||||
@@ -256,12 +270,14 @@ domdocument_get_complete_url(struct _cef_domdocument_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: partialURL; type: string_byref_const
|
||||
DCHECK(partialURL);
|
||||
if (!partialURL)
|
||||
if (!partialURL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval =
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=8aea7ead4b6cbdefba65a1234213fee4eb4a1952$
|
||||
// $hash=6a5b9bb0155acb8c5e6f796e68463825e00a8e53$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_DOMDOCUMENT_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d352693e8728b1ed586dc62d69a91dd92667760a$
|
||||
// $hash=92ad2a43af7fd73add03e0ed4c053d5e3d3595a7$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/domnode_cpptoc.h"
|
||||
@@ -27,8 +27,9 @@ cef_dom_node_type_t CEF_CALLBACK domnode_get_type(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return DOM_NODE_TYPE_UNSUPPORTED;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_dom_node_type_t _retval = CefDOMNodeCppToC::Get(self)->GetType();
|
||||
@@ -43,8 +44,9 @@ int CEF_CALLBACK domnode_is_text(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDOMNodeCppToC::Get(self)->IsText();
|
||||
@@ -59,8 +61,9 @@ int CEF_CALLBACK domnode_is_element(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDOMNodeCppToC::Get(self)->IsElement();
|
||||
@@ -75,8 +78,9 @@ int CEF_CALLBACK domnode_is_editable(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDOMNodeCppToC::Get(self)->IsEditable();
|
||||
@@ -91,8 +95,9 @@ int CEF_CALLBACK domnode_is_form_control_element(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDOMNodeCppToC::Get(self)->IsFormControlElement();
|
||||
@@ -108,8 +113,9 @@ domnode_get_form_control_element_type(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDOMNodeCppToC::Get(self)->GetFormControlElementType();
|
||||
@@ -125,12 +131,14 @@ int CEF_CALLBACK domnode_is_same(struct _cef_domnode_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that);
|
||||
if (!that)
|
||||
if (!that) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@@ -147,8 +155,9 @@ domnode_get_name(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDOMNodeCppToC::Get(self)->GetName();
|
||||
@@ -164,8 +173,9 @@ domnode_get_value(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDOMNodeCppToC::Get(self)->GetValue();
|
||||
@@ -181,12 +191,14 @@ int CEF_CALLBACK domnode_set_value(struct _cef_domnode_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: value; type: string_byref_const
|
||||
DCHECK(value);
|
||||
if (!value)
|
||||
if (!value) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDOMNodeCppToC::Get(self)->SetValue(CefString(value));
|
||||
@@ -202,8 +214,9 @@ domnode_get_as_markup(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDOMNodeCppToC::Get(self)->GetAsMarkup();
|
||||
@@ -219,8 +232,9 @@ domnode_get_document(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDOMDocument> _retval =
|
||||
@@ -237,8 +251,9 @@ domnode_get_parent(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDOMNode> _retval = CefDOMNodeCppToC::Get(self)->GetParent();
|
||||
@@ -254,8 +269,9 @@ domnode_get_previous_sibling(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDOMNode> _retval =
|
||||
@@ -272,8 +288,9 @@ domnode_get_next_sibling(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDOMNode> _retval = CefDOMNodeCppToC::Get(self)->GetNextSibling();
|
||||
@@ -288,8 +305,9 @@ int CEF_CALLBACK domnode_has_children(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDOMNodeCppToC::Get(self)->HasChildren();
|
||||
@@ -305,8 +323,9 @@ domnode_get_first_child(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDOMNode> _retval = CefDOMNodeCppToC::Get(self)->GetFirstChild();
|
||||
@@ -322,8 +341,9 @@ domnode_get_last_child(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDOMNode> _retval = CefDOMNodeCppToC::Get(self)->GetLastChild();
|
||||
@@ -339,8 +359,9 @@ domnode_get_element_tag_name(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDOMNodeCppToC::Get(self)->GetElementTagName();
|
||||
@@ -355,8 +376,9 @@ int CEF_CALLBACK domnode_has_element_attributes(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDOMNodeCppToC::Get(self)->HasElementAttributes();
|
||||
@@ -372,12 +394,14 @@ int CEF_CALLBACK domnode_has_element_attribute(struct _cef_domnode_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: attrName; type: string_byref_const
|
||||
DCHECK(attrName);
|
||||
if (!attrName)
|
||||
if (!attrName) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@@ -395,12 +419,14 @@ domnode_get_element_attribute(struct _cef_domnode_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: attrName; type: string_byref_const
|
||||
DCHECK(attrName);
|
||||
if (!attrName)
|
||||
if (!attrName) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval =
|
||||
@@ -417,12 +443,14 @@ void CEF_CALLBACK domnode_get_element_attributes(struct _cef_domnode_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: attrMap; type: string_map_single_byref
|
||||
DCHECK(attrMap);
|
||||
if (!attrMap)
|
||||
if (!attrMap) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: attrMap; type: string_map_single_byref
|
||||
std::map<CefString, CefString> attrMapMap;
|
||||
@@ -444,16 +472,19 @@ int CEF_CALLBACK domnode_set_element_attribute(struct _cef_domnode_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: attrName; type: string_byref_const
|
||||
DCHECK(attrName);
|
||||
if (!attrName)
|
||||
if (!attrName) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: value; type: string_byref_const
|
||||
DCHECK(value);
|
||||
if (!value)
|
||||
if (!value) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDOMNodeCppToC::Get(self)->SetElementAttribute(
|
||||
@@ -470,8 +501,9 @@ domnode_get_element_inner_text(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDOMNodeCppToC::Get(self)->GetElementInnerText();
|
||||
@@ -487,8 +519,9 @@ domnode_get_element_bounds(struct _cef_domnode_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_rect_t _retval = CefDOMNodeCppToC::Get(self)->GetElementBounds();
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=e5c97231e7d369e8fb4bd73611ec49d7289af076$
|
||||
// $hash=18f223a2671334b8bd8d463a94b5a3c0191141e8$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_DOMNODE_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=f809bcb5a3f1246b3a94aebe14ad36bbb7e185c7$
|
||||
// $hash=1e896513b946d3e3d3199a1fb6cccf31898d6cbc$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/domvisitor_cpptoc.h"
|
||||
@@ -27,12 +27,14 @@ void CEF_CALLBACK domvisitor_visit(struct _cef_domvisitor_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: document; type: refptr_diff
|
||||
DCHECK(document);
|
||||
if (!document)
|
||||
if (!document) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDOMVisitorCppToC::Get(self)->Visit(CefDOMDocumentCToCpp::Wrap(document));
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=974358c3bab311f8a19af125f5ccf2dfd13ad8e7$
|
||||
// $hash=2a64ff6edd81d5158997158c91e75b85dbd8da39$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_DOMVISITOR_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=89f651178065dbc03e70e763085bf9125dda6640$
|
||||
// $hash=91026e0ecc2c0ef824ed8727e1bdbc21c17eea74$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/download_handler_cpptoc.h"
|
||||
@@ -33,20 +33,24 @@ download_handler_can_download(struct _cef_download_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: url; type: string_byref_const
|
||||
DCHECK(url);
|
||||
if (!url)
|
||||
if (!url) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: request_method; type: string_byref_const
|
||||
DCHECK(request_method);
|
||||
if (!request_method)
|
||||
if (!request_method) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDownloadHandlerCppToC::Get(self)->CanDownload(
|
||||
@@ -68,24 +72,29 @@ download_handler_on_before_download(struct _cef_download_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: download_item; type: refptr_diff
|
||||
DCHECK(download_item);
|
||||
if (!download_item)
|
||||
if (!download_item) {
|
||||
return;
|
||||
}
|
||||
// Verify param: suggested_name; type: string_byref_const
|
||||
DCHECK(suggested_name);
|
||||
if (!suggested_name)
|
||||
if (!suggested_name) {
|
||||
return;
|
||||
}
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback);
|
||||
if (!callback)
|
||||
if (!callback) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDownloadHandlerCppToC::Get(self)->OnBeforeDownload(
|
||||
@@ -104,20 +113,24 @@ download_handler_on_download_updated(struct _cef_download_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: download_item; type: refptr_diff
|
||||
DCHECK(download_item);
|
||||
if (!download_item)
|
||||
if (!download_item) {
|
||||
return;
|
||||
}
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback);
|
||||
if (!callback)
|
||||
if (!callback) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDownloadHandlerCppToC::Get(self)->OnDownloadUpdated(
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d8c8f94bad7ee32841d16658b106158880edb5e0$
|
||||
// $hash=1b301493e2f905a2761858e2d6623765a540f918$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_DOWNLOAD_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=9313088260606d8b5a57b7e75c1d37e724924a40$
|
||||
// $hash=d097e0275625031a367f9d2734f372c62ff6dfeb$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/download_image_callback_cpptoc.h"
|
||||
@@ -30,12 +30,14 @@ void CEF_CALLBACK download_image_callback_on_download_image_finished(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: image_url; type: string_byref_const
|
||||
DCHECK(image_url);
|
||||
if (!image_url)
|
||||
if (!image_url) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: image
|
||||
|
||||
// Execute
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=c5f83abc0a8e18b3f0c87d39f83df687dfff22e1$
|
||||
// $hash=9a9250d7e4f3d2018c4b441e6616930627625b59$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_DOWNLOAD_IMAGE_CALLBACK_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=7cb000dca30be501541fc16036c585a3cd6618cb$
|
||||
// $hash=8b63291230c3edaf9568ebf29171722403232b0d$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/download_item_callback_cpptoc.h"
|
||||
@@ -26,8 +26,9 @@ download_item_callback_cancel(struct _cef_download_item_callback_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDownloadItemCallbackCppToC::Get(self)->Cancel();
|
||||
@@ -40,8 +41,9 @@ download_item_callback_pause(struct _cef_download_item_callback_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDownloadItemCallbackCppToC::Get(self)->Pause();
|
||||
@@ -54,8 +56,9 @@ download_item_callback_resume(struct _cef_download_item_callback_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDownloadItemCallbackCppToC::Get(self)->Resume();
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d0baa6c264292da99e5c909d18450486435c9a8e$
|
||||
// $hash=1c85860b0d21f2efc1610ed47af70ed570f63926$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_DOWNLOAD_ITEM_CALLBACK_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=6ced91f96527ec3d231208e0bcadbbd557f41d65$
|
||||
// $hash=cb94a7a2bc730d84808942098434a9fa482e348d$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/download_item_cpptoc.h"
|
||||
@@ -25,8 +25,9 @@ int CEF_CALLBACK download_item_is_valid(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDownloadItemCppToC::Get(self)->IsValid();
|
||||
@@ -42,8 +43,9 @@ download_item_is_in_progress(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDownloadItemCppToC::Get(self)->IsInProgress();
|
||||
@@ -58,8 +60,9 @@ int CEF_CALLBACK download_item_is_complete(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDownloadItemCppToC::Get(self)->IsComplete();
|
||||
@@ -74,8 +77,9 @@ int CEF_CALLBACK download_item_is_canceled(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDownloadItemCppToC::Get(self)->IsCanceled();
|
||||
@@ -91,8 +95,9 @@ download_item_get_current_speed(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int64 _retval = CefDownloadItemCppToC::Get(self)->GetCurrentSpeed();
|
||||
@@ -108,8 +113,9 @@ download_item_get_percent_complete(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = CefDownloadItemCppToC::Get(self)->GetPercentComplete();
|
||||
@@ -125,8 +131,9 @@ download_item_get_total_bytes(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int64 _retval = CefDownloadItemCppToC::Get(self)->GetTotalBytes();
|
||||
@@ -142,8 +149,9 @@ download_item_get_received_bytes(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int64 _retval = CefDownloadItemCppToC::Get(self)->GetReceivedBytes();
|
||||
@@ -159,8 +167,9 @@ download_item_get_start_time(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CefBaseTime();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_basetime_t _retval = CefDownloadItemCppToC::Get(self)->GetStartTime();
|
||||
@@ -176,8 +185,9 @@ download_item_get_end_time(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CefBaseTime();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_basetime_t _retval = CefDownloadItemCppToC::Get(self)->GetEndTime();
|
||||
@@ -193,8 +203,9 @@ download_item_get_full_path(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDownloadItemCppToC::Get(self)->GetFullPath();
|
||||
@@ -209,8 +220,9 @@ uint32 CEF_CALLBACK download_item_get_id(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
uint32 _retval = CefDownloadItemCppToC::Get(self)->GetId();
|
||||
@@ -226,8 +238,9 @@ download_item_get_url(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDownloadItemCppToC::Get(self)->GetURL();
|
||||
@@ -243,8 +256,9 @@ download_item_get_original_url(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDownloadItemCppToC::Get(self)->GetOriginalUrl();
|
||||
@@ -260,8 +274,9 @@ download_item_get_suggested_file_name(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDownloadItemCppToC::Get(self)->GetSuggestedFileName();
|
||||
@@ -277,8 +292,9 @@ download_item_get_content_disposition(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDownloadItemCppToC::Get(self)->GetContentDisposition();
|
||||
@@ -294,8 +310,9 @@ download_item_get_mime_type(struct _cef_download_item_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDownloadItemCppToC::Get(self)->GetMimeType();
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=72609007d48530320ae4a0f210c4604108d896d9$
|
||||
// $hash=3817a67cd4da8a318fe118f775a86a3daa22af67$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_DOWNLOAD_ITEM_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=284032a14fc598b45b138f1dd949d9004abc6930$
|
||||
// $hash=978e101f569a95222ce4e962d681ff2b4df46955$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/drag_data_cpptoc.h"
|
||||
@@ -43,8 +43,9 @@ drag_data_clone(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDragData> _retval = CefDragDataCppToC::Get(self)->Clone();
|
||||
@@ -59,8 +60,9 @@ int CEF_CALLBACK drag_data_is_read_only(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDragDataCppToC::Get(self)->IsReadOnly();
|
||||
@@ -75,8 +77,9 @@ int CEF_CALLBACK drag_data_is_link(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDragDataCppToC::Get(self)->IsLink();
|
||||
@@ -91,8 +94,9 @@ int CEF_CALLBACK drag_data_is_fragment(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDragDataCppToC::Get(self)->IsFragment();
|
||||
@@ -107,8 +111,9 @@ int CEF_CALLBACK drag_data_is_file(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDragDataCppToC::Get(self)->IsFile();
|
||||
@@ -124,8 +129,9 @@ drag_data_get_link_url(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDragDataCppToC::Get(self)->GetLinkURL();
|
||||
@@ -141,8 +147,9 @@ drag_data_get_link_title(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDragDataCppToC::Get(self)->GetLinkTitle();
|
||||
@@ -158,8 +165,9 @@ drag_data_get_link_metadata(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDragDataCppToC::Get(self)->GetLinkMetadata();
|
||||
@@ -175,8 +183,9 @@ drag_data_get_fragment_text(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDragDataCppToC::Get(self)->GetFragmentText();
|
||||
@@ -192,8 +201,9 @@ drag_data_get_fragment_html(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDragDataCppToC::Get(self)->GetFragmentHtml();
|
||||
@@ -209,8 +219,9 @@ drag_data_get_fragment_base_url(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDragDataCppToC::Get(self)->GetFragmentBaseURL();
|
||||
@@ -226,8 +237,9 @@ drag_data_get_file_name(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefDragDataCppToC::Get(self)->GetFileName();
|
||||
@@ -244,8 +256,9 @@ drag_data_get_file_contents(struct _cef_drag_data_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Unverified params: writer
|
||||
|
||||
// Execute
|
||||
@@ -263,12 +276,14 @@ int CEF_CALLBACK drag_data_get_file_names(struct _cef_drag_data_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: names; type: string_vec_byref
|
||||
DCHECK(names);
|
||||
if (!names)
|
||||
if (!names) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: names; type: string_vec_byref
|
||||
std::vector<CefString> namesList;
|
||||
@@ -292,8 +307,9 @@ void CEF_CALLBACK drag_data_set_link_url(struct _cef_drag_data_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: url
|
||||
|
||||
// Execute
|
||||
@@ -307,8 +323,9 @@ void CEF_CALLBACK drag_data_set_link_title(struct _cef_drag_data_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: title
|
||||
|
||||
// Execute
|
||||
@@ -322,8 +339,9 @@ void CEF_CALLBACK drag_data_set_link_metadata(struct _cef_drag_data_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: data
|
||||
|
||||
// Execute
|
||||
@@ -337,8 +355,9 @@ void CEF_CALLBACK drag_data_set_fragment_text(struct _cef_drag_data_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: text
|
||||
|
||||
// Execute
|
||||
@@ -352,8 +371,9 @@ void CEF_CALLBACK drag_data_set_fragment_html(struct _cef_drag_data_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: html
|
||||
|
||||
// Execute
|
||||
@@ -368,8 +388,9 @@ drag_data_set_fragment_base_url(struct _cef_drag_data_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: base_url
|
||||
|
||||
// Execute
|
||||
@@ -382,8 +403,9 @@ void CEF_CALLBACK drag_data_reset_file_contents(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDragDataCppToC::Get(self)->ResetFileContents();
|
||||
@@ -397,12 +419,14 @@ void CEF_CALLBACK drag_data_add_file(struct _cef_drag_data_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: path; type: string_byref_const
|
||||
DCHECK(path);
|
||||
if (!path)
|
||||
if (!path) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: display_name
|
||||
|
||||
// Execute
|
||||
@@ -416,8 +440,9 @@ void CEF_CALLBACK drag_data_clear_filenames(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefDragDataCppToC::Get(self)->ClearFilenames();
|
||||
@@ -430,8 +455,9 @@ drag_data_get_image(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefImage> _retval = CefDragDataCppToC::Get(self)->GetImage();
|
||||
@@ -447,8 +473,9 @@ drag_data_get_image_hotspot(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return CefPoint();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_point_t _retval = CefDragDataCppToC::Get(self)->GetImageHotspot();
|
||||
@@ -463,8 +490,9 @@ int CEF_CALLBACK drag_data_has_image(struct _cef_drag_data_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDragDataCppToC::Get(self)->HasImage();
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=c267ab21bb2e49ecade7ba3c7545003d7e072373$
|
||||
// $hash=4ce3b8cfc691f8cb7aa224a00d7835283c5039ab$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_DRAG_DATA_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=53febc1355422739c9de942f67f52fb4de462571$
|
||||
// $hash=6c1d14cb706ab18d56a265e2eaa5567a526919e9$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/drag_handler_cpptoc.h"
|
||||
@@ -31,16 +31,19 @@ int CEF_CALLBACK drag_handler_on_drag_enter(struct _cef_drag_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: dragData; type: refptr_diff
|
||||
DCHECK(dragData);
|
||||
if (!dragData)
|
||||
if (!dragData) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefDragHandlerCppToC::Get(self)->OnDragEnter(
|
||||
@@ -61,20 +64,24 @@ void CEF_CALLBACK drag_handler_on_draggable_regions_changed(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return;
|
||||
}
|
||||
// Verify param: regions; type: simple_vec_byref_const
|
||||
DCHECK(regionsCount == 0 || regions);
|
||||
if (regionsCount > 0 && !regions)
|
||||
if (regionsCount > 0 && !regions) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: regions; type: simple_vec_byref_const
|
||||
std::vector<CefDraggableRegion> regionsList;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=39ab6f4e1f88efb2d726995d7075c904e11091e6$
|
||||
// $hash=9d82217b402aa41686392b0ba81169f4b41035e7$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_DRAG_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=67836a9b2dfec98cab93231cb7e07ca2b9696123$
|
||||
// $hash=ebc35ae1d69fc69861f74ff1531d1c849220fed8$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/end_tracing_callback_cpptoc.h"
|
||||
@@ -27,12 +27,14 @@ void CEF_CALLBACK end_tracing_callback_on_end_tracing_complete(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: tracing_file; type: string_byref_const
|
||||
DCHECK(tracing_file);
|
||||
if (!tracing_file)
|
||||
if (!tracing_file) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefEndTracingCallbackCppToC::Get(self)->OnEndTracingComplete(
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=0769e0fec9a6f3c0e33d35b23ebf1bec4a205844$
|
||||
// $hash=81dc12ded9752671497f775c397ca120632c4ddb$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_END_TRACING_CALLBACK_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=5ae76b861609dc9f1b0d033dcebf514d8ef68a57$
|
||||
// $hash=1be4d8919dc1f776e8c5b897757ed215df15fb06$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/extension_cpptoc.h"
|
||||
@@ -29,8 +29,9 @@ extension_get_identifier(struct _cef_extension_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefExtensionCppToC::Get(self)->GetIdentifier();
|
||||
@@ -46,8 +47,9 @@ extension_get_path(struct _cef_extension_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefExtensionCppToC::Get(self)->GetPath();
|
||||
@@ -63,8 +65,9 @@ extension_get_manifest(struct _cef_extension_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDictionaryValue> _retval =
|
||||
@@ -81,12 +84,14 @@ int CEF_CALLBACK extension_is_same(struct _cef_extension_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that);
|
||||
if (!that)
|
||||
if (!that) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@@ -103,8 +108,9 @@ extension_get_handler(struct _cef_extension_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefExtensionHandler> _retval =
|
||||
@@ -121,8 +127,9 @@ extension_get_loader_context(struct _cef_extension_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefRequestContext> _retval =
|
||||
@@ -138,8 +145,9 @@ int CEF_CALLBACK extension_is_loaded(struct _cef_extension_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefExtensionCppToC::Get(self)->IsLoaded();
|
||||
@@ -154,8 +162,9 @@ void CEF_CALLBACK extension_unload(struct _cef_extension_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefExtensionCppToC::Get(self)->Unload();
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=46725937bd7ba35ca8ea8fb2d1bbdeac0c53dc80$
|
||||
// $hash=924265d65cc81f721d9757d8b4a325260e1848d1$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_EXTENSION_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=de81505288135d37f0fc5a334b3951d9519e4fa0$
|
||||
// $hash=febb11e8ea976823bf839bc77bc129be40af20bb$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/extension_handler_cpptoc.h"
|
||||
@@ -32,8 +32,9 @@ void CEF_CALLBACK extension_handler_on_extension_load_failed(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefExtensionHandlerCppToC::Get(self)->OnExtensionLoadFailed(result);
|
||||
@@ -47,12 +48,14 @@ extension_handler_on_extension_loaded(struct _cef_extension_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: extension; type: refptr_diff
|
||||
DCHECK(extension);
|
||||
if (!extension)
|
||||
if (!extension) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefExtensionHandlerCppToC::Get(self)->OnExtensionLoaded(
|
||||
@@ -67,12 +70,14 @@ extension_handler_on_extension_unloaded(struct _cef_extension_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: extension; type: refptr_diff
|
||||
DCHECK(extension);
|
||||
if (!extension)
|
||||
if (!extension) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefExtensionHandlerCppToC::Get(self)->OnExtensionUnloaded(
|
||||
@@ -90,24 +95,29 @@ int CEF_CALLBACK extension_handler_on_before_background_browser(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: extension; type: refptr_diff
|
||||
DCHECK(extension);
|
||||
if (!extension)
|
||||
if (!extension) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: url; type: string_byref_const
|
||||
DCHECK(url);
|
||||
if (!url)
|
||||
if (!url) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: client; type: refptr_same_byref
|
||||
DCHECK(client);
|
||||
if (!client)
|
||||
if (!client) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: settings; type: struct_byref
|
||||
DCHECK(settings);
|
||||
if (!settings)
|
||||
if (!settings) {
|
||||
return 0;
|
||||
}
|
||||
if (!template_util::has_valid_size(settings)) {
|
||||
NOTREACHED() << "invalid settings->[base.]size";
|
||||
return 0;
|
||||
@@ -115,13 +125,15 @@ int CEF_CALLBACK extension_handler_on_before_background_browser(
|
||||
|
||||
// Translate param: client; type: refptr_same_byref
|
||||
CefRefPtr<CefClient> clientPtr;
|
||||
if (client && *client)
|
||||
if (client && *client) {
|
||||
clientPtr = CefClientCppToC::Unwrap(*client);
|
||||
}
|
||||
CefClient* clientOrig = clientPtr.get();
|
||||
// Translate param: settings; type: struct_byref
|
||||
CefBrowserSettings settingsObj;
|
||||
if (settings)
|
||||
if (settings) {
|
||||
settingsObj.AttachTo(*settings);
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@@ -140,8 +152,9 @@ int CEF_CALLBACK extension_handler_on_before_background_browser(
|
||||
}
|
||||
}
|
||||
// Restore param: settings; type: struct_byref
|
||||
if (settings)
|
||||
if (settings) {
|
||||
settingsObj.DetachTo(*settings);
|
||||
}
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
@@ -163,40 +176,48 @@ extension_handler_on_before_browser(struct _cef_extension_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: extension; type: refptr_diff
|
||||
DCHECK(extension);
|
||||
if (!extension)
|
||||
if (!extension) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: active_browser; type: refptr_diff
|
||||
DCHECK(active_browser);
|
||||
if (!active_browser)
|
||||
if (!active_browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: url; type: string_byref_const
|
||||
DCHECK(url);
|
||||
if (!url)
|
||||
if (!url) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: windowInfo; type: struct_byref
|
||||
DCHECK(windowInfo);
|
||||
if (!windowInfo)
|
||||
if (!windowInfo) {
|
||||
return 0;
|
||||
}
|
||||
if (!template_util::has_valid_size(windowInfo)) {
|
||||
NOTREACHED() << "invalid windowInfo->[base.]size";
|
||||
return 0;
|
||||
}
|
||||
// Verify param: client; type: refptr_same_byref
|
||||
DCHECK(client);
|
||||
if (!client)
|
||||
if (!client) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: settings; type: struct_byref
|
||||
DCHECK(settings);
|
||||
if (!settings)
|
||||
if (!settings) {
|
||||
return 0;
|
||||
}
|
||||
if (!template_util::has_valid_size(settings)) {
|
||||
NOTREACHED() << "invalid settings->[base.]size";
|
||||
return 0;
|
||||
@@ -204,17 +225,20 @@ extension_handler_on_before_browser(struct _cef_extension_handler_t* self,
|
||||
|
||||
// Translate param: windowInfo; type: struct_byref
|
||||
CefWindowInfo windowInfoObj;
|
||||
if (windowInfo)
|
||||
if (windowInfo) {
|
||||
windowInfoObj.AttachTo(*windowInfo);
|
||||
}
|
||||
// Translate param: client; type: refptr_same_byref
|
||||
CefRefPtr<CefClient> clientPtr;
|
||||
if (client && *client)
|
||||
if (client && *client) {
|
||||
clientPtr = CefClientCppToC::Unwrap(*client);
|
||||
}
|
||||
CefClient* clientOrig = clientPtr.get();
|
||||
// Translate param: settings; type: struct_byref
|
||||
CefBrowserSettings settingsObj;
|
||||
if (settings)
|
||||
if (settings) {
|
||||
settingsObj.AttachTo(*settings);
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefExtensionHandlerCppToC::Get(self)->OnBeforeBrowser(
|
||||
@@ -223,8 +247,9 @@ extension_handler_on_before_browser(struct _cef_extension_handler_t* self,
|
||||
active ? true : false, windowInfoObj, clientPtr, settingsObj);
|
||||
|
||||
// Restore param: windowInfo; type: struct_byref
|
||||
if (windowInfo)
|
||||
if (windowInfo) {
|
||||
windowInfoObj.DetachTo(*windowInfo);
|
||||
}
|
||||
// Restore param: client; type: refptr_same_byref
|
||||
if (client) {
|
||||
if (clientPtr.get()) {
|
||||
@@ -236,8 +261,9 @@ extension_handler_on_before_browser(struct _cef_extension_handler_t* self,
|
||||
}
|
||||
}
|
||||
// Restore param: settings; type: struct_byref
|
||||
if (settings)
|
||||
if (settings) {
|
||||
settingsObj.DetachTo(*settings);
|
||||
}
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
@@ -253,16 +279,19 @@ extension_handler_get_active_browser(struct _cef_extension_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: extension; type: refptr_diff
|
||||
DCHECK(extension);
|
||||
if (!extension)
|
||||
if (!extension) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefBrowser> _retval =
|
||||
@@ -285,20 +314,24 @@ extension_handler_can_access_browser(struct _cef_extension_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: extension; type: refptr_diff
|
||||
DCHECK(extension);
|
||||
if (!extension)
|
||||
if (!extension) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: target_browser; type: refptr_diff
|
||||
DCHECK(target_browser);
|
||||
if (!target_browser)
|
||||
if (!target_browser) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefExtensionHandlerCppToC::Get(self)->CanAccessBrowser(
|
||||
@@ -320,24 +353,29 @@ int CEF_CALLBACK extension_handler_get_extension_resource(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: extension; type: refptr_diff
|
||||
DCHECK(extension);
|
||||
if (!extension)
|
||||
if (!extension) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: file; type: string_byref_const
|
||||
DCHECK(file);
|
||||
if (!file)
|
||||
if (!file) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback);
|
||||
if (!callback)
|
||||
if (!callback) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefExtensionHandlerCppToC::Get(self)->GetExtensionResource(
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=b695266a9c10c4fc0b68f96b64a77cc5c0235827$
|
||||
// $hash=db012b196983395c9684bf1275b638e9ccc57949$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_EXTENSION_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=1abedb0e8e7a0101d9ff3f4918f992f3c010d5a6$
|
||||
// $hash=a646b20f2a1836fded44c08db264012b6fa2bfb7$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/file_dialog_callback_cpptoc.h"
|
||||
@@ -28,8 +28,9 @@ file_dialog_callback_cont(struct _cef_file_dialog_callback_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: file_paths
|
||||
|
||||
// Translate param: file_paths; type: string_vec_byref_const
|
||||
@@ -47,8 +48,9 @@ file_dialog_callback_cancel(struct _cef_file_dialog_callback_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFileDialogCallbackCppToC::Get(self)->Cancel();
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=2b6c5e5bd0bb44f1c916b317bccb0e0794c28f91$
|
||||
// $hash=2db275ca5be351037a0e19531fb2ed4c3af4498d$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_FILE_DIALOG_CALLBACK_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=022bd3d1f8fd0eb3de156647dd4f50d688747534$
|
||||
// $hash=ed6fc947aa34621a06ac238692de05015cb4f965$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/find_handler_cpptoc.h"
|
||||
@@ -32,16 +32,19 @@ void CEF_CALLBACK find_handler_on_find_result(struct _cef_find_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: selectionRect; type: simple_byref_const
|
||||
DCHECK(selectionRect);
|
||||
if (!selectionRect)
|
||||
if (!selectionRect) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Translate param: selectionRect; type: simple_byref_const
|
||||
CefRect selectionRectVal = selectionRect ? *selectionRect : CefRect();
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=c6408d6714984291379f0113e7806cac21aee934$
|
||||
// $hash=fd8c0866622e63f6564c0b00107ebcb0c82d60fe$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_FIND_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=6d554e767e9e5eea0d9caefba61e35fbe4fff231$
|
||||
// $hash=434fcb10c5051958eb269c7c2d5bd5eb0d558a2b$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/focus_handler_cpptoc.h"
|
||||
@@ -28,12 +28,14 @@ void CEF_CALLBACK focus_handler_on_take_focus(struct _cef_focus_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFocusHandlerCppToC::Get(self)->OnTakeFocus(CefBrowserCToCpp::Wrap(browser),
|
||||
@@ -48,12 +50,14 @@ int CEF_CALLBACK focus_handler_on_set_focus(struct _cef_focus_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefFocusHandlerCppToC::Get(self)->OnSetFocus(
|
||||
@@ -70,12 +74,14 @@ void CEF_CALLBACK focus_handler_on_got_focus(struct _cef_focus_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFocusHandlerCppToC::Get(self)->OnGotFocus(CefBrowserCToCpp::Wrap(browser));
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=def50c909d368ef1d03f1932f2b0283c3cbf8165$
|
||||
// $hash=b4e1894b64083f0045302da4840abf664c5a2429$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_FOCUS_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=fd44b20a616ead48395d44804c8e8df40f7bc384$
|
||||
// $hash=00edde10c338f3a382c715675f086de7753f2267$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/frame_cpptoc.h"
|
||||
@@ -33,8 +33,9 @@ int CEF_CALLBACK frame_is_valid(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefFrameCppToC::Get(self)->IsValid();
|
||||
@@ -49,8 +50,9 @@ void CEF_CALLBACK frame_undo(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameCppToC::Get(self)->Undo();
|
||||
@@ -62,8 +64,9 @@ void CEF_CALLBACK frame_redo(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameCppToC::Get(self)->Redo();
|
||||
@@ -75,8 +78,9 @@ void CEF_CALLBACK frame_cut(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameCppToC::Get(self)->Cut();
|
||||
@@ -88,8 +92,9 @@ void CEF_CALLBACK frame_copy(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameCppToC::Get(self)->Copy();
|
||||
@@ -101,8 +106,9 @@ void CEF_CALLBACK frame_paste(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameCppToC::Get(self)->Paste();
|
||||
@@ -114,8 +120,9 @@ void CEF_CALLBACK frame_del(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameCppToC::Get(self)->Delete();
|
||||
@@ -127,8 +134,9 @@ void CEF_CALLBACK frame_select_all(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameCppToC::Get(self)->SelectAll();
|
||||
@@ -140,8 +148,9 @@ void CEF_CALLBACK frame_view_source(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameCppToC::Get(self)->ViewSource();
|
||||
@@ -154,12 +163,14 @@ void CEF_CALLBACK frame_get_source(struct _cef_frame_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: visitor; type: refptr_diff
|
||||
DCHECK(visitor);
|
||||
if (!visitor)
|
||||
if (!visitor) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameCppToC::Get(self)->GetSource(CefStringVisitorCToCpp::Wrap(visitor));
|
||||
@@ -172,12 +183,14 @@ void CEF_CALLBACK frame_get_text(struct _cef_frame_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: visitor; type: refptr_diff
|
||||
DCHECK(visitor);
|
||||
if (!visitor)
|
||||
if (!visitor) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameCppToC::Get(self)->GetText(CefStringVisitorCToCpp::Wrap(visitor));
|
||||
@@ -190,12 +203,14 @@ void CEF_CALLBACK frame_load_request(struct _cef_frame_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: request; type: refptr_same
|
||||
DCHECK(request);
|
||||
if (!request)
|
||||
if (!request) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameCppToC::Get(self)->LoadRequest(CefRequestCppToC::Unwrap(request));
|
||||
@@ -208,12 +223,14 @@ void CEF_CALLBACK frame_load_url(struct _cef_frame_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: url; type: string_byref_const
|
||||
DCHECK(url);
|
||||
if (!url)
|
||||
if (!url) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameCppToC::Get(self)->LoadURL(CefString(url));
|
||||
@@ -228,12 +245,14 @@ void CEF_CALLBACK frame_execute_java_script(struct _cef_frame_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: code; type: string_byref_const
|
||||
DCHECK(code);
|
||||
if (!code)
|
||||
if (!code) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: script_url
|
||||
|
||||
// Execute
|
||||
@@ -247,8 +266,9 @@ int CEF_CALLBACK frame_is_main(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefFrameCppToC::Get(self)->IsMain();
|
||||
@@ -263,8 +283,9 @@ int CEF_CALLBACK frame_is_focused(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefFrameCppToC::Get(self)->IsFocused();
|
||||
@@ -279,8 +300,9 @@ cef_string_userfree_t CEF_CALLBACK frame_get_name(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefFrameCppToC::Get(self)->GetName();
|
||||
@@ -295,8 +317,9 @@ int64 CEF_CALLBACK frame_get_identifier(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int64 _retval = CefFrameCppToC::Get(self)->GetIdentifier();
|
||||
@@ -311,8 +334,9 @@ struct _cef_frame_t* CEF_CALLBACK frame_get_parent(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefFrame> _retval = CefFrameCppToC::Get(self)->GetParent();
|
||||
@@ -327,8 +351,9 @@ cef_string_userfree_t CEF_CALLBACK frame_get_url(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefFrameCppToC::Get(self)->GetURL();
|
||||
@@ -343,8 +368,9 @@ cef_browser_t* CEF_CALLBACK frame_get_browser(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefBrowser> _retval = CefFrameCppToC::Get(self)->GetBrowser();
|
||||
@@ -360,8 +386,9 @@ frame_get_v8context(struct _cef_frame_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefV8Context> _retval = CefFrameCppToC::Get(self)->GetV8Context();
|
||||
@@ -377,12 +404,14 @@ void CEF_CALLBACK frame_visit_dom(struct _cef_frame_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: visitor; type: refptr_diff
|
||||
DCHECK(visitor);
|
||||
if (!visitor)
|
||||
if (!visitor) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameCppToC::Get(self)->VisitDOM(CefDOMVisitorCToCpp::Wrap(visitor));
|
||||
@@ -397,16 +426,19 @@ frame_create_urlrequest(struct _cef_frame_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: request; type: refptr_same
|
||||
DCHECK(request);
|
||||
if (!request)
|
||||
if (!request) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: client; type: refptr_diff
|
||||
DCHECK(client);
|
||||
if (!client)
|
||||
if (!client) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefURLRequest> _retval =
|
||||
@@ -427,12 +459,14 @@ frame_send_process_message(struct _cef_frame_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: message; type: refptr_same
|
||||
DCHECK(message);
|
||||
if (!message)
|
||||
if (!message) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameCppToC::Get(self)->SendProcessMessage(
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=5154f627049509d38f098549ea08fb26a0712963$
|
||||
// $hash=e2af583c7a4b0b6b071e9e96ce8645375902673d$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_FRAME_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=276f4b15ecef989b38c2a6dd9cac5be7df5cb844$
|
||||
// $hash=42bab23e4d8596214bbc40591bc50c784eecbf4d$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/frame_handler_cpptoc.h"
|
||||
@@ -30,16 +30,19 @@ frame_handler_on_frame_created(struct _cef_frame_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameHandlerCppToC::Get(self)->OnFrameCreated(
|
||||
@@ -56,16 +59,19 @@ frame_handler_on_frame_attached(struct _cef_frame_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameHandlerCppToC::Get(self)->OnFrameAttached(
|
||||
@@ -82,16 +88,19 @@ frame_handler_on_frame_detached(struct _cef_frame_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameHandlerCppToC::Get(self)->OnFrameDetached(
|
||||
@@ -108,12 +117,14 @@ frame_handler_on_main_frame_changed(struct _cef_frame_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: old_frame, new_frame
|
||||
|
||||
// Execute
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=d0f6aac72a7795b0221831ffe475fa8b5062ab1a$
|
||||
// $hash=72b035624f1edff425da000635d111f72186fffc$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_FRAME_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=3f24789c79862889b5a0454c743bf70f71a98faf$
|
||||
// $hash=632d5681b71f4729ae9b56380eab24dfc49eda3a$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/get_extension_resource_callback_cpptoc.h"
|
||||
@@ -28,8 +28,9 @@ void CEF_CALLBACK get_extension_resource_callback_cont(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: stream
|
||||
|
||||
// Execute
|
||||
@@ -44,8 +45,9 @@ void CEF_CALLBACK get_extension_resource_callback_cancel(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefGetExtensionResourceCallbackCppToC::Get(self)->Cancel();
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=8e0f89043319ecad378af6125bd4fcdbd8bdd34e$
|
||||
// $hash=76b58a0d3f719bb4899c87ec701d89a96a45ae31$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_GET_EXTENSION_RESOURCE_CALLBACK_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=e9ee6df7e0e77e54dea7e2c1e4b24cdc88b79344$
|
||||
// $hash=b10ecc805dee1dd8d653276cc2633a5e439b2fa8$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/image_cpptoc.h"
|
||||
@@ -40,8 +40,9 @@ int CEF_CALLBACK image_is_empty(struct _cef_image_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefImageCppToC::Get(self)->IsEmpty();
|
||||
@@ -57,12 +58,14 @@ int CEF_CALLBACK image_is_same(struct _cef_image_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that);
|
||||
if (!that)
|
||||
if (!that) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@@ -85,12 +88,14 @@ int CEF_CALLBACK image_add_bitmap(struct _cef_image_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: pixel_data; type: simple_byaddr
|
||||
DCHECK(pixel_data);
|
||||
if (!pixel_data)
|
||||
if (!pixel_data) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefImageCppToC::Get(self)->AddBitmap(
|
||||
@@ -110,12 +115,14 @@ int CEF_CALLBACK image_add_png(struct _cef_image_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: png_data; type: simple_byaddr
|
||||
DCHECK(png_data);
|
||||
if (!png_data)
|
||||
if (!png_data) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@@ -134,12 +141,14 @@ int CEF_CALLBACK image_add_jpeg(struct _cef_image_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: jpeg_data; type: simple_byaddr
|
||||
DCHECK(jpeg_data);
|
||||
if (!jpeg_data)
|
||||
if (!jpeg_data) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefImageCppToC::Get(self)->AddJPEG(scale_factor, jpeg_data,
|
||||
@@ -155,8 +164,9 @@ size_t CEF_CALLBACK image_get_width(struct _cef_image_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
size_t _retval = CefImageCppToC::Get(self)->GetWidth();
|
||||
@@ -171,8 +181,9 @@ size_t CEF_CALLBACK image_get_height(struct _cef_image_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
size_t _retval = CefImageCppToC::Get(self)->GetHeight();
|
||||
@@ -188,8 +199,9 @@ int CEF_CALLBACK image_has_representation(struct _cef_image_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefImageCppToC::Get(self)->HasRepresentation(scale_factor);
|
||||
@@ -205,8 +217,9 @@ int CEF_CALLBACK image_remove_representation(struct _cef_image_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefImageCppToC::Get(self)->RemoveRepresentation(scale_factor);
|
||||
@@ -225,20 +238,24 @@ int CEF_CALLBACK image_get_representation_info(struct _cef_image_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: actual_scale_factor; type: simple_byref
|
||||
DCHECK(actual_scale_factor);
|
||||
if (!actual_scale_factor)
|
||||
if (!actual_scale_factor) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: pixel_width; type: simple_byref
|
||||
DCHECK(pixel_width);
|
||||
if (!pixel_width)
|
||||
if (!pixel_width) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: pixel_height; type: simple_byref
|
||||
DCHECK(pixel_height);
|
||||
if (!pixel_height)
|
||||
if (!pixel_height) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: actual_scale_factor; type: simple_byref
|
||||
float actual_scale_factorVal = actual_scale_factor ? *actual_scale_factor : 0;
|
||||
@@ -252,14 +269,17 @@ int CEF_CALLBACK image_get_representation_info(struct _cef_image_t* self,
|
||||
scale_factor, actual_scale_factorVal, pixel_widthVal, pixel_heightVal);
|
||||
|
||||
// Restore param: actual_scale_factor; type: simple_byref
|
||||
if (actual_scale_factor)
|
||||
if (actual_scale_factor) {
|
||||
*actual_scale_factor = actual_scale_factorVal;
|
||||
}
|
||||
// Restore param: pixel_width; type: simple_byref
|
||||
if (pixel_width)
|
||||
if (pixel_width) {
|
||||
*pixel_width = pixel_widthVal;
|
||||
}
|
||||
// Restore param: pixel_height; type: simple_byref
|
||||
if (pixel_height)
|
||||
if (pixel_height) {
|
||||
*pixel_height = pixel_heightVal;
|
||||
}
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
@@ -277,16 +297,19 @@ image_get_as_bitmap(struct _cef_image_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: pixel_width; type: simple_byref
|
||||
DCHECK(pixel_width);
|
||||
if (!pixel_width)
|
||||
if (!pixel_width) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: pixel_height; type: simple_byref
|
||||
DCHECK(pixel_height);
|
||||
if (!pixel_height)
|
||||
if (!pixel_height) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Translate param: pixel_width; type: simple_byref
|
||||
int pixel_widthVal = pixel_width ? *pixel_width : 0;
|
||||
@@ -298,11 +321,13 @@ image_get_as_bitmap(struct _cef_image_t* self,
|
||||
scale_factor, color_type, alpha_type, pixel_widthVal, pixel_heightVal);
|
||||
|
||||
// Restore param: pixel_width; type: simple_byref
|
||||
if (pixel_width)
|
||||
if (pixel_width) {
|
||||
*pixel_width = pixel_widthVal;
|
||||
}
|
||||
// Restore param: pixel_height; type: simple_byref
|
||||
if (pixel_height)
|
||||
if (pixel_height) {
|
||||
*pixel_height = pixel_heightVal;
|
||||
}
|
||||
|
||||
// Return type: refptr_same
|
||||
return CefBinaryValueCppToC::Wrap(_retval);
|
||||
@@ -319,16 +344,19 @@ image_get_as_png(struct _cef_image_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: pixel_width; type: simple_byref
|
||||
DCHECK(pixel_width);
|
||||
if (!pixel_width)
|
||||
if (!pixel_width) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: pixel_height; type: simple_byref
|
||||
DCHECK(pixel_height);
|
||||
if (!pixel_height)
|
||||
if (!pixel_height) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Translate param: pixel_width; type: simple_byref
|
||||
int pixel_widthVal = pixel_width ? *pixel_width : 0;
|
||||
@@ -341,11 +369,13 @@ image_get_as_png(struct _cef_image_t* self,
|
||||
pixel_heightVal);
|
||||
|
||||
// Restore param: pixel_width; type: simple_byref
|
||||
if (pixel_width)
|
||||
if (pixel_width) {
|
||||
*pixel_width = pixel_widthVal;
|
||||
}
|
||||
// Restore param: pixel_height; type: simple_byref
|
||||
if (pixel_height)
|
||||
if (pixel_height) {
|
||||
*pixel_height = pixel_heightVal;
|
||||
}
|
||||
|
||||
// Return type: refptr_same
|
||||
return CefBinaryValueCppToC::Wrap(_retval);
|
||||
@@ -362,16 +392,19 @@ image_get_as_jpeg(struct _cef_image_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: pixel_width; type: simple_byref
|
||||
DCHECK(pixel_width);
|
||||
if (!pixel_width)
|
||||
if (!pixel_width) {
|
||||
return NULL;
|
||||
}
|
||||
// Verify param: pixel_height; type: simple_byref
|
||||
DCHECK(pixel_height);
|
||||
if (!pixel_height)
|
||||
if (!pixel_height) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Translate param: pixel_width; type: simple_byref
|
||||
int pixel_widthVal = pixel_width ? *pixel_width : 0;
|
||||
@@ -383,11 +416,13 @@ image_get_as_jpeg(struct _cef_image_t* self,
|
||||
scale_factor, quality, pixel_widthVal, pixel_heightVal);
|
||||
|
||||
// Restore param: pixel_width; type: simple_byref
|
||||
if (pixel_width)
|
||||
if (pixel_width) {
|
||||
*pixel_width = pixel_widthVal;
|
||||
}
|
||||
// Restore param: pixel_height; type: simple_byref
|
||||
if (pixel_height)
|
||||
if (pixel_height) {
|
||||
*pixel_height = pixel_heightVal;
|
||||
}
|
||||
|
||||
// Return type: refptr_same
|
||||
return CefBinaryValueCppToC::Wrap(_retval);
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=e82ca8d18a0367d4061f67afd33a8a486f338238$
|
||||
// $hash=4ce026e90daa0a4d5d4be0baf1e8dbd3ede5974f$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_IMAGE_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=8a66dc7024a4d368e8368b1be42deff60f4966dc$
|
||||
// $hash=40725194bb474305e418e57cf1a7bfc4a3b6af1d$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/jsdialog_callback_cpptoc.h"
|
||||
@@ -27,8 +27,9 @@ void CEF_CALLBACK jsdialog_callback_cont(struct _cef_jsdialog_callback_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: user_input
|
||||
|
||||
// Execute
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=5bc7b389cab53db3487532fbcae4ad156c814710$
|
||||
// $hash=37aac75252a6f35a8abe927ca603849ce98ac1e1$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_JSDIALOG_CALLBACK_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=41c06df7feb0288f02c644bd633cce3f1754beba$
|
||||
// $hash=351f3f71bc8fcee33ee063c17f34f7a9e7a99053$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/jsdialog_handler_cpptoc.h"
|
||||
@@ -35,20 +35,24 @@ jsdialog_handler_on_jsdialog(struct _cef_jsdialog_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback);
|
||||
if (!callback)
|
||||
if (!callback) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: suppress_message; type: bool_byref
|
||||
DCHECK(suppress_message);
|
||||
if (!suppress_message)
|
||||
if (!suppress_message) {
|
||||
return 0;
|
||||
}
|
||||
// Unverified params: origin_url, message_text, default_prompt_text
|
||||
|
||||
// Translate param: suppress_message; type: bool_byref
|
||||
@@ -62,8 +66,9 @@ jsdialog_handler_on_jsdialog(struct _cef_jsdialog_handler_t* self,
|
||||
CefJSDialogCallbackCToCpp::Wrap(callback), suppress_messageBool);
|
||||
|
||||
// Restore param: suppress_message; type: bool_byref
|
||||
if (suppress_message)
|
||||
if (suppress_message) {
|
||||
*suppress_message = suppress_messageBool ? true : false;
|
||||
}
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
@@ -80,16 +85,19 @@ jsdialog_handler_on_before_unload_dialog(struct _cef_jsdialog_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback);
|
||||
if (!callback)
|
||||
if (!callback) {
|
||||
return 0;
|
||||
}
|
||||
// Unverified params: message_text
|
||||
|
||||
// Execute
|
||||
@@ -109,12 +117,14 @@ jsdialog_handler_on_reset_dialog_state(struct _cef_jsdialog_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefJSDialogHandlerCppToC::Get(self)->OnResetDialogState(
|
||||
@@ -129,12 +139,14 @@ jsdialog_handler_on_dialog_closed(struct _cef_jsdialog_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefJSDialogHandlerCppToC::Get(self)->OnDialogClosed(
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=507a9b3192b98d0fad632714a8a4a4f97e5c19a3$
|
||||
// $hash=c6a25a7ceb346f562302df398305f3d09a7c587d$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_JSDIALOG_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=37d878ee8dbf3a48362059e64a0cafa8138bacfc$
|
||||
// $hash=d7c3e9ff25364593a84be3b1cf30ed09897ecbcb$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/keyboard_handler_cpptoc.h"
|
||||
@@ -31,20 +31,24 @@ keyboard_handler_on_pre_key_event(struct _cef_keyboard_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: event; type: simple_byref_const
|
||||
DCHECK(event);
|
||||
if (!event)
|
||||
if (!event) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: is_keyboard_shortcut; type: bool_byaddr
|
||||
DCHECK(is_keyboard_shortcut);
|
||||
if (!is_keyboard_shortcut)
|
||||
if (!is_keyboard_shortcut) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: event; type: simple_byref_const
|
||||
CefKeyEvent eventVal = event ? *event : CefKeyEvent();
|
||||
@@ -58,8 +62,9 @@ keyboard_handler_on_pre_key_event(struct _cef_keyboard_handler_t* self,
|
||||
&is_keyboard_shortcutBool);
|
||||
|
||||
// Restore param: is_keyboard_shortcut; type: bool_byaddr
|
||||
if (is_keyboard_shortcut)
|
||||
if (is_keyboard_shortcut) {
|
||||
*is_keyboard_shortcut = is_keyboard_shortcutBool ? true : false;
|
||||
}
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
@@ -75,16 +80,19 @@ keyboard_handler_on_key_event(struct _cef_keyboard_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: event; type: simple_byref_const
|
||||
DCHECK(event);
|
||||
if (!event)
|
||||
if (!event) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Translate param: event; type: simple_byref_const
|
||||
CefKeyEvent eventVal = event ? *event : CefKeyEvent();
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=5d3509b80dac95b50b7d3c7053562169055ad361$
|
||||
// $hash=0798f508afacf2ed239982052247da9cd7f366e9$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_KEYBOARD_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=a98eb406c58de0e631b408cebd2b2cb0fcdfef7d$
|
||||
// $hash=c291a5ca7c2c70c74ad26a20cafe0dffd07b5a73$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/life_span_handler_cpptoc.h"
|
||||
@@ -43,48 +43,57 @@ int CEF_CALLBACK life_span_handler_on_before_popup(
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: popupFeatures; type: simple_byref_const
|
||||
DCHECK(popupFeatures);
|
||||
if (!popupFeatures)
|
||||
if (!popupFeatures) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: windowInfo; type: struct_byref
|
||||
DCHECK(windowInfo);
|
||||
if (!windowInfo)
|
||||
if (!windowInfo) {
|
||||
return 0;
|
||||
}
|
||||
if (!template_util::has_valid_size(windowInfo)) {
|
||||
NOTREACHED() << "invalid windowInfo->[base.]size";
|
||||
return 0;
|
||||
}
|
||||
// Verify param: client; type: refptr_same_byref
|
||||
DCHECK(client);
|
||||
if (!client)
|
||||
if (!client) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: settings; type: struct_byref
|
||||
DCHECK(settings);
|
||||
if (!settings)
|
||||
if (!settings) {
|
||||
return 0;
|
||||
}
|
||||
if (!template_util::has_valid_size(settings)) {
|
||||
NOTREACHED() << "invalid settings->[base.]size";
|
||||
return 0;
|
||||
}
|
||||
// Verify param: extra_info; type: refptr_diff_byref
|
||||
DCHECK(extra_info);
|
||||
if (!extra_info)
|
||||
if (!extra_info) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: no_javascript_access; type: bool_byaddr
|
||||
DCHECK(no_javascript_access);
|
||||
if (!no_javascript_access)
|
||||
if (!no_javascript_access) {
|
||||
return 0;
|
||||
}
|
||||
// Unverified params: target_url, target_frame_name
|
||||
|
||||
// Translate param: popupFeatures; type: simple_byref_const
|
||||
@@ -92,21 +101,25 @@ int CEF_CALLBACK life_span_handler_on_before_popup(
|
||||
popupFeatures ? *popupFeatures : CefPopupFeatures();
|
||||
// Translate param: windowInfo; type: struct_byref
|
||||
CefWindowInfo windowInfoObj;
|
||||
if (windowInfo)
|
||||
if (windowInfo) {
|
||||
windowInfoObj.AttachTo(*windowInfo);
|
||||
}
|
||||
// Translate param: client; type: refptr_same_byref
|
||||
CefRefPtr<CefClient> clientPtr;
|
||||
if (client && *client)
|
||||
if (client && *client) {
|
||||
clientPtr = CefClientCppToC::Unwrap(*client);
|
||||
}
|
||||
CefClient* clientOrig = clientPtr.get();
|
||||
// Translate param: settings; type: struct_byref
|
||||
CefBrowserSettings settingsObj;
|
||||
if (settings)
|
||||
if (settings) {
|
||||
settingsObj.AttachTo(*settings);
|
||||
}
|
||||
// Translate param: extra_info; type: refptr_diff_byref
|
||||
CefRefPtr<CefDictionaryValue> extra_infoPtr;
|
||||
if (extra_info && *extra_info)
|
||||
if (extra_info && *extra_info) {
|
||||
extra_infoPtr = CefDictionaryValueCToCpp::Wrap(*extra_info);
|
||||
}
|
||||
CefDictionaryValue* extra_infoOrig = extra_infoPtr.get();
|
||||
// Translate param: no_javascript_access; type: bool_byaddr
|
||||
bool no_javascript_accessBool =
|
||||
@@ -120,8 +133,9 @@ int CEF_CALLBACK life_span_handler_on_before_popup(
|
||||
settingsObj, extra_infoPtr, &no_javascript_accessBool);
|
||||
|
||||
// Restore param: windowInfo; type: struct_byref
|
||||
if (windowInfo)
|
||||
if (windowInfo) {
|
||||
windowInfoObj.DetachTo(*windowInfo);
|
||||
}
|
||||
// Restore param: client; type: refptr_same_byref
|
||||
if (client) {
|
||||
if (clientPtr.get()) {
|
||||
@@ -133,8 +147,9 @@ int CEF_CALLBACK life_span_handler_on_before_popup(
|
||||
}
|
||||
}
|
||||
// Restore param: settings; type: struct_byref
|
||||
if (settings)
|
||||
if (settings) {
|
||||
settingsObj.DetachTo(*settings);
|
||||
}
|
||||
// Restore param: extra_info; type: refptr_diff_byref
|
||||
if (extra_info) {
|
||||
if (extra_infoPtr.get()) {
|
||||
@@ -146,8 +161,9 @@ int CEF_CALLBACK life_span_handler_on_before_popup(
|
||||
}
|
||||
}
|
||||
// Restore param: no_javascript_access; type: bool_byaddr
|
||||
if (no_javascript_access)
|
||||
if (no_javascript_access) {
|
||||
*no_javascript_access = no_javascript_accessBool ? true : false;
|
||||
}
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
@@ -161,12 +177,14 @@ life_span_handler_on_after_created(struct _cef_life_span_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLifeSpanHandlerCppToC::Get(self)->OnAfterCreated(
|
||||
@@ -181,12 +199,14 @@ life_span_handler_do_close(struct _cef_life_span_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefLifeSpanHandlerCppToC::Get(self)->DoClose(
|
||||
@@ -204,12 +224,14 @@ life_span_handler_on_before_close(struct _cef_life_span_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLifeSpanHandlerCppToC::Get(self)->OnBeforeClose(
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=85c8f684b4799cf1410174b0e29a41b192eaf7a4$
|
||||
// $hash=74c66feec24c563e6f3f32230dcb0dbf45ed9350$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_LIFE_SPAN_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=2d2041c7571bd613f92c2d80c100e92e7439df6e$
|
||||
// $hash=92a7ef208f4d8ca0e0591cfbeea22ef60a0c031d$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/list_value_cpptoc.h"
|
||||
@@ -42,8 +42,9 @@ int CEF_CALLBACK list_value_is_valid(struct _cef_list_value_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefListValueCppToC::Get(self)->IsValid();
|
||||
@@ -58,8 +59,9 @@ int CEF_CALLBACK list_value_is_owned(struct _cef_list_value_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefListValueCppToC::Get(self)->IsOwned();
|
||||
@@ -74,8 +76,9 @@ int CEF_CALLBACK list_value_is_read_only(struct _cef_list_value_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefListValueCppToC::Get(self)->IsReadOnly();
|
||||
@@ -91,12 +94,14 @@ int CEF_CALLBACK list_value_is_same(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that);
|
||||
if (!that)
|
||||
if (!that) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@@ -113,12 +118,14 @@ int CEF_CALLBACK list_value_is_equal(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that);
|
||||
if (!that)
|
||||
if (!that) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@@ -135,8 +142,9 @@ list_value_copy(struct _cef_list_value_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefListValue> _retval = CefListValueCppToC::Get(self)->Copy();
|
||||
@@ -152,8 +160,9 @@ int CEF_CALLBACK list_value_set_size(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefListValueCppToC::Get(self)->SetSize(size);
|
||||
@@ -168,8 +177,9 @@ size_t CEF_CALLBACK list_value_get_size(struct _cef_list_value_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
size_t _retval = CefListValueCppToC::Get(self)->GetSize();
|
||||
@@ -184,8 +194,9 @@ int CEF_CALLBACK list_value_clear(struct _cef_list_value_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefListValueCppToC::Get(self)->Clear();
|
||||
@@ -201,8 +212,9 @@ int CEF_CALLBACK list_value_remove(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefListValueCppToC::Get(self)->Remove(index);
|
||||
@@ -218,8 +230,9 @@ list_value_get_type(struct _cef_list_value_t* self, size_t index) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return VTYPE_INVALID;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_value_type_t _retval = CefListValueCppToC::Get(self)->GetType(index);
|
||||
@@ -235,8 +248,9 @@ cef_value_t* CEF_CALLBACK list_value_get_value(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefValue> _retval = CefListValueCppToC::Get(self)->GetValue(index);
|
||||
@@ -252,8 +266,9 @@ int CEF_CALLBACK list_value_get_bool(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefListValueCppToC::Get(self)->GetBool(index);
|
||||
@@ -269,8 +284,9 @@ int CEF_CALLBACK list_value_get_int(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = CefListValueCppToC::Get(self)->GetInt(index);
|
||||
@@ -286,8 +302,9 @@ double CEF_CALLBACK list_value_get_double(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
double _retval = CefListValueCppToC::Get(self)->GetDouble(index);
|
||||
@@ -303,8 +320,9 @@ list_value_get_string(struct _cef_list_value_t* self, size_t index) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefString _retval = CefListValueCppToC::Get(self)->GetString(index);
|
||||
@@ -320,8 +338,9 @@ list_value_get_binary(struct _cef_list_value_t* self, size_t index) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefBinaryValue> _retval =
|
||||
@@ -338,8 +357,9 @@ list_value_get_dictionary(struct _cef_list_value_t* self, size_t index) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefDictionaryValue> _retval =
|
||||
@@ -356,8 +376,9 @@ list_value_get_list(struct _cef_list_value_t* self, size_t index) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefRefPtr<CefListValue> _retval =
|
||||
@@ -375,12 +396,14 @@ int CEF_CALLBACK list_value_set_value(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: value; type: refptr_same
|
||||
DCHECK(value);
|
||||
if (!value)
|
||||
if (!value) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefListValueCppToC::Get(self)->SetValue(
|
||||
@@ -397,8 +420,9 @@ int CEF_CALLBACK list_value_set_null(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefListValueCppToC::Get(self)->SetNull(index);
|
||||
@@ -415,8 +439,9 @@ int CEF_CALLBACK list_value_set_bool(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval =
|
||||
@@ -434,8 +459,9 @@ int CEF_CALLBACK list_value_set_int(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefListValueCppToC::Get(self)->SetInt(index, value);
|
||||
@@ -452,8 +478,9 @@ int CEF_CALLBACK list_value_set_double(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefListValueCppToC::Get(self)->SetDouble(index, value);
|
||||
@@ -470,8 +497,9 @@ int CEF_CALLBACK list_value_set_string(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Unverified params: value
|
||||
|
||||
// Execute
|
||||
@@ -490,12 +518,14 @@ int CEF_CALLBACK list_value_set_binary(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: value; type: refptr_same
|
||||
DCHECK(value);
|
||||
if (!value)
|
||||
if (!value) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefListValueCppToC::Get(self)->SetBinary(
|
||||
@@ -513,12 +543,14 @@ int CEF_CALLBACK list_value_set_dictionary(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: value; type: refptr_same
|
||||
DCHECK(value);
|
||||
if (!value)
|
||||
if (!value) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefListValueCppToC::Get(self)->SetDictionary(
|
||||
@@ -536,12 +568,14 @@ int CEF_CALLBACK list_value_set_list(struct _cef_list_value_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return 0;
|
||||
}
|
||||
// Verify param: value; type: refptr_same
|
||||
DCHECK(value);
|
||||
if (!value)
|
||||
if (!value) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
bool _retval = CefListValueCppToC::Get(self)->SetList(
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=85db2149d4c843eae2145e9015c2062d8ad45695$
|
||||
// $hash=bb4f6bacea8366b11d1526059c5ad4c3df495630$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_LIST_VALUE_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=96bad8e6efd216ede4ec354159598f3119f44ce0$
|
||||
// $hash=afd356d9f7ef20662f649b44d1349783b02b2da1$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/load_handler_cpptoc.h"
|
||||
@@ -32,12 +32,14 @@ load_handler_on_loading_state_change(struct _cef_load_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLoadHandlerCppToC::Get(self)->OnLoadingStateChange(
|
||||
@@ -55,16 +57,19 @@ load_handler_on_load_start(struct _cef_load_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLoadHandlerCppToC::Get(self)->OnLoadStart(CefBrowserCToCpp::Wrap(browser),
|
||||
@@ -81,16 +86,19 @@ void CEF_CALLBACK load_handler_on_load_end(struct _cef_load_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefLoadHandlerCppToC::Get(self)->OnLoadEnd(CefBrowserCToCpp::Wrap(browser),
|
||||
@@ -109,20 +117,24 @@ void CEF_CALLBACK load_handler_on_load_error(struct _cef_load_handler_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser);
|
||||
if (!browser)
|
||||
if (!browser) {
|
||||
return;
|
||||
}
|
||||
// Verify param: frame; type: refptr_diff
|
||||
DCHECK(frame);
|
||||
if (!frame)
|
||||
if (!frame) {
|
||||
return;
|
||||
}
|
||||
// Verify param: failedUrl; type: string_byref_const
|
||||
DCHECK(failedUrl);
|
||||
if (!failedUrl)
|
||||
if (!failedUrl) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: errorText
|
||||
|
||||
// Execute
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=67a49693f79a526ebb12c8352c13de8bf7c64784$
|
||||
// $hash=60feef3855499ffd313c9e10fe4e8a6304acc871$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_LOAD_HANDLER_CPPTOC_H_
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=dd3f62153541c74c294da2a33265a96491d17f2b$
|
||||
// $hash=a6f40e6aedccd7784cad96c4e8097dae6a1add6b$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/media_access_callback_cpptoc.h"
|
||||
@@ -27,8 +27,9 @@ media_access_callback_cont(struct _cef_media_access_callback_t* self,
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefMediaAccessCallbackCppToC::Get(self)->Continue(allowed_permissions);
|
||||
@@ -41,8 +42,9 @@ media_access_callback_cancel(struct _cef_media_access_callback_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefMediaAccessCallbackCppToC::Get(self)->Cancel();
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
|
||||
// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
//
|
||||
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=0adf2c32c67b7480fa4c544c5c570674d6917f7f$
|
||||
// $hash=4b3da65396a9a358cbcdb289e275062a7b4402d5$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CPPTOC_MEDIA_ACCESS_CALLBACK_CPPTOC_H_
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user