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=40ce0ebcedcd5995a5a3147049e5b34c016b8519$
|
||||
// $hash=375ba9e9a373da9833cd7a549cdad0b0ee0c203c$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/box_layout_ctocpp.h"
|
||||
@@ -24,15 +24,17 @@ void CefBoxLayoutCToCpp::SetFlexForView(CefRefPtr<CefView> view, int flex) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_box_layout_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_flex_for_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_flex_for_view)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_flex_for_view(_struct, CefViewCToCpp::Unwrap(view), flex);
|
||||
@@ -43,15 +45,17 @@ void CefBoxLayoutCToCpp::ClearFlexForView(CefRefPtr<CefView> view) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_box_layout_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, clear_flex_for_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, clear_flex_for_view)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->clear_flex_for_view(_struct, CefViewCToCpp::Unwrap(view));
|
||||
@@ -62,8 +66,9 @@ CefRefPtr<CefBoxLayout> CefBoxLayoutCToCpp::AsBoxLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_layout_t* _struct = reinterpret_cast<cef_layout_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_box_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_box_layout)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -79,8 +84,9 @@ CefRefPtr<CefFillLayout> CefBoxLayoutCToCpp::AsFillLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_layout_t* _struct = reinterpret_cast<cef_layout_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_fill_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_fill_layout)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -95,8 +101,9 @@ NO_SANITIZE("cfi-icall") bool CefBoxLayoutCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_layout_t* _struct = reinterpret_cast<cef_layout_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
@@ -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=0d208d785b4fa84ba2e9f8245911d1a47f5e206c$
|
||||
// $hash=c14b6372ec4705cdcbcebc6d7367fe0c3c544001$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_BOX_LAYOUT_CTOCPP_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=d7787cf791b4b19620257f295112feb3d3c40f24$
|
||||
// $hash=e9970bfc276e4a6a7fc99f0d8c2eccd8bb60903e$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/browser_view_ctocpp.h"
|
||||
@@ -63,8 +63,9 @@ CefRefPtr<CefBrowserView> CefBrowserView::GetForBrowser(
|
||||
|
||||
// Verify param: browser; type: refptr_same
|
||||
DCHECK(browser.get());
|
||||
if (!browser.get())
|
||||
if (!browser.get()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_browser_view_t* _retval =
|
||||
@@ -81,8 +82,9 @@ CefRefPtr<CefBrowser> CefBrowserViewCToCpp::GetBrowser() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_view_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
|
||||
|
||||
@@ -98,8 +100,9 @@ CefRefPtr<CefView> CefBrowserViewCToCpp::GetChromeToolbar() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_chrome_toolbar))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_chrome_toolbar)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -115,8 +118,9 @@ void CefBrowserViewCToCpp::SetPreferAccelerators(bool prefer_accelerators) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_prefer_accelerators))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_prefer_accelerators)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -129,8 +133,9 @@ CefRefPtr<CefBrowserView> CefBrowserViewCToCpp::AsBrowserView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -145,8 +150,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefButton> CefBrowserViewCToCpp::AsButton() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -161,8 +167,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefPanel> CefBrowserViewCToCpp::AsPanel() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -178,8 +185,9 @@ CefRefPtr<CefScrollView> CefBrowserViewCToCpp::AsScrollView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -195,8 +203,9 @@ CefRefPtr<CefTextfield> CefBrowserViewCToCpp::AsTextfield() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -211,8 +220,9 @@ NO_SANITIZE("cfi-icall") CefString CefBrowserViewCToCpp::GetTypeString() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -230,8 +240,9 @@ CefString CefBrowserViewCToCpp::ToString(bool include_children) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -248,8 +259,9 @@ NO_SANITIZE("cfi-icall") bool CefBrowserViewCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -264,8 +276,9 @@ NO_SANITIZE("cfi-icall") bool CefBrowserViewCToCpp::IsAttached() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -281,15 +294,17 @@ bool CefBrowserViewCToCpp::IsSame(CefRefPtr<CefView> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that.get());
|
||||
if (!that.get())
|
||||
if (!that.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->is_same(_struct, CefViewCToCpp::Unwrap(that));
|
||||
@@ -303,8 +318,9 @@ CefRefPtr<CefViewDelegate> CefBrowserViewCToCpp::GetDelegate() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -320,8 +336,9 @@ CefRefPtr<CefWindow> CefBrowserViewCToCpp::GetWindow() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -336,8 +353,9 @@ NO_SANITIZE("cfi-icall") int CefBrowserViewCToCpp::GetID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -352,8 +370,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserViewCToCpp::SetID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -365,8 +384,9 @@ NO_SANITIZE("cfi-icall") int CefBrowserViewCToCpp::GetGroupID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -381,8 +401,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserViewCToCpp::SetGroupID(int group_id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -395,8 +416,9 @@ CefRefPtr<CefView> CefBrowserViewCToCpp::GetParentView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -412,8 +434,9 @@ CefRefPtr<CefView> CefBrowserViewCToCpp::GetViewForID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -429,8 +452,9 @@ void CefBrowserViewCToCpp::SetBounds(const CefRect& bounds) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -442,8 +466,9 @@ NO_SANITIZE("cfi-icall") CefRect CefBrowserViewCToCpp::GetBounds() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -458,8 +483,9 @@ NO_SANITIZE("cfi-icall") CefRect CefBrowserViewCToCpp::GetBoundsInScreen() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -475,8 +501,9 @@ void CefBrowserViewCToCpp::SetSize(const CefSize& size) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -488,8 +515,9 @@ NO_SANITIZE("cfi-icall") CefSize CefBrowserViewCToCpp::GetSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -505,8 +533,9 @@ void CefBrowserViewCToCpp::SetPosition(const CefPoint& position) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -518,8 +547,9 @@ NO_SANITIZE("cfi-icall") CefPoint CefBrowserViewCToCpp::GetPosition() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position)) {
|
||||
return CefPoint();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -535,8 +565,9 @@ void CefBrowserViewCToCpp::SetInsets(const CefInsets& insets) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -548,8 +579,9 @@ NO_SANITIZE("cfi-icall") CefInsets CefBrowserViewCToCpp::GetInsets() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets)) {
|
||||
return CefInsets();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -564,8 +596,9 @@ NO_SANITIZE("cfi-icall") CefSize CefBrowserViewCToCpp::GetPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -580,8 +613,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserViewCToCpp::SizeToPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -593,8 +627,9 @@ NO_SANITIZE("cfi-icall") CefSize CefBrowserViewCToCpp::GetMinimumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -609,8 +644,9 @@ NO_SANITIZE("cfi-icall") CefSize CefBrowserViewCToCpp::GetMaximumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -626,8 +662,9 @@ int CefBrowserViewCToCpp::GetHeightForWidth(int width) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -642,8 +679,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserViewCToCpp::InvalidateLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -655,8 +693,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserViewCToCpp::SetVisible(bool visible) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -668,8 +707,9 @@ NO_SANITIZE("cfi-icall") bool CefBrowserViewCToCpp::IsVisible() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -684,8 +724,9 @@ NO_SANITIZE("cfi-icall") bool CefBrowserViewCToCpp::IsDrawn() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -700,8 +741,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserViewCToCpp::SetEnabled(bool enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -713,8 +755,9 @@ NO_SANITIZE("cfi-icall") bool CefBrowserViewCToCpp::IsEnabled() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -730,8 +773,9 @@ void CefBrowserViewCToCpp::SetFocusable(bool focusable) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -743,8 +787,9 @@ NO_SANITIZE("cfi-icall") bool CefBrowserViewCToCpp::IsFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -759,8 +804,9 @@ NO_SANITIZE("cfi-icall") bool CefBrowserViewCToCpp::IsAccessibilityFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -775,8 +821,9 @@ NO_SANITIZE("cfi-icall") void CefBrowserViewCToCpp::RequestFocus() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -789,8 +836,9 @@ void CefBrowserViewCToCpp::SetBackgroundColor(cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -803,8 +851,9 @@ cef_color_t CefBrowserViewCToCpp::GetBackgroundColor() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -820,8 +869,9 @@ bool CefBrowserViewCToCpp::ConvertPointToScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -837,8 +887,9 @@ bool CefBrowserViewCToCpp::ConvertPointFromScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -854,8 +905,9 @@ bool CefBrowserViewCToCpp::ConvertPointToWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -871,8 +923,9 @@ bool CefBrowserViewCToCpp::ConvertPointFromWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -889,15 +942,17 @@ bool CefBrowserViewCToCpp::ConvertPointToView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_to_view(
|
||||
@@ -913,15 +968,17 @@ bool CefBrowserViewCToCpp::ConvertPointFromView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_from_view(
|
||||
|
@@ -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=8744854c12c6ea110a5a6eb4f15ccd5b5867c1d1$
|
||||
// $hash=3369ae36dfebd0283661566cf91fa57dbfec29e4$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_BROWSER_VIEW_CTOCPP_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=379974b466cf5b511906b6492c7fa594a26e4d33$
|
||||
// $hash=4f26a1968e558512fa9894106f0bc9f6b9d8a10f$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/browser_view_delegate_ctocpp.h"
|
||||
@@ -28,19 +28,22 @@ void CefBrowserViewDelegateCToCpp::OnBrowserCreated(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_view_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_browser_created))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_browser_created)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: browser_view; type: refptr_diff
|
||||
DCHECK(browser_view.get());
|
||||
if (!browser_view.get())
|
||||
if (!browser_view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser.get());
|
||||
if (!browser.get())
|
||||
if (!browser.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_browser_created(_struct, CefBrowserViewCppToC::Wrap(browser_view),
|
||||
@@ -54,19 +57,22 @@ void CefBrowserViewDelegateCToCpp::OnBrowserDestroyed(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_view_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_browser_destroyed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_browser_destroyed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: browser_view; type: refptr_diff
|
||||
DCHECK(browser_view.get());
|
||||
if (!browser_view.get())
|
||||
if (!browser_view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser.get());
|
||||
if (!browser.get())
|
||||
if (!browser.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_browser_destroyed(_struct,
|
||||
@@ -84,19 +90,22 @@ CefBrowserViewDelegateCToCpp::GetDelegateForPopupBrowserView(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_view_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate_for_popup_browser_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate_for_popup_browser_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: browser_view; type: refptr_diff
|
||||
DCHECK(browser_view.get());
|
||||
if (!browser_view.get())
|
||||
if (!browser_view.get()) {
|
||||
return nullptr;
|
||||
}
|
||||
// Verify param: client; type: refptr_same
|
||||
DCHECK(client.get());
|
||||
if (!client.get())
|
||||
if (!client.get()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_browser_view_delegate_t* _retval =
|
||||
@@ -116,19 +125,22 @@ bool CefBrowserViewDelegateCToCpp::OnPopupBrowserViewCreated(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_view_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_popup_browser_view_created))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_popup_browser_view_created)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: browser_view; type: refptr_diff
|
||||
DCHECK(browser_view.get());
|
||||
if (!browser_view.get())
|
||||
if (!browser_view.get()) {
|
||||
return false;
|
||||
}
|
||||
// Verify param: popup_browser_view; type: refptr_diff
|
||||
DCHECK(popup_browser_view.get());
|
||||
if (!popup_browser_view.get())
|
||||
if (!popup_browser_view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->on_popup_browser_view_created(
|
||||
@@ -145,8 +157,9 @@ CefBrowserViewDelegateCToCpp::GetChromeToolbarType() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_browser_view_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_chrome_toolbar_type))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_chrome_toolbar_type)) {
|
||||
return CEF_CTT_NONE;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -164,15 +177,17 @@ CefSize CefBrowserViewDelegateCToCpp::GetPreferredSize(
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -188,15 +203,17 @@ CefSize CefBrowserViewDelegateCToCpp::GetMinimumSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -212,15 +229,17 @@ CefSize CefBrowserViewDelegateCToCpp::GetMaximumSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -237,15 +256,17 @@ int CefBrowserViewDelegateCToCpp::GetHeightForWidth(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@@ -264,19 +285,22 @@ void CefBrowserViewDelegateCToCpp::OnParentViewChanged(
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_parent_view_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_parent_view_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: parent; type: refptr_diff
|
||||
DCHECK(parent.get());
|
||||
if (!parent.get())
|
||||
if (!parent.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_parent_view_changed(_struct, CefViewCppToC::Wrap(view), added,
|
||||
@@ -292,19 +316,22 @@ void CefBrowserViewDelegateCToCpp::OnChildViewChanged(
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_child_view_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_child_view_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: child; type: refptr_diff
|
||||
DCHECK(child.get());
|
||||
if (!child.get())
|
||||
if (!child.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_child_view_changed(_struct, CefViewCppToC::Wrap(view), added,
|
||||
@@ -318,15 +345,17 @@ void CefBrowserViewDelegateCToCpp::OnWindowChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_window_changed(_struct, CefViewCppToC::Wrap(view), added);
|
||||
@@ -339,15 +368,17 @@ void CefBrowserViewDelegateCToCpp::OnLayoutChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_layout_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_layout_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_layout_changed(_struct, CefViewCppToC::Wrap(view), &new_bounds);
|
||||
@@ -359,15 +390,17 @@ void CefBrowserViewDelegateCToCpp::OnFocus(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_focus(_struct, CefViewCppToC::Wrap(view));
|
||||
@@ -379,15 +412,17 @@ void CefBrowserViewDelegateCToCpp::OnBlur(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_blur))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_blur)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_blur(_struct, CefViewCppToC::Wrap(view));
|
||||
|
@@ -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=5aabb450064c183478e8cbcd7b96a9d308bc5c59$
|
||||
// $hash=ae219b09b69d7a49f48878a5d2f94b25c9b4150b$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_BROWSER_VIEW_DELEGATE_CTOCPP_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=9b1509d1105e3075a13563aa5e892833abcda54a$
|
||||
// $hash=21ad12e2611fc02420e4105826b5e38fed399c1c$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/button_ctocpp.h"
|
||||
@@ -31,8 +31,9 @@ CefRefPtr<CefLabelButton> CefButtonCToCpp::AsLabelButton() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, as_label_button))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_label_button)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -48,8 +49,9 @@ void CefButtonCToCpp::SetState(cef_button_state_t state) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_state))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_state)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -61,8 +63,9 @@ NO_SANITIZE("cfi-icall") cef_button_state_t CefButtonCToCpp::GetState() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_state))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_state)) {
|
||||
return CEF_BUTTON_STATE_NORMAL;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -77,8 +80,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::SetInkDropEnabled(bool enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_ink_drop_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_ink_drop_enabled)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -91,15 +95,17 @@ void CefButtonCToCpp::SetTooltipText(const CefString& tooltip_text) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_tooltip_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_tooltip_text)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: tooltip_text; type: string_byref_const
|
||||
DCHECK(!tooltip_text.empty());
|
||||
if (tooltip_text.empty())
|
||||
if (tooltip_text.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_tooltip_text(_struct, tooltip_text.GetStruct());
|
||||
@@ -110,15 +116,17 @@ void CefButtonCToCpp::SetAccessibleName(const CefString& name) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_accessible_name))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_accessible_name)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: name; type: string_byref_const
|
||||
DCHECK(!name.empty());
|
||||
if (name.empty())
|
||||
if (name.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_accessible_name(_struct, name.GetStruct());
|
||||
@@ -129,8 +137,9 @@ CefRefPtr<CefBrowserView> CefButtonCToCpp::AsBrowserView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -145,8 +154,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefButton> CefButtonCToCpp::AsButton() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -161,8 +171,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefPanel> CefButtonCToCpp::AsPanel() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -178,8 +189,9 @@ CefRefPtr<CefScrollView> CefButtonCToCpp::AsScrollView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -195,8 +207,9 @@ CefRefPtr<CefTextfield> CefButtonCToCpp::AsTextfield() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -211,8 +224,9 @@ NO_SANITIZE("cfi-icall") CefString CefButtonCToCpp::GetTypeString() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -230,8 +244,9 @@ CefString CefButtonCToCpp::ToString(bool include_children) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -248,8 +263,9 @@ NO_SANITIZE("cfi-icall") bool CefButtonCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -264,8 +280,9 @@ NO_SANITIZE("cfi-icall") bool CefButtonCToCpp::IsAttached() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -280,15 +297,17 @@ NO_SANITIZE("cfi-icall") bool CefButtonCToCpp::IsSame(CefRefPtr<CefView> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that.get());
|
||||
if (!that.get())
|
||||
if (!that.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->is_same(_struct, CefViewCToCpp::Unwrap(that));
|
||||
@@ -302,8 +321,9 @@ CefRefPtr<CefViewDelegate> CefButtonCToCpp::GetDelegate() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -318,8 +338,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefWindow> CefButtonCToCpp::GetWindow() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -334,8 +355,9 @@ NO_SANITIZE("cfi-icall") int CefButtonCToCpp::GetID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -350,8 +372,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::SetID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -363,8 +386,9 @@ NO_SANITIZE("cfi-icall") int CefButtonCToCpp::GetGroupID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -379,8 +403,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::SetGroupID(int group_id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -392,8 +417,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefView> CefButtonCToCpp::GetParentView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -409,8 +435,9 @@ CefRefPtr<CefView> CefButtonCToCpp::GetViewForID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -426,8 +453,9 @@ void CefButtonCToCpp::SetBounds(const CefRect& bounds) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -439,8 +467,9 @@ NO_SANITIZE("cfi-icall") CefRect CefButtonCToCpp::GetBounds() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -455,8 +484,9 @@ NO_SANITIZE("cfi-icall") CefRect CefButtonCToCpp::GetBoundsInScreen() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -471,8 +501,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::SetSize(const CefSize& size) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -484,8 +515,9 @@ NO_SANITIZE("cfi-icall") CefSize CefButtonCToCpp::GetSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -501,8 +533,9 @@ void CefButtonCToCpp::SetPosition(const CefPoint& position) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -514,8 +547,9 @@ NO_SANITIZE("cfi-icall") CefPoint CefButtonCToCpp::GetPosition() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position)) {
|
||||
return CefPoint();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -531,8 +565,9 @@ void CefButtonCToCpp::SetInsets(const CefInsets& insets) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -544,8 +579,9 @@ NO_SANITIZE("cfi-icall") CefInsets CefButtonCToCpp::GetInsets() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets)) {
|
||||
return CefInsets();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -560,8 +596,9 @@ NO_SANITIZE("cfi-icall") CefSize CefButtonCToCpp::GetPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -576,8 +613,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::SizeToPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -589,8 +627,9 @@ NO_SANITIZE("cfi-icall") CefSize CefButtonCToCpp::GetMinimumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -605,8 +644,9 @@ NO_SANITIZE("cfi-icall") CefSize CefButtonCToCpp::GetMaximumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -621,8 +661,9 @@ NO_SANITIZE("cfi-icall") int CefButtonCToCpp::GetHeightForWidth(int width) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -637,8 +678,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::InvalidateLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -650,8 +692,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::SetVisible(bool visible) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -663,8 +706,9 @@ NO_SANITIZE("cfi-icall") bool CefButtonCToCpp::IsVisible() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -679,8 +723,9 @@ NO_SANITIZE("cfi-icall") bool CefButtonCToCpp::IsDrawn() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -695,8 +740,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::SetEnabled(bool enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -708,8 +754,9 @@ NO_SANITIZE("cfi-icall") bool CefButtonCToCpp::IsEnabled() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -724,8 +771,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::SetFocusable(bool focusable) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -737,8 +785,9 @@ NO_SANITIZE("cfi-icall") bool CefButtonCToCpp::IsFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -753,8 +802,9 @@ NO_SANITIZE("cfi-icall") bool CefButtonCToCpp::IsAccessibilityFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -769,8 +819,9 @@ NO_SANITIZE("cfi-icall") void CefButtonCToCpp::RequestFocus() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -783,8 +834,9 @@ void CefButtonCToCpp::SetBackgroundColor(cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -796,8 +848,9 @@ NO_SANITIZE("cfi-icall") cef_color_t CefButtonCToCpp::GetBackgroundColor() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -813,8 +866,9 @@ bool CefButtonCToCpp::ConvertPointToScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -830,8 +884,9 @@ bool CefButtonCToCpp::ConvertPointFromScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -847,8 +902,9 @@ bool CefButtonCToCpp::ConvertPointToWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -864,8 +920,9 @@ bool CefButtonCToCpp::ConvertPointFromWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -882,15 +939,17 @@ bool CefButtonCToCpp::ConvertPointToView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_to_view(
|
||||
@@ -906,15 +965,17 @@ bool CefButtonCToCpp::ConvertPointFromView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_from_view(
|
||||
|
@@ -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=b09c6865b321dbc52440a306dabdf0357bf41a12$
|
||||
// $hash=d6be48f8326ec9e541ace36d0b467cf6b1fbc065$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_BUTTON_CTOCPP_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=e7844e97f29fe0bcda8380932ceaa7581539d0e3$
|
||||
// $hash=29415424384da3b4a596ce3419826ee54ab73669$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/button_delegate_ctocpp.h"
|
||||
@@ -25,15 +25,17 @@ void CefButtonDelegateCToCpp::OnButtonPressed(CefRefPtr<CefButton> button) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_button_pressed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_button_pressed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: button; type: refptr_diff
|
||||
DCHECK(button.get());
|
||||
if (!button.get())
|
||||
if (!button.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_button_pressed(_struct, CefButtonCppToC::Wrap(button));
|
||||
@@ -45,15 +47,17 @@ void CefButtonDelegateCToCpp::OnButtonStateChanged(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_button_state_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_button_state_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: button; type: refptr_diff
|
||||
DCHECK(button.get());
|
||||
if (!button.get())
|
||||
if (!button.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_button_state_changed(_struct, CefButtonCppToC::Wrap(button));
|
||||
@@ -65,15 +69,17 @@ CefSize CefButtonDelegateCToCpp::GetPreferredSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -89,15 +95,17 @@ CefSize CefButtonDelegateCToCpp::GetMinimumSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -113,15 +121,17 @@ CefSize CefButtonDelegateCToCpp::GetMaximumSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -138,15 +148,17 @@ int CefButtonDelegateCToCpp::GetHeightForWidth(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@@ -164,19 +176,22 @@ void CefButtonDelegateCToCpp::OnParentViewChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_parent_view_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_parent_view_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: parent; type: refptr_diff
|
||||
DCHECK(parent.get());
|
||||
if (!parent.get())
|
||||
if (!parent.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_parent_view_changed(_struct, CefViewCppToC::Wrap(view), added,
|
||||
@@ -191,19 +206,22 @@ void CefButtonDelegateCToCpp::OnChildViewChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_child_view_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_child_view_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: child; type: refptr_diff
|
||||
DCHECK(child.get());
|
||||
if (!child.get())
|
||||
if (!child.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_child_view_changed(_struct, CefViewCppToC::Wrap(view), added,
|
||||
@@ -217,15 +235,17 @@ void CefButtonDelegateCToCpp::OnWindowChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_window_changed(_struct, CefViewCppToC::Wrap(view), added);
|
||||
@@ -238,15 +258,17 @@ void CefButtonDelegateCToCpp::OnLayoutChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_layout_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_layout_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_layout_changed(_struct, CefViewCppToC::Wrap(view), &new_bounds);
|
||||
@@ -258,15 +280,17 @@ void CefButtonDelegateCToCpp::OnFocus(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_focus(_struct, CefViewCppToC::Wrap(view));
|
||||
@@ -278,15 +302,17 @@ void CefButtonDelegateCToCpp::OnBlur(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_blur))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_blur)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_blur(_struct, CefViewCppToC::Wrap(view));
|
||||
|
@@ -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=3c5fbabd7adf7390101cc03058bdcac3077c26c8$
|
||||
// $hash=13140a32b465eaf52f13693cd244a9b47eda5068$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_BUTTON_DELEGATE_CTOCPP_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=d171aff72ef24ed2b85182e98b2b8d609ae25ddd$
|
||||
// $hash=ce835458848e642bc1f9a8231a7d6996f4db85ee$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/display_ctocpp.h"
|
||||
@@ -168,8 +168,9 @@ NO_SANITIZE("cfi-icall") int64 CefDisplayCToCpp::GetID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_display_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -184,8 +185,9 @@ NO_SANITIZE("cfi-icall") float CefDisplayCToCpp::GetDeviceScaleFactor() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_display_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_device_scale_factor))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_device_scale_factor)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -201,8 +203,9 @@ void CefDisplayCToCpp::ConvertPointToPixels(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_display_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_pixels))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_pixels)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -215,8 +218,9 @@ void CefDisplayCToCpp::ConvertPointFromPixels(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_display_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_pixels))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_pixels)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -228,8 +232,9 @@ NO_SANITIZE("cfi-icall") CefRect CefDisplayCToCpp::GetBounds() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_display_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -244,8 +249,9 @@ NO_SANITIZE("cfi-icall") CefRect CefDisplayCToCpp::GetWorkArea() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_display_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_work_area))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_work_area)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -260,8 +266,9 @@ NO_SANITIZE("cfi-icall") int CefDisplayCToCpp::GetRotation() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_display_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_rotation))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_rotation)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
@@ -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=adc1770d93c4e52a56e98f105877cbad5c76194a$
|
||||
// $hash=a05d5f989630c0c031cbe9cc04150a6e1e54c4d4$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_DISPLAY_CTOCPP_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=dafea3abdc32cc7dd8552bbdf5bd2bb32e816c5f$
|
||||
// $hash=67fefa404548bb01592c170a58bcfb9e79a3a9c5$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/fill_layout_ctocpp.h"
|
||||
@@ -23,8 +23,9 @@ CefRefPtr<CefBoxLayout> CefFillLayoutCToCpp::AsBoxLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_layout_t* _struct = reinterpret_cast<cef_layout_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_box_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_box_layout)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -40,8 +41,9 @@ CefRefPtr<CefFillLayout> CefFillLayoutCToCpp::AsFillLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_layout_t* _struct = reinterpret_cast<cef_layout_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_fill_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_fill_layout)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -56,8 +58,9 @@ NO_SANITIZE("cfi-icall") bool CefFillLayoutCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_layout_t* _struct = reinterpret_cast<cef_layout_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
@@ -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=effe4fbabbcfadf905b0161c564956213ee435e5$
|
||||
// $hash=5d52b0af136f7ac008cb89a29ce65942932b9f64$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_FILL_LAYOUT_CTOCPP_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=f9884f731b221f0c84234fd775cd480ab9ae9869$
|
||||
// $hash=2b5dc6a8e2cea55a4a2d6f2e66dcfd5c08550d7b$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/label_button_ctocpp.h"
|
||||
@@ -38,8 +38,9 @@ CefRefPtr<CefLabelButton> CefLabelButton::CreateLabelButton(
|
||||
|
||||
// Verify param: delegate; type: refptr_diff
|
||||
DCHECK(delegate.get());
|
||||
if (!delegate.get())
|
||||
if (!delegate.get()) {
|
||||
return nullptr;
|
||||
}
|
||||
// Unverified params: text
|
||||
|
||||
// Execute
|
||||
@@ -57,8 +58,9 @@ CefRefPtr<CefMenuButton> CefLabelButtonCToCpp::AsMenuButton() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_label_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, as_menu_button))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_menu_button)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -74,15 +76,17 @@ void CefLabelButtonCToCpp::SetText(const CefString& text) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_label_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_text)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: text; type: string_byref_const
|
||||
DCHECK(!text.empty());
|
||||
if (text.empty())
|
||||
if (text.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_text(_struct, text.GetStruct());
|
||||
@@ -92,8 +96,9 @@ NO_SANITIZE("cfi-icall") CefString CefLabelButtonCToCpp::GetText() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_label_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_text)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -112,8 +117,9 @@ void CefLabelButtonCToCpp::SetImage(cef_button_state_t button_state,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_label_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_image))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_image)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -129,8 +135,9 @@ CefRefPtr<CefImage> CefLabelButtonCToCpp::GetImage(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_label_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_image))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_image)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -147,8 +154,9 @@ void CefLabelButtonCToCpp::SetTextColor(cef_button_state_t for_state,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_label_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_text_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_text_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -161,8 +169,9 @@ void CefLabelButtonCToCpp::SetEnabledTextColors(cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_label_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled_text_colors))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled_text_colors)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -175,15 +184,17 @@ void CefLabelButtonCToCpp::SetFontList(const CefString& font_list) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_label_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_font_list))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_font_list)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: font_list; type: string_byref_const
|
||||
DCHECK(!font_list.empty());
|
||||
if (font_list.empty())
|
||||
if (font_list.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_font_list(_struct, font_list.GetStruct());
|
||||
@@ -195,8 +206,9 @@ void CefLabelButtonCToCpp::SetHorizontalAlignment(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_label_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_horizontal_alignment))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_horizontal_alignment)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -209,8 +221,9 @@ void CefLabelButtonCToCpp::SetMinimumSize(const CefSize& size) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_label_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_minimum_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -223,8 +236,9 @@ void CefLabelButtonCToCpp::SetMaximumSize(const CefSize& size) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_label_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_maximum_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -237,8 +251,9 @@ CefRefPtr<CefLabelButton> CefLabelButtonCToCpp::AsLabelButton() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_label_button))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_label_button)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -254,8 +269,9 @@ void CefLabelButtonCToCpp::SetState(cef_button_state_t state) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_state))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_state)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -267,8 +283,9 @@ NO_SANITIZE("cfi-icall") cef_button_state_t CefLabelButtonCToCpp::GetState() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_state))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_state)) {
|
||||
return CEF_BUTTON_STATE_NORMAL;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -284,8 +301,9 @@ void CefLabelButtonCToCpp::SetInkDropEnabled(bool enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_ink_drop_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_ink_drop_enabled)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -298,15 +316,17 @@ void CefLabelButtonCToCpp::SetTooltipText(const CefString& tooltip_text) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_tooltip_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_tooltip_text)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: tooltip_text; type: string_byref_const
|
||||
DCHECK(!tooltip_text.empty());
|
||||
if (tooltip_text.empty())
|
||||
if (tooltip_text.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_tooltip_text(_struct, tooltip_text.GetStruct());
|
||||
@@ -317,15 +337,17 @@ void CefLabelButtonCToCpp::SetAccessibleName(const CefString& name) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_accessible_name))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_accessible_name)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: name; type: string_byref_const
|
||||
DCHECK(!name.empty());
|
||||
if (name.empty())
|
||||
if (name.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_accessible_name(_struct, name.GetStruct());
|
||||
@@ -336,8 +358,9 @@ CefRefPtr<CefBrowserView> CefLabelButtonCToCpp::AsBrowserView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -352,8 +375,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefButton> CefLabelButtonCToCpp::AsButton() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -368,8 +392,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefPanel> CefLabelButtonCToCpp::AsPanel() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -385,8 +410,9 @@ CefRefPtr<CefScrollView> CefLabelButtonCToCpp::AsScrollView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -402,8 +428,9 @@ CefRefPtr<CefTextfield> CefLabelButtonCToCpp::AsTextfield() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -418,8 +445,9 @@ NO_SANITIZE("cfi-icall") CefString CefLabelButtonCToCpp::GetTypeString() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -437,8 +465,9 @@ CefString CefLabelButtonCToCpp::ToString(bool include_children) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -455,8 +484,9 @@ NO_SANITIZE("cfi-icall") bool CefLabelButtonCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -471,8 +501,9 @@ NO_SANITIZE("cfi-icall") bool CefLabelButtonCToCpp::IsAttached() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -488,15 +519,17 @@ bool CefLabelButtonCToCpp::IsSame(CefRefPtr<CefView> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that.get());
|
||||
if (!that.get())
|
||||
if (!that.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->is_same(_struct, CefViewCToCpp::Unwrap(that));
|
||||
@@ -510,8 +543,9 @@ CefRefPtr<CefViewDelegate> CefLabelButtonCToCpp::GetDelegate() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -527,8 +561,9 @@ CefRefPtr<CefWindow> CefLabelButtonCToCpp::GetWindow() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -543,8 +578,9 @@ NO_SANITIZE("cfi-icall") int CefLabelButtonCToCpp::GetID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -559,8 +595,9 @@ NO_SANITIZE("cfi-icall") void CefLabelButtonCToCpp::SetID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -572,8 +609,9 @@ NO_SANITIZE("cfi-icall") int CefLabelButtonCToCpp::GetGroupID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -588,8 +626,9 @@ NO_SANITIZE("cfi-icall") void CefLabelButtonCToCpp::SetGroupID(int group_id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -602,8 +641,9 @@ CefRefPtr<CefView> CefLabelButtonCToCpp::GetParentView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -619,8 +659,9 @@ CefRefPtr<CefView> CefLabelButtonCToCpp::GetViewForID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -636,8 +677,9 @@ void CefLabelButtonCToCpp::SetBounds(const CefRect& bounds) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -649,8 +691,9 @@ NO_SANITIZE("cfi-icall") CefRect CefLabelButtonCToCpp::GetBounds() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -665,8 +708,9 @@ NO_SANITIZE("cfi-icall") CefRect CefLabelButtonCToCpp::GetBoundsInScreen() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -682,8 +726,9 @@ void CefLabelButtonCToCpp::SetSize(const CefSize& size) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -695,8 +740,9 @@ NO_SANITIZE("cfi-icall") CefSize CefLabelButtonCToCpp::GetSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -712,8 +758,9 @@ void CefLabelButtonCToCpp::SetPosition(const CefPoint& position) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -725,8 +772,9 @@ NO_SANITIZE("cfi-icall") CefPoint CefLabelButtonCToCpp::GetPosition() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position)) {
|
||||
return CefPoint();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -742,8 +790,9 @@ void CefLabelButtonCToCpp::SetInsets(const CefInsets& insets) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -755,8 +804,9 @@ NO_SANITIZE("cfi-icall") CefInsets CefLabelButtonCToCpp::GetInsets() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets)) {
|
||||
return CefInsets();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -771,8 +821,9 @@ NO_SANITIZE("cfi-icall") CefSize CefLabelButtonCToCpp::GetPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -787,8 +838,9 @@ NO_SANITIZE("cfi-icall") void CefLabelButtonCToCpp::SizeToPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -800,8 +852,9 @@ NO_SANITIZE("cfi-icall") CefSize CefLabelButtonCToCpp::GetMinimumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -816,8 +869,9 @@ NO_SANITIZE("cfi-icall") CefSize CefLabelButtonCToCpp::GetMaximumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -833,8 +887,9 @@ int CefLabelButtonCToCpp::GetHeightForWidth(int width) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -849,8 +904,9 @@ NO_SANITIZE("cfi-icall") void CefLabelButtonCToCpp::InvalidateLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -862,8 +918,9 @@ NO_SANITIZE("cfi-icall") void CefLabelButtonCToCpp::SetVisible(bool visible) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -875,8 +932,9 @@ NO_SANITIZE("cfi-icall") bool CefLabelButtonCToCpp::IsVisible() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -891,8 +949,9 @@ NO_SANITIZE("cfi-icall") bool CefLabelButtonCToCpp::IsDrawn() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -907,8 +966,9 @@ NO_SANITIZE("cfi-icall") void CefLabelButtonCToCpp::SetEnabled(bool enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -920,8 +980,9 @@ NO_SANITIZE("cfi-icall") bool CefLabelButtonCToCpp::IsEnabled() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -937,8 +998,9 @@ void CefLabelButtonCToCpp::SetFocusable(bool focusable) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -950,8 +1012,9 @@ NO_SANITIZE("cfi-icall") bool CefLabelButtonCToCpp::IsFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -966,8 +1029,9 @@ NO_SANITIZE("cfi-icall") bool CefLabelButtonCToCpp::IsAccessibilityFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -982,8 +1046,9 @@ NO_SANITIZE("cfi-icall") void CefLabelButtonCToCpp::RequestFocus() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -996,8 +1061,9 @@ void CefLabelButtonCToCpp::SetBackgroundColor(cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1010,8 +1076,9 @@ cef_color_t CefLabelButtonCToCpp::GetBackgroundColor() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1027,8 +1094,9 @@ bool CefLabelButtonCToCpp::ConvertPointToScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1044,8 +1112,9 @@ bool CefLabelButtonCToCpp::ConvertPointFromScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1061,8 +1130,9 @@ bool CefLabelButtonCToCpp::ConvertPointToWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1078,8 +1148,9 @@ bool CefLabelButtonCToCpp::ConvertPointFromWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1096,15 +1167,17 @@ bool CefLabelButtonCToCpp::ConvertPointToView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_to_view(
|
||||
@@ -1120,15 +1193,17 @@ bool CefLabelButtonCToCpp::ConvertPointFromView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_from_view(
|
||||
|
@@ -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=db354914ca0dfe61f4adcc196c25c38b2ad13239$
|
||||
// $hash=e54619e16a7a8f21cdeeb4ddfcedf3504c258d35$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_LABEL_BUTTON_CTOCPP_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=6607a4c252dafd39ba695b5d4ecfb14286d70672$
|
||||
// $hash=312e5c15b26db94513fe213fbcfba6d1c43e39b7$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/layout_ctocpp.h"
|
||||
@@ -24,8 +24,9 @@ CefRefPtr<CefBoxLayout> CefLayoutCToCpp::AsBoxLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_layout_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, as_box_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_box_layout)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -41,8 +42,9 @@ CefRefPtr<CefFillLayout> CefLayoutCToCpp::AsFillLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_layout_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, as_fill_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_fill_layout)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -57,8 +59,9 @@ NO_SANITIZE("cfi-icall") bool CefLayoutCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_layout_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
@@ -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=383da9e4acb10aa03e8e250505cae2738bbe7fec$
|
||||
// $hash=f50cae9c7f44f282497cff43e8b89fc76f60e51b$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_LAYOUT_CTOCPP_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=6821e9d7130f828fba356cd7a7980f638c8ecf3e$
|
||||
// $hash=2ecf87822e0901130b8738a0e6b0d663129404a2$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/menu_button_ctocpp.h"
|
||||
@@ -39,8 +39,9 @@ CefRefPtr<CefMenuButton> CefMenuButton::CreateMenuButton(
|
||||
|
||||
// Verify param: delegate; type: refptr_diff
|
||||
DCHECK(delegate.get());
|
||||
if (!delegate.get())
|
||||
if (!delegate.get()) {
|
||||
return nullptr;
|
||||
}
|
||||
// Unverified params: text
|
||||
|
||||
// Execute
|
||||
@@ -60,15 +61,17 @@ void CefMenuButtonCToCpp::ShowMenu(CefRefPtr<CefMenuModel> menu_model,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_menu_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, show_menu))
|
||||
if (CEF_MEMBER_MISSING(_struct, show_menu)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: menu_model; type: refptr_same
|
||||
DCHECK(menu_model.get());
|
||||
if (!menu_model.get())
|
||||
if (!menu_model.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->show_menu(_struct, CefMenuModelCToCpp::Unwrap(menu_model),
|
||||
@@ -79,8 +82,9 @@ NO_SANITIZE("cfi-icall") void CefMenuButtonCToCpp::TriggerMenu() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_menu_button_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, trigger_menu))
|
||||
if (CEF_MEMBER_MISSING(_struct, trigger_menu)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -94,8 +98,9 @@ CefRefPtr<CefMenuButton> CefMenuButtonCToCpp::AsMenuButton() {
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_menu_button))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_menu_button)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -112,15 +117,17 @@ void CefMenuButtonCToCpp::SetText(const CefString& text) {
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_text)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: text; type: string_byref_const
|
||||
DCHECK(!text.empty());
|
||||
if (text.empty())
|
||||
if (text.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_text(_struct, text.GetStruct());
|
||||
@@ -131,8 +138,9 @@ NO_SANITIZE("cfi-icall") CefString CefMenuButtonCToCpp::GetText() {
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_text)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -152,8 +160,9 @@ void CefMenuButtonCToCpp::SetImage(cef_button_state_t button_state,
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_image))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_image)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -170,8 +179,9 @@ CefRefPtr<CefImage> CefMenuButtonCToCpp::GetImage(
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_image))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_image)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -189,8 +199,9 @@ void CefMenuButtonCToCpp::SetTextColor(cef_button_state_t for_state,
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_text_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_text_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -204,8 +215,9 @@ void CefMenuButtonCToCpp::SetEnabledTextColors(cef_color_t color) {
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled_text_colors))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled_text_colors)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -219,15 +231,17 @@ void CefMenuButtonCToCpp::SetFontList(const CefString& font_list) {
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_font_list))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_font_list)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: font_list; type: string_byref_const
|
||||
DCHECK(!font_list.empty());
|
||||
if (font_list.empty())
|
||||
if (font_list.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_font_list(_struct, font_list.GetStruct());
|
||||
@@ -240,8 +254,9 @@ void CefMenuButtonCToCpp::SetHorizontalAlignment(
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_horizontal_alignment))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_horizontal_alignment)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -255,8 +270,9 @@ void CefMenuButtonCToCpp::SetMinimumSize(const CefSize& size) {
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_minimum_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -270,8 +286,9 @@ void CefMenuButtonCToCpp::SetMaximumSize(const CefSize& size) {
|
||||
|
||||
cef_label_button_t* _struct =
|
||||
reinterpret_cast<cef_label_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_maximum_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -284,8 +301,9 @@ CefRefPtr<CefLabelButton> CefMenuButtonCToCpp::AsLabelButton() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_label_button))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_label_button)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -301,8 +319,9 @@ void CefMenuButtonCToCpp::SetState(cef_button_state_t state) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_state))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_state)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -314,8 +333,9 @@ NO_SANITIZE("cfi-icall") cef_button_state_t CefMenuButtonCToCpp::GetState() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_state))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_state)) {
|
||||
return CEF_BUTTON_STATE_NORMAL;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -331,8 +351,9 @@ void CefMenuButtonCToCpp::SetInkDropEnabled(bool enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_ink_drop_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_ink_drop_enabled)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -345,15 +366,17 @@ void CefMenuButtonCToCpp::SetTooltipText(const CefString& tooltip_text) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_tooltip_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_tooltip_text)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: tooltip_text; type: string_byref_const
|
||||
DCHECK(!tooltip_text.empty());
|
||||
if (tooltip_text.empty())
|
||||
if (tooltip_text.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_tooltip_text(_struct, tooltip_text.GetStruct());
|
||||
@@ -364,15 +387,17 @@ void CefMenuButtonCToCpp::SetAccessibleName(const CefString& name) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_button_t* _struct = reinterpret_cast<cef_button_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_accessible_name))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_accessible_name)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: name; type: string_byref_const
|
||||
DCHECK(!name.empty());
|
||||
if (name.empty())
|
||||
if (name.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_accessible_name(_struct, name.GetStruct());
|
||||
@@ -383,8 +408,9 @@ CefRefPtr<CefBrowserView> CefMenuButtonCToCpp::AsBrowserView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -399,8 +425,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefButton> CefMenuButtonCToCpp::AsButton() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -415,8 +442,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefPanel> CefMenuButtonCToCpp::AsPanel() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -432,8 +460,9 @@ CefRefPtr<CefScrollView> CefMenuButtonCToCpp::AsScrollView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -449,8 +478,9 @@ CefRefPtr<CefTextfield> CefMenuButtonCToCpp::AsTextfield() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -465,8 +495,9 @@ NO_SANITIZE("cfi-icall") CefString CefMenuButtonCToCpp::GetTypeString() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -484,8 +515,9 @@ CefString CefMenuButtonCToCpp::ToString(bool include_children) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -502,8 +534,9 @@ NO_SANITIZE("cfi-icall") bool CefMenuButtonCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -518,8 +551,9 @@ NO_SANITIZE("cfi-icall") bool CefMenuButtonCToCpp::IsAttached() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -535,15 +569,17 @@ bool CefMenuButtonCToCpp::IsSame(CefRefPtr<CefView> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that.get());
|
||||
if (!that.get())
|
||||
if (!that.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->is_same(_struct, CefViewCToCpp::Unwrap(that));
|
||||
@@ -557,8 +593,9 @@ CefRefPtr<CefViewDelegate> CefMenuButtonCToCpp::GetDelegate() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -573,8 +610,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefWindow> CefMenuButtonCToCpp::GetWindow() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -589,8 +627,9 @@ NO_SANITIZE("cfi-icall") int CefMenuButtonCToCpp::GetID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -605,8 +644,9 @@ NO_SANITIZE("cfi-icall") void CefMenuButtonCToCpp::SetID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -618,8 +658,9 @@ NO_SANITIZE("cfi-icall") int CefMenuButtonCToCpp::GetGroupID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -634,8 +675,9 @@ NO_SANITIZE("cfi-icall") void CefMenuButtonCToCpp::SetGroupID(int group_id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -648,8 +690,9 @@ CefRefPtr<CefView> CefMenuButtonCToCpp::GetParentView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -665,8 +708,9 @@ CefRefPtr<CefView> CefMenuButtonCToCpp::GetViewForID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -682,8 +726,9 @@ void CefMenuButtonCToCpp::SetBounds(const CefRect& bounds) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -695,8 +740,9 @@ NO_SANITIZE("cfi-icall") CefRect CefMenuButtonCToCpp::GetBounds() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -711,8 +757,9 @@ NO_SANITIZE("cfi-icall") CefRect CefMenuButtonCToCpp::GetBoundsInScreen() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -728,8 +775,9 @@ void CefMenuButtonCToCpp::SetSize(const CefSize& size) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -741,8 +789,9 @@ NO_SANITIZE("cfi-icall") CefSize CefMenuButtonCToCpp::GetSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -758,8 +807,9 @@ void CefMenuButtonCToCpp::SetPosition(const CefPoint& position) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -771,8 +821,9 @@ NO_SANITIZE("cfi-icall") CefPoint CefMenuButtonCToCpp::GetPosition() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position)) {
|
||||
return CefPoint();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -788,8 +839,9 @@ void CefMenuButtonCToCpp::SetInsets(const CefInsets& insets) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -801,8 +853,9 @@ NO_SANITIZE("cfi-icall") CefInsets CefMenuButtonCToCpp::GetInsets() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets)) {
|
||||
return CefInsets();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -817,8 +870,9 @@ NO_SANITIZE("cfi-icall") CefSize CefMenuButtonCToCpp::GetPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -833,8 +887,9 @@ NO_SANITIZE("cfi-icall") void CefMenuButtonCToCpp::SizeToPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -846,8 +901,9 @@ NO_SANITIZE("cfi-icall") CefSize CefMenuButtonCToCpp::GetMinimumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -862,8 +918,9 @@ NO_SANITIZE("cfi-icall") CefSize CefMenuButtonCToCpp::GetMaximumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -878,8 +935,9 @@ NO_SANITIZE("cfi-icall") int CefMenuButtonCToCpp::GetHeightForWidth(int width) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -894,8 +952,9 @@ NO_SANITIZE("cfi-icall") void CefMenuButtonCToCpp::InvalidateLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -907,8 +966,9 @@ NO_SANITIZE("cfi-icall") void CefMenuButtonCToCpp::SetVisible(bool visible) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -920,8 +980,9 @@ NO_SANITIZE("cfi-icall") bool CefMenuButtonCToCpp::IsVisible() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -936,8 +997,9 @@ NO_SANITIZE("cfi-icall") bool CefMenuButtonCToCpp::IsDrawn() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -952,8 +1014,9 @@ NO_SANITIZE("cfi-icall") void CefMenuButtonCToCpp::SetEnabled(bool enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -965,8 +1028,9 @@ NO_SANITIZE("cfi-icall") bool CefMenuButtonCToCpp::IsEnabled() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -982,8 +1046,9 @@ void CefMenuButtonCToCpp::SetFocusable(bool focusable) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -995,8 +1060,9 @@ NO_SANITIZE("cfi-icall") bool CefMenuButtonCToCpp::IsFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1011,8 +1077,9 @@ NO_SANITIZE("cfi-icall") bool CefMenuButtonCToCpp::IsAccessibilityFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1027,8 +1094,9 @@ NO_SANITIZE("cfi-icall") void CefMenuButtonCToCpp::RequestFocus() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1041,8 +1109,9 @@ void CefMenuButtonCToCpp::SetBackgroundColor(cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1054,8 +1123,9 @@ NO_SANITIZE("cfi-icall") cef_color_t CefMenuButtonCToCpp::GetBackgroundColor() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1071,8 +1141,9 @@ bool CefMenuButtonCToCpp::ConvertPointToScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1088,8 +1159,9 @@ bool CefMenuButtonCToCpp::ConvertPointFromScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1105,8 +1177,9 @@ bool CefMenuButtonCToCpp::ConvertPointToWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1122,8 +1195,9 @@ bool CefMenuButtonCToCpp::ConvertPointFromWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1140,15 +1214,17 @@ bool CefMenuButtonCToCpp::ConvertPointToView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_to_view(
|
||||
@@ -1164,15 +1240,17 @@ bool CefMenuButtonCToCpp::ConvertPointFromView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_from_view(
|
||||
|
@@ -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=41f123659afc521684bb6b273ab831944efc4611$
|
||||
// $hash=0323c84d6099ab582a71a40f8065013cecc126cd$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_MENU_BUTTON_CTOCPP_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=795437425153e56d1c82e30510922399fef0c673$
|
||||
// $hash=4a75c3d8ec4015821d89489f6ea97151c900ac75$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/menu_button_delegate_ctocpp.h"
|
||||
@@ -29,19 +29,22 @@ void CefMenuButtonDelegateCToCpp::OnMenuButtonPressed(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_menu_button_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_menu_button_pressed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_menu_button_pressed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: menu_button; type: refptr_diff
|
||||
DCHECK(menu_button.get());
|
||||
if (!menu_button.get())
|
||||
if (!menu_button.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: button_pressed_lock; type: refptr_diff
|
||||
DCHECK(button_pressed_lock.get());
|
||||
if (!button_pressed_lock.get())
|
||||
if (!button_pressed_lock.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_menu_button_pressed(
|
||||
@@ -55,15 +58,17 @@ void CefMenuButtonDelegateCToCpp::OnButtonPressed(CefRefPtr<CefButton> button) {
|
||||
|
||||
cef_button_delegate_t* _struct =
|
||||
reinterpret_cast<cef_button_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_button_pressed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_button_pressed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: button; type: refptr_diff
|
||||
DCHECK(button.get());
|
||||
if (!button.get())
|
||||
if (!button.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_button_pressed(_struct, CefButtonCppToC::Wrap(button));
|
||||
@@ -76,15 +81,17 @@ void CefMenuButtonDelegateCToCpp::OnButtonStateChanged(
|
||||
|
||||
cef_button_delegate_t* _struct =
|
||||
reinterpret_cast<cef_button_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_button_state_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_button_state_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: button; type: refptr_diff
|
||||
DCHECK(button.get());
|
||||
if (!button.get())
|
||||
if (!button.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_button_state_changed(_struct, CefButtonCppToC::Wrap(button));
|
||||
@@ -96,15 +103,17 @@ CefSize CefMenuButtonDelegateCToCpp::GetPreferredSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -120,15 +129,17 @@ CefSize CefMenuButtonDelegateCToCpp::GetMinimumSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -144,15 +155,17 @@ CefSize CefMenuButtonDelegateCToCpp::GetMaximumSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -169,15 +182,17 @@ int CefMenuButtonDelegateCToCpp::GetHeightForWidth(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@@ -196,19 +211,22 @@ void CefMenuButtonDelegateCToCpp::OnParentViewChanged(
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_parent_view_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_parent_view_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: parent; type: refptr_diff
|
||||
DCHECK(parent.get());
|
||||
if (!parent.get())
|
||||
if (!parent.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_parent_view_changed(_struct, CefViewCppToC::Wrap(view), added,
|
||||
@@ -223,19 +241,22 @@ void CefMenuButtonDelegateCToCpp::OnChildViewChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_child_view_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_child_view_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: child; type: refptr_diff
|
||||
DCHECK(child.get());
|
||||
if (!child.get())
|
||||
if (!child.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_child_view_changed(_struct, CefViewCppToC::Wrap(view), added,
|
||||
@@ -249,15 +270,17 @@ void CefMenuButtonDelegateCToCpp::OnWindowChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_window_changed(_struct, CefViewCppToC::Wrap(view), added);
|
||||
@@ -270,15 +293,17 @@ void CefMenuButtonDelegateCToCpp::OnLayoutChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_layout_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_layout_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_layout_changed(_struct, CefViewCppToC::Wrap(view), &new_bounds);
|
||||
@@ -290,15 +315,17 @@ void CefMenuButtonDelegateCToCpp::OnFocus(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_focus(_struct, CefViewCppToC::Wrap(view));
|
||||
@@ -310,15 +337,17 @@ void CefMenuButtonDelegateCToCpp::OnBlur(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_blur))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_blur)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_blur(_struct, CefViewCppToC::Wrap(view));
|
||||
|
@@ -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=7f1b296579f263cdcb5ac00105e53c32e2d89f4c$
|
||||
// $hash=962c2d2bc800670d19838fa2a34ab4faa8203531$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_MENU_BUTTON_DELEGATE_CTOCPP_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=684914b489c5d322b41d61d46f5d387675da2c30$
|
||||
// $hash=52df98f1359e9a8e231ec9e2555bc883e1fa84b5$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/menu_button_pressed_lock_ctocpp.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=ea81c8b651b803c0d78b06a850c409da3e632b44$
|
||||
// $hash=8c0bc19bcd5b9f53b0ee556fb0117e9a6115eb7f$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_MENU_BUTTON_PRESSED_LOCK_CTOCPP_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=60978f71bb9089d32a89bed17af584bd83a4678d$
|
||||
// $hash=f104fb8a49bd3ad2cfc7f638995bbd04e1bbbd5b$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/overlay_controller_ctocpp.h"
|
||||
@@ -23,8 +23,9 @@ NO_SANITIZE("cfi-icall") bool CefOverlayControllerCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -40,15 +41,17 @@ bool CefOverlayControllerCToCpp::IsSame(CefRefPtr<CefOverlayController> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that.get());
|
||||
if (!that.get())
|
||||
if (!that.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@@ -63,8 +66,9 @@ CefRefPtr<CefView> CefOverlayControllerCToCpp::GetContentsView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_contents_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_contents_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -80,8 +84,9 @@ CefRefPtr<CefWindow> CefOverlayControllerCToCpp::GetWindow() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -97,8 +102,9 @@ cef_docking_mode_t CefOverlayControllerCToCpp::GetDockingMode() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_docking_mode))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_docking_mode)) {
|
||||
return CEF_DOCKING_MODE_TOP_LEFT;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -113,8 +119,9 @@ NO_SANITIZE("cfi-icall") void CefOverlayControllerCToCpp::Destroy() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, destroy))
|
||||
if (CEF_MEMBER_MISSING(_struct, destroy)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -127,8 +134,9 @@ void CefOverlayControllerCToCpp::SetBounds(const CefRect& bounds) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -140,8 +148,9 @@ NO_SANITIZE("cfi-icall") CefRect CefOverlayControllerCToCpp::GetBounds() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -157,8 +166,9 @@ CefRect CefOverlayControllerCToCpp::GetBoundsInScreen() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -174,8 +184,9 @@ void CefOverlayControllerCToCpp::SetSize(const CefSize& size) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -187,8 +198,9 @@ NO_SANITIZE("cfi-icall") CefSize CefOverlayControllerCToCpp::GetSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -204,8 +216,9 @@ void CefOverlayControllerCToCpp::SetPosition(const CefPoint& position) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -217,8 +230,9 @@ NO_SANITIZE("cfi-icall") CefPoint CefOverlayControllerCToCpp::GetPosition() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position)) {
|
||||
return CefPoint();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -234,8 +248,9 @@ void CefOverlayControllerCToCpp::SetInsets(const CefInsets& insets) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -247,8 +262,9 @@ NO_SANITIZE("cfi-icall") CefInsets CefOverlayControllerCToCpp::GetInsets() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets)) {
|
||||
return CefInsets();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -264,8 +280,9 @@ void CefOverlayControllerCToCpp::SizeToPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -278,8 +295,9 @@ void CefOverlayControllerCToCpp::SetVisible(bool visible) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -291,8 +309,9 @@ NO_SANITIZE("cfi-icall") bool CefOverlayControllerCToCpp::IsVisible() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -307,8 +326,9 @@ NO_SANITIZE("cfi-icall") bool CefOverlayControllerCToCpp::IsDrawn() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_overlay_controller_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
@@ -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=7e1c98d4417c831dc850f36bc6ac20d95cd03dab$
|
||||
// $hash=a8dd9d8eb796f499231143866c2d8f45e9b25d0c$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_OVERLAY_CONTROLLER_CTOCPP_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=7989301b819a52e8c965774e5c073d5c480a599b$
|
||||
// $hash=28af26c5e97ef246985cfb0828d5f13e325824b4$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/panel_ctocpp.h"
|
||||
@@ -51,8 +51,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefWindow> CefPanelCToCpp::AsWindow() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_panel_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, as_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_window)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -68,8 +69,9 @@ CefRefPtr<CefFillLayout> CefPanelCToCpp::SetToFillLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_panel_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_to_fill_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_to_fill_layout)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -86,8 +88,9 @@ CefRefPtr<CefBoxLayout> CefPanelCToCpp::SetToBoxLayout(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_panel_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_to_box_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_to_box_layout)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -102,8 +105,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefLayout> CefPanelCToCpp::GetLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_panel_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_layout)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -118,8 +122,9 @@ NO_SANITIZE("cfi-icall") void CefPanelCToCpp::Layout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_panel_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, layout)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -132,15 +137,17 @@ void CefPanelCToCpp::AddChildView(CefRefPtr<CefView> view) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_panel_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, add_child_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, add_child_view)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->add_child_view(_struct, CefViewCToCpp::Unwrap(view));
|
||||
@@ -151,19 +158,22 @@ void CefPanelCToCpp::AddChildViewAt(CefRefPtr<CefView> view, int index) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_panel_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, add_child_view_at))
|
||||
if (CEF_MEMBER_MISSING(_struct, add_child_view_at)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: index; type: simple_byval
|
||||
DCHECK_GE(index, 0);
|
||||
if (index < 0)
|
||||
if (index < 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->add_child_view_at(_struct, CefViewCToCpp::Unwrap(view), index);
|
||||
@@ -174,15 +184,17 @@ void CefPanelCToCpp::ReorderChildView(CefRefPtr<CefView> view, int index) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_panel_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, reorder_child_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, reorder_child_view)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->reorder_child_view(_struct, CefViewCToCpp::Unwrap(view), index);
|
||||
@@ -193,15 +205,17 @@ void CefPanelCToCpp::RemoveChildView(CefRefPtr<CefView> view) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_panel_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, remove_child_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, remove_child_view)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->remove_child_view(_struct, CefViewCToCpp::Unwrap(view));
|
||||
@@ -211,8 +225,9 @@ NO_SANITIZE("cfi-icall") void CefPanelCToCpp::RemoveAllChildViews() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_panel_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, remove_all_child_views))
|
||||
if (CEF_MEMBER_MISSING(_struct, remove_all_child_views)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -224,8 +239,9 @@ NO_SANITIZE("cfi-icall") size_t CefPanelCToCpp::GetChildViewCount() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_panel_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_child_view_count))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_child_view_count)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -241,15 +257,17 @@ CefRefPtr<CefView> CefPanelCToCpp::GetChildViewAt(int index) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_panel_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_child_view_at))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_child_view_at)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: index; type: simple_byval
|
||||
DCHECK_GE(index, 0);
|
||||
if (index < 0)
|
||||
if (index < 0) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_view_t* _retval = _struct->get_child_view_at(_struct, index);
|
||||
@@ -263,8 +281,9 @@ CefRefPtr<CefBrowserView> CefPanelCToCpp::AsBrowserView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -279,8 +298,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefButton> CefPanelCToCpp::AsButton() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -295,8 +315,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefPanel> CefPanelCToCpp::AsPanel() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -312,8 +333,9 @@ CefRefPtr<CefScrollView> CefPanelCToCpp::AsScrollView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -328,8 +350,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefTextfield> CefPanelCToCpp::AsTextfield() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -344,8 +367,9 @@ NO_SANITIZE("cfi-icall") CefString CefPanelCToCpp::GetTypeString() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -363,8 +387,9 @@ CefString CefPanelCToCpp::ToString(bool include_children) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -381,8 +406,9 @@ NO_SANITIZE("cfi-icall") bool CefPanelCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -397,8 +423,9 @@ NO_SANITIZE("cfi-icall") bool CefPanelCToCpp::IsAttached() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -413,15 +440,17 @@ NO_SANITIZE("cfi-icall") bool CefPanelCToCpp::IsSame(CefRefPtr<CefView> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that.get());
|
||||
if (!that.get())
|
||||
if (!that.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->is_same(_struct, CefViewCToCpp::Unwrap(that));
|
||||
@@ -435,8 +464,9 @@ CefRefPtr<CefViewDelegate> CefPanelCToCpp::GetDelegate() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -451,8 +481,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefWindow> CefPanelCToCpp::GetWindow() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -467,8 +498,9 @@ NO_SANITIZE("cfi-icall") int CefPanelCToCpp::GetID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -483,8 +515,9 @@ NO_SANITIZE("cfi-icall") void CefPanelCToCpp::SetID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -496,8 +529,9 @@ NO_SANITIZE("cfi-icall") int CefPanelCToCpp::GetGroupID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -512,8 +546,9 @@ NO_SANITIZE("cfi-icall") void CefPanelCToCpp::SetGroupID(int group_id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -525,8 +560,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefView> CefPanelCToCpp::GetParentView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -542,8 +578,9 @@ CefRefPtr<CefView> CefPanelCToCpp::GetViewForID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -558,8 +595,9 @@ NO_SANITIZE("cfi-icall") void CefPanelCToCpp::SetBounds(const CefRect& bounds) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -571,8 +609,9 @@ NO_SANITIZE("cfi-icall") CefRect CefPanelCToCpp::GetBounds() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -587,8 +626,9 @@ NO_SANITIZE("cfi-icall") CefRect CefPanelCToCpp::GetBoundsInScreen() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -603,8 +643,9 @@ NO_SANITIZE("cfi-icall") void CefPanelCToCpp::SetSize(const CefSize& size) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -616,8 +657,9 @@ NO_SANITIZE("cfi-icall") CefSize CefPanelCToCpp::GetSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -633,8 +675,9 @@ void CefPanelCToCpp::SetPosition(const CefPoint& position) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -646,8 +689,9 @@ NO_SANITIZE("cfi-icall") CefPoint CefPanelCToCpp::GetPosition() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position)) {
|
||||
return CefPoint();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -663,8 +707,9 @@ void CefPanelCToCpp::SetInsets(const CefInsets& insets) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -676,8 +721,9 @@ NO_SANITIZE("cfi-icall") CefInsets CefPanelCToCpp::GetInsets() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets)) {
|
||||
return CefInsets();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -692,8 +738,9 @@ NO_SANITIZE("cfi-icall") CefSize CefPanelCToCpp::GetPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -708,8 +755,9 @@ NO_SANITIZE("cfi-icall") void CefPanelCToCpp::SizeToPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -721,8 +769,9 @@ NO_SANITIZE("cfi-icall") CefSize CefPanelCToCpp::GetMinimumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -737,8 +786,9 @@ NO_SANITIZE("cfi-icall") CefSize CefPanelCToCpp::GetMaximumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -753,8 +803,9 @@ NO_SANITIZE("cfi-icall") int CefPanelCToCpp::GetHeightForWidth(int width) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -769,8 +820,9 @@ NO_SANITIZE("cfi-icall") void CefPanelCToCpp::InvalidateLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -782,8 +834,9 @@ NO_SANITIZE("cfi-icall") void CefPanelCToCpp::SetVisible(bool visible) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -795,8 +848,9 @@ NO_SANITIZE("cfi-icall") bool CefPanelCToCpp::IsVisible() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -811,8 +865,9 @@ NO_SANITIZE("cfi-icall") bool CefPanelCToCpp::IsDrawn() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -827,8 +882,9 @@ NO_SANITIZE("cfi-icall") void CefPanelCToCpp::SetEnabled(bool enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -840,8 +896,9 @@ NO_SANITIZE("cfi-icall") bool CefPanelCToCpp::IsEnabled() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -856,8 +913,9 @@ NO_SANITIZE("cfi-icall") void CefPanelCToCpp::SetFocusable(bool focusable) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -869,8 +927,9 @@ NO_SANITIZE("cfi-icall") bool CefPanelCToCpp::IsFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -885,8 +944,9 @@ NO_SANITIZE("cfi-icall") bool CefPanelCToCpp::IsAccessibilityFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -901,8 +961,9 @@ NO_SANITIZE("cfi-icall") void CefPanelCToCpp::RequestFocus() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -915,8 +976,9 @@ void CefPanelCToCpp::SetBackgroundColor(cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -928,8 +990,9 @@ NO_SANITIZE("cfi-icall") cef_color_t CefPanelCToCpp::GetBackgroundColor() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -945,8 +1008,9 @@ bool CefPanelCToCpp::ConvertPointToScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -962,8 +1026,9 @@ bool CefPanelCToCpp::ConvertPointFromScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -979,8 +1044,9 @@ bool CefPanelCToCpp::ConvertPointToWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -996,8 +1062,9 @@ bool CefPanelCToCpp::ConvertPointFromWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1014,15 +1081,17 @@ bool CefPanelCToCpp::ConvertPointToView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_to_view(
|
||||
@@ -1038,15 +1107,17 @@ bool CefPanelCToCpp::ConvertPointFromView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_from_view(
|
||||
|
@@ -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=409d4b16fb5d1dcc66c8553ed2fdd8b6465c8664$
|
||||
// $hash=c0c4823d1084bd1ea4f2065e93b51a56718bed87$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_PANEL_CTOCPP_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=ed477592fb540c789eef4309e7af5f40319bc4b9$
|
||||
// $hash=405f351887cd4d64177534dd1a362f1027126b0d$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/panel_delegate_ctocpp.h"
|
||||
@@ -25,15 +25,17 @@ CefSize CefPanelDelegateCToCpp::GetPreferredSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -49,15 +51,17 @@ CefSize CefPanelDelegateCToCpp::GetMinimumSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -73,15 +77,17 @@ CefSize CefPanelDelegateCToCpp::GetMaximumSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -98,15 +104,17 @@ int CefPanelDelegateCToCpp::GetHeightForWidth(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@@ -124,19 +132,22 @@ void CefPanelDelegateCToCpp::OnParentViewChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_parent_view_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_parent_view_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: parent; type: refptr_diff
|
||||
DCHECK(parent.get());
|
||||
if (!parent.get())
|
||||
if (!parent.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_parent_view_changed(_struct, CefViewCppToC::Wrap(view), added,
|
||||
@@ -151,19 +162,22 @@ void CefPanelDelegateCToCpp::OnChildViewChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_child_view_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_child_view_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: child; type: refptr_diff
|
||||
DCHECK(child.get());
|
||||
if (!child.get())
|
||||
if (!child.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_child_view_changed(_struct, CefViewCppToC::Wrap(view), added,
|
||||
@@ -177,15 +191,17 @@ void CefPanelDelegateCToCpp::OnWindowChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_window_changed(_struct, CefViewCppToC::Wrap(view), added);
|
||||
@@ -198,15 +214,17 @@ void CefPanelDelegateCToCpp::OnLayoutChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_layout_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_layout_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_layout_changed(_struct, CefViewCppToC::Wrap(view), &new_bounds);
|
||||
@@ -218,15 +236,17 @@ void CefPanelDelegateCToCpp::OnFocus(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_focus(_struct, CefViewCppToC::Wrap(view));
|
||||
@@ -238,15 +258,17 @@ void CefPanelDelegateCToCpp::OnBlur(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_blur))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_blur)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_blur(_struct, CefViewCppToC::Wrap(view));
|
||||
|
@@ -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=0a0bf21c7be5169ab5ba891ba25b7b78b317e9aa$
|
||||
// $hash=dcad633b9f91da4e5b08cfa8be122b6797211b46$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_PANEL_DELEGATE_CTOCPP_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=177ae72af2cb2658ab48041dfefde9f492e4a5d5$
|
||||
// $hash=2f144e9072f0e1ab8e47a32192fe993b1b71c40a$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/scroll_view_ctocpp.h"
|
||||
@@ -48,15 +48,17 @@ void CefScrollViewCToCpp::SetContentView(CefRefPtr<CefView> view) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_scroll_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_content_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_content_view)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_content_view(_struct, CefViewCToCpp::Unwrap(view));
|
||||
@@ -67,8 +69,9 @@ CefRefPtr<CefView> CefScrollViewCToCpp::GetContentView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_scroll_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_content_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_content_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -83,8 +86,9 @@ NO_SANITIZE("cfi-icall") CefRect CefScrollViewCToCpp::GetVisibleContentRect() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_scroll_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_visible_content_rect))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_visible_content_rect)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -99,8 +103,9 @@ NO_SANITIZE("cfi-icall") bool CefScrollViewCToCpp::HasHorizontalScrollbar() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_scroll_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_horizontal_scrollbar))
|
||||
if (CEF_MEMBER_MISSING(_struct, has_horizontal_scrollbar)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -116,8 +121,9 @@ int CefScrollViewCToCpp::GetHorizontalScrollbarHeight() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_scroll_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_horizontal_scrollbar_height))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_horizontal_scrollbar_height)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -132,8 +138,9 @@ NO_SANITIZE("cfi-icall") bool CefScrollViewCToCpp::HasVerticalScrollbar() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_scroll_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_vertical_scrollbar))
|
||||
if (CEF_MEMBER_MISSING(_struct, has_vertical_scrollbar)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -148,8 +155,9 @@ NO_SANITIZE("cfi-icall") int CefScrollViewCToCpp::GetVerticalScrollbarWidth() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_scroll_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_vertical_scrollbar_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_vertical_scrollbar_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -165,8 +173,9 @@ CefRefPtr<CefBrowserView> CefScrollViewCToCpp::AsBrowserView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -181,8 +190,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefButton> CefScrollViewCToCpp::AsButton() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -197,8 +207,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefPanel> CefScrollViewCToCpp::AsPanel() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -214,8 +225,9 @@ CefRefPtr<CefScrollView> CefScrollViewCToCpp::AsScrollView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -231,8 +243,9 @@ CefRefPtr<CefTextfield> CefScrollViewCToCpp::AsTextfield() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -247,8 +260,9 @@ NO_SANITIZE("cfi-icall") CefString CefScrollViewCToCpp::GetTypeString() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -266,8 +280,9 @@ CefString CefScrollViewCToCpp::ToString(bool include_children) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -284,8 +299,9 @@ NO_SANITIZE("cfi-icall") bool CefScrollViewCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -300,8 +316,9 @@ NO_SANITIZE("cfi-icall") bool CefScrollViewCToCpp::IsAttached() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -317,15 +334,17 @@ bool CefScrollViewCToCpp::IsSame(CefRefPtr<CefView> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that.get());
|
||||
if (!that.get())
|
||||
if (!that.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->is_same(_struct, CefViewCToCpp::Unwrap(that));
|
||||
@@ -339,8 +358,9 @@ CefRefPtr<CefViewDelegate> CefScrollViewCToCpp::GetDelegate() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -355,8 +375,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefWindow> CefScrollViewCToCpp::GetWindow() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -371,8 +392,9 @@ NO_SANITIZE("cfi-icall") int CefScrollViewCToCpp::GetID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -387,8 +409,9 @@ NO_SANITIZE("cfi-icall") void CefScrollViewCToCpp::SetID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -400,8 +423,9 @@ NO_SANITIZE("cfi-icall") int CefScrollViewCToCpp::GetGroupID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -416,8 +440,9 @@ NO_SANITIZE("cfi-icall") void CefScrollViewCToCpp::SetGroupID(int group_id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -430,8 +455,9 @@ CefRefPtr<CefView> CefScrollViewCToCpp::GetParentView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -447,8 +473,9 @@ CefRefPtr<CefView> CefScrollViewCToCpp::GetViewForID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -464,8 +491,9 @@ void CefScrollViewCToCpp::SetBounds(const CefRect& bounds) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -477,8 +505,9 @@ NO_SANITIZE("cfi-icall") CefRect CefScrollViewCToCpp::GetBounds() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -493,8 +522,9 @@ NO_SANITIZE("cfi-icall") CefRect CefScrollViewCToCpp::GetBoundsInScreen() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -510,8 +540,9 @@ void CefScrollViewCToCpp::SetSize(const CefSize& size) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -523,8 +554,9 @@ NO_SANITIZE("cfi-icall") CefSize CefScrollViewCToCpp::GetSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -540,8 +572,9 @@ void CefScrollViewCToCpp::SetPosition(const CefPoint& position) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -553,8 +586,9 @@ NO_SANITIZE("cfi-icall") CefPoint CefScrollViewCToCpp::GetPosition() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position)) {
|
||||
return CefPoint();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -570,8 +604,9 @@ void CefScrollViewCToCpp::SetInsets(const CefInsets& insets) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -583,8 +618,9 @@ NO_SANITIZE("cfi-icall") CefInsets CefScrollViewCToCpp::GetInsets() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets)) {
|
||||
return CefInsets();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -599,8 +635,9 @@ NO_SANITIZE("cfi-icall") CefSize CefScrollViewCToCpp::GetPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -615,8 +652,9 @@ NO_SANITIZE("cfi-icall") void CefScrollViewCToCpp::SizeToPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -628,8 +666,9 @@ NO_SANITIZE("cfi-icall") CefSize CefScrollViewCToCpp::GetMinimumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -644,8 +683,9 @@ NO_SANITIZE("cfi-icall") CefSize CefScrollViewCToCpp::GetMaximumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -660,8 +700,9 @@ NO_SANITIZE("cfi-icall") int CefScrollViewCToCpp::GetHeightForWidth(int width) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -676,8 +717,9 @@ NO_SANITIZE("cfi-icall") void CefScrollViewCToCpp::InvalidateLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -689,8 +731,9 @@ NO_SANITIZE("cfi-icall") void CefScrollViewCToCpp::SetVisible(bool visible) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -702,8 +745,9 @@ NO_SANITIZE("cfi-icall") bool CefScrollViewCToCpp::IsVisible() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -718,8 +762,9 @@ NO_SANITIZE("cfi-icall") bool CefScrollViewCToCpp::IsDrawn() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -734,8 +779,9 @@ NO_SANITIZE("cfi-icall") void CefScrollViewCToCpp::SetEnabled(bool enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -747,8 +793,9 @@ NO_SANITIZE("cfi-icall") bool CefScrollViewCToCpp::IsEnabled() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -764,8 +811,9 @@ void CefScrollViewCToCpp::SetFocusable(bool focusable) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -777,8 +825,9 @@ NO_SANITIZE("cfi-icall") bool CefScrollViewCToCpp::IsFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -793,8 +842,9 @@ NO_SANITIZE("cfi-icall") bool CefScrollViewCToCpp::IsAccessibilityFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -809,8 +859,9 @@ NO_SANITIZE("cfi-icall") void CefScrollViewCToCpp::RequestFocus() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -823,8 +874,9 @@ void CefScrollViewCToCpp::SetBackgroundColor(cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -836,8 +888,9 @@ NO_SANITIZE("cfi-icall") cef_color_t CefScrollViewCToCpp::GetBackgroundColor() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -853,8 +906,9 @@ bool CefScrollViewCToCpp::ConvertPointToScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -870,8 +924,9 @@ bool CefScrollViewCToCpp::ConvertPointFromScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -887,8 +942,9 @@ bool CefScrollViewCToCpp::ConvertPointToWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -904,8 +960,9 @@ bool CefScrollViewCToCpp::ConvertPointFromWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -922,15 +979,17 @@ bool CefScrollViewCToCpp::ConvertPointToView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_to_view(
|
||||
@@ -946,15 +1005,17 @@ bool CefScrollViewCToCpp::ConvertPointFromView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_from_view(
|
||||
|
@@ -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=6160a050b665423f41dfea54b38fade96dc2031f$
|
||||
// $hash=3a3c2eee1765f8a1d86044eadc75eca9c6fae25f$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_SCROLL_VIEW_CTOCPP_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=3268a6e6475c3fbddcf6c83016ca3aae1d4a7c4c$
|
||||
// $hash=dc4a2a8439531603f9bcaeeaa807a955f3846430$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/textfield_ctocpp.h"
|
||||
@@ -49,8 +49,9 @@ void CefTextfieldCToCpp::SetPasswordInput(bool password_input) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_password_input))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_password_input)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -62,8 +63,9 @@ NO_SANITIZE("cfi-icall") bool CefTextfieldCToCpp::IsPasswordInput() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_password_input))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_password_input)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -78,8 +80,9 @@ NO_SANITIZE("cfi-icall") void CefTextfieldCToCpp::SetReadOnly(bool read_only) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_read_only))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_read_only)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -91,8 +94,9 @@ NO_SANITIZE("cfi-icall") bool CefTextfieldCToCpp::IsReadOnly() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_read_only))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_read_only)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -107,8 +111,9 @@ NO_SANITIZE("cfi-icall") CefString CefTextfieldCToCpp::GetText() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_text)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -126,15 +131,17 @@ void CefTextfieldCToCpp::SetText(const CefString& text) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_text)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: text; type: string_byref_const
|
||||
DCHECK(!text.empty());
|
||||
if (text.empty())
|
||||
if (text.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_text(_struct, text.GetStruct());
|
||||
@@ -145,15 +152,17 @@ void CefTextfieldCToCpp::AppendText(const CefString& text) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, append_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, append_text)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: text; type: string_byref_const
|
||||
DCHECK(!text.empty());
|
||||
if (text.empty())
|
||||
if (text.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->append_text(_struct, text.GetStruct());
|
||||
@@ -164,15 +173,17 @@ void CefTextfieldCToCpp::InsertOrReplaceText(const CefString& text) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, insert_or_replace_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, insert_or_replace_text)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: text; type: string_byref_const
|
||||
DCHECK(!text.empty());
|
||||
if (text.empty())
|
||||
if (text.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->insert_or_replace_text(_struct, text.GetStruct());
|
||||
@@ -182,8 +193,9 @@ NO_SANITIZE("cfi-icall") bool CefTextfieldCToCpp::HasSelection() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, has_selection))
|
||||
if (CEF_MEMBER_MISSING(_struct, has_selection)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -198,8 +210,9 @@ NO_SANITIZE("cfi-icall") CefString CefTextfieldCToCpp::GetSelectedText() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_selected_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_selected_text)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -216,8 +229,9 @@ NO_SANITIZE("cfi-icall") void CefTextfieldCToCpp::SelectAll(bool reversed) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, select_all))
|
||||
if (CEF_MEMBER_MISSING(_struct, select_all)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -229,8 +243,9 @@ NO_SANITIZE("cfi-icall") void CefTextfieldCToCpp::ClearSelection() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, clear_selection))
|
||||
if (CEF_MEMBER_MISSING(_struct, clear_selection)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -242,8 +257,9 @@ NO_SANITIZE("cfi-icall") CefRange CefTextfieldCToCpp::GetSelectedRange() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_selected_range))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_selected_range)) {
|
||||
return CefRange();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -259,8 +275,9 @@ void CefTextfieldCToCpp::SelectRange(const CefRange& range) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, select_range))
|
||||
if (CEF_MEMBER_MISSING(_struct, select_range)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -272,8 +289,9 @@ NO_SANITIZE("cfi-icall") size_t CefTextfieldCToCpp::GetCursorPosition() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_cursor_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_cursor_position)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -289,8 +307,9 @@ void CefTextfieldCToCpp::SetTextColor(cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_text_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_text_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -302,8 +321,9 @@ NO_SANITIZE("cfi-icall") cef_color_t CefTextfieldCToCpp::GetTextColor() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_text_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_text_color)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -319,8 +339,9 @@ void CefTextfieldCToCpp::SetSelectionTextColor(cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_selection_text_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_selection_text_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -333,8 +354,9 @@ cef_color_t CefTextfieldCToCpp::GetSelectionTextColor() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_selection_text_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_selection_text_color)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -350,8 +372,9 @@ void CefTextfieldCToCpp::SetSelectionBackgroundColor(cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_selection_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_selection_background_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -364,8 +387,9 @@ cef_color_t CefTextfieldCToCpp::GetSelectionBackgroundColor() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_selection_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_selection_background_color)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -381,15 +405,17 @@ void CefTextfieldCToCpp::SetFontList(const CefString& font_list) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_font_list))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_font_list)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: font_list; type: string_byref_const
|
||||
DCHECK(!font_list.empty());
|
||||
if (font_list.empty())
|
||||
if (font_list.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_font_list(_struct, font_list.GetStruct());
|
||||
@@ -401,8 +427,9 @@ void CefTextfieldCToCpp::ApplyTextColor(cef_color_t color,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, apply_text_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, apply_text_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -417,8 +444,9 @@ void CefTextfieldCToCpp::ApplyTextStyle(cef_text_style_t style,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, apply_text_style))
|
||||
if (CEF_MEMBER_MISSING(_struct, apply_text_style)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -432,8 +460,9 @@ bool CefTextfieldCToCpp::IsCommandEnabled(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_command_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_command_enabled)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -449,8 +478,9 @@ void CefTextfieldCToCpp::ExecuteCommand(cef_text_field_commands_t command_id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, execute_command))
|
||||
if (CEF_MEMBER_MISSING(_struct, execute_command)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -462,8 +492,9 @@ NO_SANITIZE("cfi-icall") void CefTextfieldCToCpp::ClearEditHistory() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, clear_edit_history))
|
||||
if (CEF_MEMBER_MISSING(_struct, clear_edit_history)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -476,15 +507,17 @@ void CefTextfieldCToCpp::SetPlaceholderText(const CefString& text) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_placeholder_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_placeholder_text)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: text; type: string_byref_const
|
||||
DCHECK(!text.empty());
|
||||
if (text.empty())
|
||||
if (text.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_placeholder_text(_struct, text.GetStruct());
|
||||
@@ -494,8 +527,9 @@ NO_SANITIZE("cfi-icall") CefString CefTextfieldCToCpp::GetPlaceholderText() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_placeholder_text))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_placeholder_text)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -513,8 +547,9 @@ void CefTextfieldCToCpp::SetPlaceholderTextColor(cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_placeholder_text_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_placeholder_text_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -527,15 +562,17 @@ void CefTextfieldCToCpp::SetAccessibleName(const CefString& name) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_accessible_name))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_accessible_name)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: name; type: string_byref_const
|
||||
DCHECK(!name.empty());
|
||||
if (name.empty())
|
||||
if (name.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->set_accessible_name(_struct, name.GetStruct());
|
||||
@@ -546,8 +583,9 @@ CefRefPtr<CefBrowserView> CefTextfieldCToCpp::AsBrowserView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -562,8 +600,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefButton> CefTextfieldCToCpp::AsButton() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -578,8 +617,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefPanel> CefTextfieldCToCpp::AsPanel() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -595,8 +635,9 @@ CefRefPtr<CefScrollView> CefTextfieldCToCpp::AsScrollView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -612,8 +653,9 @@ CefRefPtr<CefTextfield> CefTextfieldCToCpp::AsTextfield() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -628,8 +670,9 @@ NO_SANITIZE("cfi-icall") CefString CefTextfieldCToCpp::GetTypeString() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -647,8 +690,9 @@ CefString CefTextfieldCToCpp::ToString(bool include_children) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -665,8 +709,9 @@ NO_SANITIZE("cfi-icall") bool CefTextfieldCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -681,8 +726,9 @@ NO_SANITIZE("cfi-icall") bool CefTextfieldCToCpp::IsAttached() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -698,15 +744,17 @@ bool CefTextfieldCToCpp::IsSame(CefRefPtr<CefView> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that.get());
|
||||
if (!that.get())
|
||||
if (!that.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->is_same(_struct, CefViewCToCpp::Unwrap(that));
|
||||
@@ -720,8 +768,9 @@ CefRefPtr<CefViewDelegate> CefTextfieldCToCpp::GetDelegate() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -736,8 +785,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefWindow> CefTextfieldCToCpp::GetWindow() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -752,8 +802,9 @@ NO_SANITIZE("cfi-icall") int CefTextfieldCToCpp::GetID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -768,8 +819,9 @@ NO_SANITIZE("cfi-icall") void CefTextfieldCToCpp::SetID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -781,8 +833,9 @@ NO_SANITIZE("cfi-icall") int CefTextfieldCToCpp::GetGroupID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -797,8 +850,9 @@ NO_SANITIZE("cfi-icall") void CefTextfieldCToCpp::SetGroupID(int group_id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -811,8 +865,9 @@ CefRefPtr<CefView> CefTextfieldCToCpp::GetParentView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -828,8 +883,9 @@ CefRefPtr<CefView> CefTextfieldCToCpp::GetViewForID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -845,8 +901,9 @@ void CefTextfieldCToCpp::SetBounds(const CefRect& bounds) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -858,8 +915,9 @@ NO_SANITIZE("cfi-icall") CefRect CefTextfieldCToCpp::GetBounds() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -874,8 +932,9 @@ NO_SANITIZE("cfi-icall") CefRect CefTextfieldCToCpp::GetBoundsInScreen() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -890,8 +949,9 @@ NO_SANITIZE("cfi-icall") void CefTextfieldCToCpp::SetSize(const CefSize& size) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -903,8 +963,9 @@ NO_SANITIZE("cfi-icall") CefSize CefTextfieldCToCpp::GetSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -920,8 +981,9 @@ void CefTextfieldCToCpp::SetPosition(const CefPoint& position) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -933,8 +995,9 @@ NO_SANITIZE("cfi-icall") CefPoint CefTextfieldCToCpp::GetPosition() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position)) {
|
||||
return CefPoint();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -950,8 +1013,9 @@ void CefTextfieldCToCpp::SetInsets(const CefInsets& insets) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -963,8 +1027,9 @@ NO_SANITIZE("cfi-icall") CefInsets CefTextfieldCToCpp::GetInsets() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets)) {
|
||||
return CefInsets();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -979,8 +1044,9 @@ NO_SANITIZE("cfi-icall") CefSize CefTextfieldCToCpp::GetPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -995,8 +1061,9 @@ NO_SANITIZE("cfi-icall") void CefTextfieldCToCpp::SizeToPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1008,8 +1075,9 @@ NO_SANITIZE("cfi-icall") CefSize CefTextfieldCToCpp::GetMinimumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1024,8 +1092,9 @@ NO_SANITIZE("cfi-icall") CefSize CefTextfieldCToCpp::GetMaximumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1040,8 +1109,9 @@ NO_SANITIZE("cfi-icall") int CefTextfieldCToCpp::GetHeightForWidth(int width) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1056,8 +1126,9 @@ NO_SANITIZE("cfi-icall") void CefTextfieldCToCpp::InvalidateLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1069,8 +1140,9 @@ NO_SANITIZE("cfi-icall") void CefTextfieldCToCpp::SetVisible(bool visible) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1082,8 +1154,9 @@ NO_SANITIZE("cfi-icall") bool CefTextfieldCToCpp::IsVisible() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1098,8 +1171,9 @@ NO_SANITIZE("cfi-icall") bool CefTextfieldCToCpp::IsDrawn() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1114,8 +1188,9 @@ NO_SANITIZE("cfi-icall") void CefTextfieldCToCpp::SetEnabled(bool enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1127,8 +1202,9 @@ NO_SANITIZE("cfi-icall") bool CefTextfieldCToCpp::IsEnabled() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1143,8 +1219,9 @@ NO_SANITIZE("cfi-icall") void CefTextfieldCToCpp::SetFocusable(bool focusable) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1156,8 +1233,9 @@ NO_SANITIZE("cfi-icall") bool CefTextfieldCToCpp::IsFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1172,8 +1250,9 @@ NO_SANITIZE("cfi-icall") bool CefTextfieldCToCpp::IsAccessibilityFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1188,8 +1267,9 @@ NO_SANITIZE("cfi-icall") void CefTextfieldCToCpp::RequestFocus() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1202,8 +1282,9 @@ void CefTextfieldCToCpp::SetBackgroundColor(cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1215,8 +1296,9 @@ NO_SANITIZE("cfi-icall") cef_color_t CefTextfieldCToCpp::GetBackgroundColor() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1232,8 +1314,9 @@ bool CefTextfieldCToCpp::ConvertPointToScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1249,8 +1332,9 @@ bool CefTextfieldCToCpp::ConvertPointFromScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1266,8 +1350,9 @@ bool CefTextfieldCToCpp::ConvertPointToWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1283,8 +1368,9 @@ bool CefTextfieldCToCpp::ConvertPointFromWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -1301,15 +1387,17 @@ bool CefTextfieldCToCpp::ConvertPointToView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_to_view(
|
||||
@@ -1325,15 +1413,17 @@ bool CefTextfieldCToCpp::ConvertPointFromView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = reinterpret_cast<cef_view_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_from_view(
|
||||
|
@@ -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=d96b3c829c698c7919bcaa4dd9b4f94d8800e6dc$
|
||||
// $hash=cdc3237fbd889409f8e9aa2116689a3e1c1229c7$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_TEXTFIELD_CTOCPP_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=a7787d39e5f102f937542ace81de0277affab1a4$
|
||||
// $hash=7b605cbe624fc1d82b3b74000a03a7941fba7eba$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/textfield_delegate_ctocpp.h"
|
||||
@@ -25,15 +25,17 @@ bool CefTextfieldDelegateCToCpp::OnKeyEvent(CefRefPtr<CefTextfield> textfield,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_key_event))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_key_event)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: textfield; type: refptr_diff
|
||||
DCHECK(textfield.get());
|
||||
if (!textfield.get())
|
||||
if (!textfield.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->on_key_event(
|
||||
@@ -49,15 +51,17 @@ void CefTextfieldDelegateCToCpp::OnAfterUserAction(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_textfield_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_after_user_action))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_after_user_action)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: textfield; type: refptr_diff
|
||||
DCHECK(textfield.get());
|
||||
if (!textfield.get())
|
||||
if (!textfield.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_after_user_action(_struct, CefTextfieldCppToC::Wrap(textfield));
|
||||
@@ -69,15 +73,17 @@ CefSize CefTextfieldDelegateCToCpp::GetPreferredSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -93,15 +99,17 @@ CefSize CefTextfieldDelegateCToCpp::GetMinimumSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -117,15 +125,17 @@ CefSize CefTextfieldDelegateCToCpp::GetMaximumSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -142,15 +152,17 @@ int CefTextfieldDelegateCToCpp::GetHeightForWidth(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@@ -169,19 +181,22 @@ void CefTextfieldDelegateCToCpp::OnParentViewChanged(
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_parent_view_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_parent_view_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: parent; type: refptr_diff
|
||||
DCHECK(parent.get());
|
||||
if (!parent.get())
|
||||
if (!parent.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_parent_view_changed(_struct, CefViewCppToC::Wrap(view), added,
|
||||
@@ -196,19 +211,22 @@ void CefTextfieldDelegateCToCpp::OnChildViewChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_child_view_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_child_view_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: child; type: refptr_diff
|
||||
DCHECK(child.get());
|
||||
if (!child.get())
|
||||
if (!child.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_child_view_changed(_struct, CefViewCppToC::Wrap(view), added,
|
||||
@@ -222,15 +240,17 @@ void CefTextfieldDelegateCToCpp::OnWindowChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_window_changed(_struct, CefViewCppToC::Wrap(view), added);
|
||||
@@ -243,15 +263,17 @@ void CefTextfieldDelegateCToCpp::OnLayoutChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_layout_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_layout_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_layout_changed(_struct, CefViewCppToC::Wrap(view), &new_bounds);
|
||||
@@ -263,15 +285,17 @@ void CefTextfieldDelegateCToCpp::OnFocus(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_focus(_struct, CefViewCppToC::Wrap(view));
|
||||
@@ -283,15 +307,17 @@ void CefTextfieldDelegateCToCpp::OnBlur(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_blur))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_blur)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_blur(_struct, CefViewCppToC::Wrap(view));
|
||||
|
@@ -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=63cc6f84be6ad62ccba2b91cc6159275e1cd7dd8$
|
||||
// $hash=65dedd950d154a0125b094bb1488e787726545cb$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_TEXTFIELD_DELEGATE_CTOCPP_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=61c3b208f3a1907b483198a0a62ae9b45d9e56a3$
|
||||
// $hash=44f883b688d3032e56569aa1f1f2ac9b7d5d6bc4$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/view_ctocpp.h"
|
||||
@@ -31,8 +31,9 @@ CefRefPtr<CefBrowserView> CefViewCToCpp::AsBrowserView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_browser_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -47,8 +48,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefButton> CefViewCToCpp::AsButton() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_button)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -63,8 +65,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefPanel> CefViewCToCpp::AsPanel() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_panel)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -80,8 +83,9 @@ CefRefPtr<CefScrollView> CefViewCToCpp::AsScrollView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_scroll_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -96,8 +100,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefTextfield> CefViewCToCpp::AsTextfield() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield))
|
||||
if (CEF_MEMBER_MISSING(_struct, as_textfield)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -112,8 +117,9 @@ NO_SANITIZE("cfi-icall") CefString CefViewCToCpp::GetTypeString() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_type_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -131,8 +137,9 @@ CefString CefViewCToCpp::ToString(bool include_children) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string))
|
||||
if (CEF_MEMBER_MISSING(_struct, to_string)) {
|
||||
return CefString();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -149,8 +156,9 @@ NO_SANITIZE("cfi-icall") bool CefViewCToCpp::IsValid() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_valid)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -165,8 +173,9 @@ NO_SANITIZE("cfi-icall") bool CefViewCToCpp::IsAttached() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_attached)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -181,15 +190,17 @@ NO_SANITIZE("cfi-icall") bool CefViewCToCpp::IsSame(CefRefPtr<CefView> that) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_same)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: that; type: refptr_same
|
||||
DCHECK(that.get());
|
||||
if (!that.get())
|
||||
if (!that.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->is_same(_struct, CefViewCToCpp::Unwrap(that));
|
||||
@@ -203,8 +214,9 @@ CefRefPtr<CefViewDelegate> CefViewCToCpp::GetDelegate() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_delegate)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -219,8 +231,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefWindow> CefViewCToCpp::GetWindow() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_window)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -235,8 +248,9 @@ NO_SANITIZE("cfi-icall") int CefViewCToCpp::GetID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -251,8 +265,9 @@ NO_SANITIZE("cfi-icall") void CefViewCToCpp::SetID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -264,8 +279,9 @@ NO_SANITIZE("cfi-icall") int CefViewCToCpp::GetGroupID() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_group_id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -280,8 +296,9 @@ NO_SANITIZE("cfi-icall") void CefViewCToCpp::SetGroupID(int group_id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_group_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -293,8 +310,9 @@ NO_SANITIZE("cfi-icall") CefRefPtr<CefView> CefViewCToCpp::GetParentView() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_view)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -310,8 +328,9 @@ CefRefPtr<CefView> CefViewCToCpp::GetViewForID(int id) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_view_for_id)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -326,8 +345,9 @@ NO_SANITIZE("cfi-icall") void CefViewCToCpp::SetBounds(const CefRect& bounds) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_bounds)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -339,8 +359,9 @@ NO_SANITIZE("cfi-icall") CefRect CefViewCToCpp::GetBounds() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -355,8 +376,9 @@ NO_SANITIZE("cfi-icall") CefRect CefViewCToCpp::GetBoundsInScreen() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_bounds_in_screen)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -371,8 +393,9 @@ NO_SANITIZE("cfi-icall") void CefViewCToCpp::SetSize(const CefSize& size) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -384,8 +407,9 @@ NO_SANITIZE("cfi-icall") CefSize CefViewCToCpp::GetSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -401,8 +425,9 @@ void CefViewCToCpp::SetPosition(const CefPoint& position) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_position)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -414,8 +439,9 @@ NO_SANITIZE("cfi-icall") CefPoint CefViewCToCpp::GetPosition() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_position)) {
|
||||
return CefPoint();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -431,8 +457,9 @@ void CefViewCToCpp::SetInsets(const CefInsets& insets) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_insets)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -444,8 +471,9 @@ NO_SANITIZE("cfi-icall") CefInsets CefViewCToCpp::GetInsets() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_insets)) {
|
||||
return CefInsets();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -460,8 +488,9 @@ NO_SANITIZE("cfi-icall") CefSize CefViewCToCpp::GetPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -476,8 +505,9 @@ NO_SANITIZE("cfi-icall") void CefViewCToCpp::SizeToPreferredSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, size_to_preferred_size)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -489,8 +519,9 @@ NO_SANITIZE("cfi-icall") CefSize CefViewCToCpp::GetMinimumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -505,8 +536,9 @@ NO_SANITIZE("cfi-icall") CefSize CefViewCToCpp::GetMaximumSize() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -521,8 +553,9 @@ NO_SANITIZE("cfi-icall") int CefViewCToCpp::GetHeightForWidth(int width) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -537,8 +570,9 @@ NO_SANITIZE("cfi-icall") void CefViewCToCpp::InvalidateLayout() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout))
|
||||
if (CEF_MEMBER_MISSING(_struct, invalidate_layout)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -550,8 +584,9 @@ NO_SANITIZE("cfi-icall") void CefViewCToCpp::SetVisible(bool visible) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_visible)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -563,8 +598,9 @@ NO_SANITIZE("cfi-icall") bool CefViewCToCpp::IsVisible() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_visible)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -579,8 +615,9 @@ NO_SANITIZE("cfi-icall") bool CefViewCToCpp::IsDrawn() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_drawn)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -595,8 +632,9 @@ NO_SANITIZE("cfi-icall") void CefViewCToCpp::SetEnabled(bool enabled) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_enabled)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -608,8 +646,9 @@ NO_SANITIZE("cfi-icall") bool CefViewCToCpp::IsEnabled() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_enabled)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -624,8 +663,9 @@ NO_SANITIZE("cfi-icall") void CefViewCToCpp::SetFocusable(bool focusable) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_focusable)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -637,8 +677,9 @@ NO_SANITIZE("cfi-icall") bool CefViewCToCpp::IsFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -653,8 +694,9 @@ NO_SANITIZE("cfi-icall") bool CefViewCToCpp::IsAccessibilityFocusable() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_accessibility_focusable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -669,8 +711,9 @@ NO_SANITIZE("cfi-icall") void CefViewCToCpp::RequestFocus() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, request_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -683,8 +726,9 @@ void CefViewCToCpp::SetBackgroundColor(cef_color_t color) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, set_background_color)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -696,8 +740,9 @@ NO_SANITIZE("cfi-icall") cef_color_t CefViewCToCpp::GetBackgroundColor() {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_background_color)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -713,8 +758,9 @@ bool CefViewCToCpp::ConvertPointToScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -730,8 +776,9 @@ bool CefViewCToCpp::ConvertPointFromScreen(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_screen)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -747,8 +794,9 @@ bool CefViewCToCpp::ConvertPointToWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -764,8 +812,9 @@ bool CefViewCToCpp::ConvertPointFromWindow(CefPoint& point) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_window)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@@ -782,15 +831,17 @@ bool CefViewCToCpp::ConvertPointToView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_to_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_to_view(
|
||||
@@ -806,15 +857,17 @@ bool CefViewCToCpp::ConvertPointFromView(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view))
|
||||
if (CEF_MEMBER_MISSING(_struct, convert_point_from_view)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_same
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->convert_point_from_view(
|
||||
|
@@ -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=8f99bf38ab96b2ffa22f43891d01c61f73aafaf3$
|
||||
// $hash=5af9a065bd30e46fad816250442dd6b3d31834fd$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_VIEW_CTOCPP_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=394bf2a5f6f5898787c498b91bcf8375099eae47$
|
||||
// $hash=8d041a69343f5af9338dd705701acbe7f94f425f$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/view_delegate_ctocpp.h"
|
||||
@@ -29,15 +29,17 @@ CefSize CefViewDelegateCToCpp::GetPreferredSize(CefRefPtr<CefView> view) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -52,15 +54,17 @@ CefSize CefViewDelegateCToCpp::GetMinimumSize(CefRefPtr<CefView> view) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -75,15 +79,17 @@ CefSize CefViewDelegateCToCpp::GetMaximumSize(CefRefPtr<CefView> view) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -99,15 +105,17 @@ int CefViewDelegateCToCpp::GetHeightForWidth(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@@ -124,19 +132,22 @@ void CefViewDelegateCToCpp::OnParentViewChanged(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_parent_view_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_parent_view_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: parent; type: refptr_diff
|
||||
DCHECK(parent.get());
|
||||
if (!parent.get())
|
||||
if (!parent.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_parent_view_changed(_struct, CefViewCppToC::Wrap(view), added,
|
||||
@@ -150,19 +161,22 @@ void CefViewDelegateCToCpp::OnChildViewChanged(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_child_view_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_child_view_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: child; type: refptr_diff
|
||||
DCHECK(child.get());
|
||||
if (!child.get())
|
||||
if (!child.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_child_view_changed(_struct, CefViewCppToC::Wrap(view), added,
|
||||
@@ -175,15 +189,17 @@ void CefViewDelegateCToCpp::OnWindowChanged(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_window_changed(_struct, CefViewCppToC::Wrap(view), added);
|
||||
@@ -195,15 +211,17 @@ void CefViewDelegateCToCpp::OnLayoutChanged(CefRefPtr<CefView> view,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_layout_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_layout_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_layout_changed(_struct, CefViewCppToC::Wrap(view), &new_bounds);
|
||||
@@ -214,15 +232,17 @@ void CefViewDelegateCToCpp::OnFocus(CefRefPtr<CefView> view) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_focus(_struct, CefViewCppToC::Wrap(view));
|
||||
@@ -233,15 +253,17 @@ void CefViewDelegateCToCpp::OnBlur(CefRefPtr<CefView> view) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_view_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_blur))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_blur)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_blur(_struct, CefViewCppToC::Wrap(view));
|
||||
|
@@ -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=9202d1b2cd26906df4c5574f9f3a1c662ab2e82f$
|
||||
// $hash=c433d8e9462e7a948338bfe9192f247fdc253614$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_VIEW_DELEGATE_CTOCPP_H_
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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=5afd032b23745d114bc95d45139cf5d92a82f89a$
|
||||
// $hash=a16d73107ffbbcdb06153c0bfcc5e4ac43bbadb0$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_WINDOW_CTOCPP_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=07d3613588fb17a2d07d817a4b1390db3b6cffe7$
|
||||
// $hash=18f601c8e152c39928595e1f02c9274f0dc6ce8a$
|
||||
//
|
||||
|
||||
#include "libcef_dll/ctocpp/views/window_delegate_ctocpp.h"
|
||||
@@ -24,15 +24,17 @@ void CefWindowDelegateCToCpp::OnWindowCreated(CefRefPtr<CefWindow> window) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_window_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_created))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_created)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: window; type: refptr_diff
|
||||
DCHECK(window.get());
|
||||
if (!window.get())
|
||||
if (!window.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_window_created(_struct, CefWindowCppToC::Wrap(window));
|
||||
@@ -43,15 +45,17 @@ void CefWindowDelegateCToCpp::OnWindowClosing(CefRefPtr<CefWindow> window) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_window_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_closing))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_closing)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: window; type: refptr_diff
|
||||
DCHECK(window.get());
|
||||
if (!window.get())
|
||||
if (!window.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_window_closing(_struct, CefWindowCppToC::Wrap(window));
|
||||
@@ -62,15 +66,17 @@ void CefWindowDelegateCToCpp::OnWindowDestroyed(CefRefPtr<CefWindow> window) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_window_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_destroyed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_destroyed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: window; type: refptr_diff
|
||||
DCHECK(window.get());
|
||||
if (!window.get())
|
||||
if (!window.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_window_destroyed(_struct, CefWindowCppToC::Wrap(window));
|
||||
@@ -83,15 +89,17 @@ void CefWindowDelegateCToCpp::OnWindowActivationChanged(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_window_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_activation_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_activation_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: window; type: refptr_diff
|
||||
DCHECK(window.get());
|
||||
if (!window.get())
|
||||
if (!window.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_window_activation_changed(_struct, CefWindowCppToC::Wrap(window),
|
||||
@@ -104,15 +112,17 @@ void CefWindowDelegateCToCpp::OnWindowBoundsChanged(CefRefPtr<CefWindow> window,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_window_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_bounds_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_bounds_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: window; type: refptr_diff
|
||||
DCHECK(window.get());
|
||||
if (!window.get())
|
||||
if (!window.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_window_bounds_changed(_struct, CefWindowCppToC::Wrap(window),
|
||||
@@ -127,23 +137,27 @@ CefRefPtr<CefWindow> CefWindowDelegateCToCpp::GetParentWindow(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_window_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_window))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_parent_window)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: window; type: refptr_diff
|
||||
DCHECK(window.get());
|
||||
if (!window.get())
|
||||
if (!window.get()) {
|
||||
return nullptr;
|
||||
}
|
||||
// Verify param: is_menu; type: bool_byaddr
|
||||
DCHECK(is_menu);
|
||||
if (!is_menu)
|
||||
if (!is_menu) {
|
||||
return nullptr;
|
||||
}
|
||||
// Verify param: can_activate_menu; type: bool_byaddr
|
||||
DCHECK(can_activate_menu);
|
||||
if (!can_activate_menu)
|
||||
if (!can_activate_menu) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Translate param: is_menu; type: bool_byaddr
|
||||
int is_menuInt = is_menu ? *is_menu : 0;
|
||||
@@ -156,11 +170,13 @@ CefRefPtr<CefWindow> CefWindowDelegateCToCpp::GetParentWindow(
|
||||
&is_menuInt, &can_activate_menuInt);
|
||||
|
||||
// Restore param:is_menu; type: bool_byaddr
|
||||
if (is_menu)
|
||||
if (is_menu) {
|
||||
*is_menu = is_menuInt ? true : false;
|
||||
}
|
||||
// Restore param:can_activate_menu; type: bool_byaddr
|
||||
if (can_activate_menu)
|
||||
if (can_activate_menu) {
|
||||
*can_activate_menu = can_activate_menuInt ? true : false;
|
||||
}
|
||||
|
||||
// Return type: refptr_diff
|
||||
return CefWindowCppToC::Unwrap(_retval);
|
||||
@@ -171,15 +187,17 @@ CefRect CefWindowDelegateCToCpp::GetInitialBounds(CefRefPtr<CefWindow> window) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_window_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_initial_bounds))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_initial_bounds)) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: window; type: refptr_diff
|
||||
DCHECK(window.get());
|
||||
if (!window.get())
|
||||
if (!window.get()) {
|
||||
return CefRect();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_rect_t _retval =
|
||||
@@ -195,15 +213,17 @@ cef_show_state_t CefWindowDelegateCToCpp::GetInitialShowState(
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_window_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, get_initial_show_state))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_initial_show_state)) {
|
||||
return CEF_SHOW_STATE_NORMAL;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: window; type: refptr_diff
|
||||
DCHECK(window.get());
|
||||
if (!window.get())
|
||||
if (!window.get()) {
|
||||
return CEF_SHOW_STATE_NORMAL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_show_state_t _retval =
|
||||
@@ -218,15 +238,17 @@ bool CefWindowDelegateCToCpp::IsFrameless(CefRefPtr<CefWindow> window) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_window_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, is_frameless))
|
||||
if (CEF_MEMBER_MISSING(_struct, is_frameless)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: window; type: refptr_diff
|
||||
DCHECK(window.get());
|
||||
if (!window.get())
|
||||
if (!window.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->is_frameless(_struct, CefWindowCppToC::Wrap(window));
|
||||
@@ -240,15 +262,17 @@ bool CefWindowDelegateCToCpp::CanResize(CefRefPtr<CefWindow> window) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_window_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, can_resize))
|
||||
if (CEF_MEMBER_MISSING(_struct, can_resize)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: window; type: refptr_diff
|
||||
DCHECK(window.get());
|
||||
if (!window.get())
|
||||
if (!window.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->can_resize(_struct, CefWindowCppToC::Wrap(window));
|
||||
@@ -262,15 +286,17 @@ bool CefWindowDelegateCToCpp::CanMaximize(CefRefPtr<CefWindow> window) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_window_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, can_maximize))
|
||||
if (CEF_MEMBER_MISSING(_struct, can_maximize)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: window; type: refptr_diff
|
||||
DCHECK(window.get());
|
||||
if (!window.get())
|
||||
if (!window.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->can_maximize(_struct, CefWindowCppToC::Wrap(window));
|
||||
@@ -284,15 +310,17 @@ bool CefWindowDelegateCToCpp::CanMinimize(CefRefPtr<CefWindow> window) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_window_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, can_minimize))
|
||||
if (CEF_MEMBER_MISSING(_struct, can_minimize)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: window; type: refptr_diff
|
||||
DCHECK(window.get());
|
||||
if (!window.get())
|
||||
if (!window.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->can_minimize(_struct, CefWindowCppToC::Wrap(window));
|
||||
@@ -306,15 +334,17 @@ bool CefWindowDelegateCToCpp::CanClose(CefRefPtr<CefWindow> window) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_window_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, can_close))
|
||||
if (CEF_MEMBER_MISSING(_struct, can_close)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: window; type: refptr_diff
|
||||
DCHECK(window.get());
|
||||
if (!window.get())
|
||||
if (!window.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->can_close(_struct, CefWindowCppToC::Wrap(window));
|
||||
@@ -329,15 +359,17 @@ bool CefWindowDelegateCToCpp::OnAccelerator(CefRefPtr<CefWindow> window,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_window_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_accelerator))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_accelerator)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: window; type: refptr_diff
|
||||
DCHECK(window.get());
|
||||
if (!window.get())
|
||||
if (!window.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval = _struct->on_accelerator(_struct, CefWindowCppToC::Wrap(window),
|
||||
@@ -353,15 +385,17 @@ bool CefWindowDelegateCToCpp::OnKeyEvent(CefRefPtr<CefWindow> window,
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
cef_window_delegate_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_key_event))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_key_event)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: window; type: refptr_diff
|
||||
DCHECK(window.get());
|
||||
if (!window.get())
|
||||
if (!window.get()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@@ -377,15 +411,17 @@ CefSize CefWindowDelegateCToCpp::GetPreferredSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_preferred_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -401,15 +437,17 @@ CefSize CefWindowDelegateCToCpp::GetMinimumSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_minimum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -425,15 +463,17 @@ CefSize CefWindowDelegateCToCpp::GetMaximumSize(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_maximum_size)) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return CefSize();
|
||||
}
|
||||
|
||||
// Execute
|
||||
cef_size_t _retval =
|
||||
@@ -450,15 +490,17 @@ int CefWindowDelegateCToCpp::GetHeightForWidth(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width))
|
||||
if (CEF_MEMBER_MISSING(_struct, get_height_for_width)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int _retval =
|
||||
@@ -476,19 +518,22 @@ void CefWindowDelegateCToCpp::OnParentViewChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_parent_view_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_parent_view_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: parent; type: refptr_diff
|
||||
DCHECK(parent.get());
|
||||
if (!parent.get())
|
||||
if (!parent.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_parent_view_changed(_struct, CefViewCppToC::Wrap(view), added,
|
||||
@@ -503,19 +548,22 @@ void CefWindowDelegateCToCpp::OnChildViewChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_child_view_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_child_view_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
// Verify param: child; type: refptr_diff
|
||||
DCHECK(child.get());
|
||||
if (!child.get())
|
||||
if (!child.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_child_view_changed(_struct, CefViewCppToC::Wrap(view), added,
|
||||
@@ -529,15 +577,17 @@ void CefWindowDelegateCToCpp::OnWindowChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_window_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_window_changed(_struct, CefViewCppToC::Wrap(view), added);
|
||||
@@ -550,15 +600,17 @@ void CefWindowDelegateCToCpp::OnLayoutChanged(CefRefPtr<CefView> view,
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_layout_changed))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_layout_changed)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_layout_changed(_struct, CefViewCppToC::Wrap(view), &new_bounds);
|
||||
@@ -570,15 +622,17 @@ void CefWindowDelegateCToCpp::OnFocus(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_focus))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_focus)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_focus(_struct, CefViewCppToC::Wrap(view));
|
||||
@@ -590,15 +644,17 @@ void CefWindowDelegateCToCpp::OnBlur(CefRefPtr<CefView> view) {
|
||||
|
||||
cef_view_delegate_t* _struct =
|
||||
reinterpret_cast<cef_view_delegate_t*>(GetStruct());
|
||||
if (CEF_MEMBER_MISSING(_struct, on_blur))
|
||||
if (CEF_MEMBER_MISSING(_struct, on_blur)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: view; type: refptr_diff
|
||||
DCHECK(view.get());
|
||||
if (!view.get())
|
||||
if (!view.get()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
_struct->on_blur(_struct, CefViewCppToC::Wrap(view));
|
||||
|
@@ -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=a7d0db45a4032026a7235d653b3cfed9929ad519$
|
||||
// $hash=1a923e68b1e07234f97d3c219cc70cc91c118a77$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_WINDOW_DELEGATE_CTOCPP_H_
|
||||
|
Reference in New Issue
Block a user