Add CefFrame::PasteAndMatchStyle

This commit is contained in:
Michael Bragg
2024-10-18 14:49:52 -04:00
committed by Marshall Greenblatt
parent fc20e76d3b
commit a787036a8a
12 changed files with 68 additions and 10 deletions

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=2422c489d40f44ad21b8f80d284ec6375ae93689$
// $hash=d5d7d1577311729c9db2209af72abc2e0126dfa5$
//
#include "libcef_dll/ctocpp/frame_ctocpp.h"
@@ -113,6 +113,20 @@ NO_SANITIZE("cfi-icall") void CefFrameCToCpp::Paste() {
_struct->paste(_struct);
}
NO_SANITIZE("cfi-icall") void CefFrameCToCpp::PasteAndMatchStyle() {
shutdown_checker::AssertNotShutdown();
cef_frame_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, paste_and_match_style)) {
return;
}
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Execute
_struct->paste_and_match_style(_struct);
}
NO_SANITIZE("cfi-icall") void CefFrameCToCpp::Delete() {
shutdown_checker::AssertNotShutdown();

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=c70637482d64cbe5fd1bea33bf18950594a50dac$
// $hash=15ea4aa67b0535061854dc3a10c72fb10581157b$
//
#ifndef CEF_LIBCEF_DLL_CTOCPP_FRAME_CTOCPP_H_
@@ -45,6 +45,7 @@ class CefFrameCToCpp
void Cut() override;
void Copy() override;
void Paste() override;
void PasteAndMatchStyle() override;
void Delete() override;
void SelectAll() override;
void ViewSource() override;