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=fa3208182bcdb9aab36096b3ce5ecdd35cb0a80f$
|
||||
// $hash=aad33efa7cb9fe4904f1fcafecd960e2b3c86ab1$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/browser_host_ctocpp.h"
|
||||
@@ -86,8 +86,9 @@ CefRefPtr<CefBrowser> CefBrowserHostCToCpp::GetBrowser() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_browser))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_browser)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -103,8 +104,9 @@ void CefBrowserHostCToCpp::CloseBrowser(bool force_close) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, close_browser))
|
||||
if (CEF_MEMBER_MISSING(_struct, close_browser)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -116,8 +118,9 @@ NO_SANITIZE("cfi-icall") bool CefBrowserHostCToCpp::TryCloseBrowser() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, try_close_browser))
|
||||
if (CEF_MEMBER_MISSING(_struct, try_close_browser)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -132,8 +135,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::SetFocus(bool focus) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -146,8 +150,9 @@ CefWindowHandle CefBrowserHostCToCpp::GetWindowHandle() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window_handle))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window_handle)) {
|
||||
return kNullWindowHandle;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -163,8 +168,9 @@ CefWindowHandle CefBrowserHostCToCpp::GetOpenerWindowHandle() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_opener_window_handle))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_opener_window_handle)) {
|
||||
return kNullWindowHandle;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -179,8 +185,9 @@ NO_SANITIZE("cfi-icall") bool CefBrowserHostCToCpp::HasView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, has_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -196,8 +203,9 @@ CefRefPtr<CefClient> CefBrowserHostCToCpp::GetClient() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_client))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_client)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -213,8 +221,9 @@ CefRefPtr<CefRequestContext> CefBrowserHostCToCpp::GetRequestContext() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_request_context))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_request_context)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -229,8 +238,9 @@ NO_SANITIZE("cfi-icall") double CefBrowserHostCToCpp::GetZoomLevel() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_zoom_level))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_zoom_level)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -246,8 +256,9 @@ void CefBrowserHostCToCpp::SetZoomLevel(double zoomLevel) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_zoom_level))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_zoom_level)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -265,22 +276,25 @@ void CefBrowserHostCToCpp::RunFileDialog(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, run_file_dialog))
|
||||
if (CEF_MEMBER_MISSING(_struct, run_file_dialog)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback.get());
|
||||
if (!callback.get())
|
||||
if (!callback.get()) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: title, default_file_path, accept_filters
|
||||
|
||||
// Translate param: accept_filters; type: string_vec_byref_const
|
||||
cef_string_list_t accept_filtersList = cef_string_list_alloc();
|
||||
DCHECK(accept_filtersList);
|
||||
if (accept_filtersList)
|
||||
if (accept_filtersList) {
|
||||
transfer_string_list_contents(accept_filters, accept_filtersList);
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->run_file_dialog(_struct, mode, title.GetStruct(),
|
||||
@@ -288,8 +302,9 @@ void CefBrowserHostCToCpp::RunFileDialog(
|
||||
CefRunFileDialogCallbackCppToC::Wrap(callback));
|
||||
|
||||
// Restore param:accept_filters; type: string_vec_byref_const
|
||||
if (accept_filtersList)
|
||||
if (accept_filtersList) {
|
||||
cef_string_list_free(accept_filtersList);
|
||||
}
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
@@ -297,15 +312,17 @@ void CefBrowserHostCToCpp::StartDownload(const CefString& url) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, start_download))
|
||||
if (CEF_MEMBER_MISSING(_struct, start_download)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: url; type: string_byref_const
|
||||
DCHECK(!url.empty());
|
||||
if (url.empty())
|
||||
if (url.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->start_download(_struct, url.GetStruct());
|
||||
@@ -321,19 +338,22 @@ void CefBrowserHostCToCpp::DownloadImage(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, download_image))
|
||||
if (CEF_MEMBER_MISSING(_struct, download_image)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: image_url; type: string_byref_const
|
||||
DCHECK(!image_url.empty());
|
||||
if (image_url.empty())
|
||||
if (image_url.empty()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: callback; type: refptr_diff
|
||||
DCHECK(callback.get());
|
||||
if (!callback.get())
|
||||
if (!callback.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->download_image(_struct, image_url.GetStruct(), is_favicon,
|
||||
@@ -345,8 +365,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::Print() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, print))
|
||||
if (CEF_MEMBER_MISSING(_struct, print)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -361,15 +382,17 @@ void CefBrowserHostCToCpp::PrintToPDF(const CefString& path,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, print_to_pdf))
|
||||
if (CEF_MEMBER_MISSING(_struct, print_to_pdf)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: path; type: string_byref_const
|
||||
DCHECK(!path.empty());
|
||||
if (path.empty())
|
||||
if (path.empty()) {
|
||||
return;
|
||||
}
|
||||
// Unverified params: callback
|
||||
|
||||
// Execute
|
||||
@@ -385,15 +408,17 @@ void CefBrowserHostCToCpp::Find(const CefString& searchText,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, find))
|
||||
if (CEF_MEMBER_MISSING(_struct, find)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: searchText; type: string_byref_const
|
||||
DCHECK(!searchText.empty());
|
||||
if (searchText.empty())
|
||||
if (searchText.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->find(_struct, searchText.GetStruct(), forward, matchCase, findNext);
|
||||
@@ -404,8 +429,9 @@ void CefBrowserHostCToCpp::StopFinding(bool clearSelection) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, stop_finding))
|
||||
if (CEF_MEMBER_MISSING(_struct, stop_finding)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -421,8 +447,9 @@ void CefBrowserHostCToCpp::ShowDevTools(const CefWindowInfo& windowInfo,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, show_dev_tools))
|
||||
if (CEF_MEMBER_MISSING(_struct, show_dev_tools)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -437,8 +464,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::CloseDevTools() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, close_dev_tools))
|
||||
if (CEF_MEMBER_MISSING(_struct, close_dev_tools)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -450,8 +478,9 @@ NO_SANITIZE("cfi-icall") bool CefBrowserHostCToCpp::HasDevTools() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_dev_tools))
|
||||
if (CEF_MEMBER_MISSING(_struct, has_dev_tools)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -468,15 +497,17 @@ bool CefBrowserHostCToCpp::SendDevToolsMessage(const void* message,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, send_dev_tools_message))
|
||||
if (CEF_MEMBER_MISSING(_struct, send_dev_tools_message)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: message; type: simple_byaddr
|
||||
DCHECK(message);
|
||||
if (!message)
|
||||
if (!message) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->send_dev_tools_message(_struct, message, message_size);
|
||||
@@ -493,15 +524,17 @@ int CefBrowserHostCToCpp::ExecuteDevToolsMethod(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, execute_dev_tools_method))
|
||||
if (CEF_MEMBER_MISSING(_struct, execute_dev_tools_method)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: method; type: string_byref_const
|
||||
DCHECK(!method.empty());
|
||||
if (method.empty())
|
||||
if (method.empty()) {
|
||||
return 0;
|
||||
}
|
||||
// Unverified params: params
|
||||
|
||||
// Execute
|
||||
@@ -519,15 +552,17 @@ CefRefPtr<CefRegistration> CefBrowserHostCToCpp::AddDevToolsMessageObserver(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, add_dev_tools_message_observer))
|
||||
if (CEF_MEMBER_MISSING(_struct, add_dev_tools_message_observer)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: observer; type: refptr_diff
|
||||
DCHECK(observer.get());
|
||||
if (!observer.get())
|
||||
if (!observer.get()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_registration_t* _retval = _struct->add_dev_tools_message_observer(
|
||||
@@ -544,15 +579,17 @@ void CefBrowserHostCToCpp::GetNavigationEntries(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_navigation_entries))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_navigation_entries)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: visitor; type: refptr_diff
|
||||
DCHECK(visitor.get());
|
||||
if (!visitor.get())
|
||||
if (!visitor.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->get_navigation_entries(
|
||||
@@ -564,15 +601,17 @@ void CefBrowserHostCToCpp::ReplaceMisspelling(const CefString& word) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, replace_misspelling))
|
||||
if (CEF_MEMBER_MISSING(_struct, replace_misspelling)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: word; type: string_byref_const
|
||||
DCHECK(!word.empty());
|
||||
if (word.empty())
|
||||
if (word.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->replace_misspelling(_struct, word.GetStruct());
|
||||
@@ -583,15 +622,17 @@ void CefBrowserHostCToCpp::AddWordToDictionary(const CefString& word) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, add_word_to_dictionary))
|
||||
if (CEF_MEMBER_MISSING(_struct, add_word_to_dictionary)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: word; type: string_byref_const
|
||||
DCHECK(!word.empty());
|
||||
if (word.empty())
|
||||
if (word.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->add_word_to_dictionary(_struct, word.GetStruct());
|
||||
@@ -602,8 +643,9 @@ bool CefBrowserHostCToCpp::IsWindowRenderingDisabled() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_window_rendering_disabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_window_rendering_disabled)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -618,8 +660,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::WasResized() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, was_resized))
|
||||
if (CEF_MEMBER_MISSING(_struct, was_resized)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -631,8 +674,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::WasHidden(bool hidden) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, was_hidden))
|
||||
if (CEF_MEMBER_MISSING(_struct, was_hidden)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -644,8 +688,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::NotifyScreenInfoChanged() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, notify_screen_info_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, notify_screen_info_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -658,8 +703,9 @@ void CefBrowserHostCToCpp::Invalidate(PaintElementType type) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate))
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -671,8 +717,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::SendExternalBeginFrame() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, send_external_begin_frame))
|
||||
if (CEF_MEMBER_MISSING(_struct, send_external_begin_frame)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -685,8 +732,9 @@ void CefBrowserHostCToCpp::SendKeyEvent(const CefKeyEvent& event) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, send_key_event))
|
||||
if (CEF_MEMBER_MISSING(_struct, send_key_event)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -702,8 +750,9 @@ void CefBrowserHostCToCpp::SendMouseClickEvent(const CefMouseEvent& event,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, send_mouse_click_event))
|
||||
if (CEF_MEMBER_MISSING(_struct, send_mouse_click_event)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -717,8 +766,9 @@ void CefBrowserHostCToCpp::SendMouseMoveEvent(const CefMouseEvent& event,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, send_mouse_move_event))
|
||||
if (CEF_MEMBER_MISSING(_struct, send_mouse_move_event)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -733,8 +783,9 @@ void CefBrowserHostCToCpp::SendMouseWheelEvent(const CefMouseEvent& event,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, send_mouse_wheel_event))
|
||||
if (CEF_MEMBER_MISSING(_struct, send_mouse_wheel_event)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -747,8 +798,9 @@ void CefBrowserHostCToCpp::SendTouchEvent(const CefTouchEvent& event) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, send_touch_event))
|
||||
if (CEF_MEMBER_MISSING(_struct, send_touch_event)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -760,8 +812,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::SendCaptureLostEvent() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, send_capture_lost_event))
|
||||
if (CEF_MEMBER_MISSING(_struct, send_capture_lost_event)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -774,8 +827,9 @@ void CefBrowserHostCToCpp::NotifyMoveOrResizeStarted() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, notify_move_or_resize_started))
|
||||
if (CEF_MEMBER_MISSING(_struct, notify_move_or_resize_started)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -787,8 +841,9 @@ NO_SANITIZE("cfi-icall") int CefBrowserHostCToCpp::GetWindowlessFrameRate() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_windowless_frame_rate))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_windowless_frame_rate)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -804,8 +859,9 @@ void CefBrowserHostCToCpp::SetWindowlessFrameRate(int frame_rate) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_windowless_frame_rate))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_windowless_frame_rate)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -822,8 +878,9 @@ void CefBrowserHostCToCpp::ImeSetComposition(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, ime_set_composition))
|
||||
if (CEF_MEMBER_MISSING(_struct, ime_set_composition)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -848,8 +905,9 @@ void CefBrowserHostCToCpp::ImeSetComposition(
|
||||
&selection_range);
|
||||
|
||||
// Restore param:underlines; type: simple_vec_byref_const
|
||||
if (underlinesList)
|
||||
if (underlinesList) {
|
||||
delete[] underlinesList;
|
||||
}
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi-icall")
|
||||
@@ -859,8 +917,9 @@ void CefBrowserHostCToCpp::ImeCommitText(const CefString& text,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, ime_commit_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, ime_commit_text)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -876,8 +935,9 @@ void CefBrowserHostCToCpp::ImeFinishComposingText(bool keep_selection) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, ime_finish_composing_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, ime_finish_composing_text)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -889,8 +949,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::ImeCancelComposition() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, ime_cancel_composition))
|
||||
if (CEF_MEMBER_MISSING(_struct, ime_cancel_composition)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -905,15 +966,17 @@ void CefBrowserHostCToCpp::DragTargetDragEnter(CefRefPtr<CefDragData> drag_data,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, drag_target_drag_enter))
|
||||
if (CEF_MEMBER_MISSING(_struct, drag_target_drag_enter)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: drag_data; type: refptr_same
|
||||
DCHECK(drag_data.get());
|
||||
if (!drag_data.get())
|
||||
if (!drag_data.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->drag_target_drag_enter(_struct, CefDragDataCToCpp::Unwrap(drag_data),
|
||||
@@ -926,8 +989,9 @@ void CefBrowserHostCToCpp::DragTargetDragOver(const CefMouseEvent& event,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, drag_target_drag_over))
|
||||
if (CEF_MEMBER_MISSING(_struct, drag_target_drag_over)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -939,8 +1003,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::DragTargetDragLeave() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, drag_target_drag_leave))
|
||||
if (CEF_MEMBER_MISSING(_struct, drag_target_drag_leave)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -953,8 +1018,9 @@ void CefBrowserHostCToCpp::DragTargetDrop(const CefMouseEvent& event) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, drag_target_drop))
|
||||
if (CEF_MEMBER_MISSING(_struct, drag_target_drop)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -969,8 +1035,9 @@ void CefBrowserHostCToCpp::DragSourceEndedAt(int x,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, drag_source_ended_at))
|
||||
if (CEF_MEMBER_MISSING(_struct, drag_source_ended_at)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -983,8 +1050,9 @@ void CefBrowserHostCToCpp::DragSourceSystemDragEnded() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, drag_source_system_drag_ended))
|
||||
if (CEF_MEMBER_MISSING(_struct, drag_source_system_drag_ended)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -998,8 +1066,9 @@ CefBrowserHostCToCpp::GetVisibleNavigationEntry() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_visible_navigation_entry))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_visible_navigation_entry)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1017,8 +1086,9 @@ void CefBrowserHostCToCpp::SetAccessibilityState(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_accessibility_state))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_accessibility_state)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1033,8 +1103,9 @@ void CefBrowserHostCToCpp::SetAutoResizeEnabled(bool enabled,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_auto_resize_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_auto_resize_enabled)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1047,8 +1118,9 @@ CefRefPtr<CefExtension> CefBrowserHostCToCpp::GetExtension() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_extension))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_extension)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1063,8 +1135,9 @@ NO_SANITIZE("cfi-icall") bool CefBrowserHostCToCpp::IsBackgroundHost() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_background_host))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_background_host)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1079,8 +1152,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::SetAudioMuted(bool mute) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_audio_muted))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_audio_muted)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1092,8 +1166,9 @@ NO_SANITIZE("cfi-icall") bool CefBrowserHostCToCpp::IsAudioMuted() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_host_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_audio_muted))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_audio_muted)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
Reference in New Issue
Block a user