mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add CefFrame::PasteAndMatchStyle
This commit is contained in:
committed by
Marshall Greenblatt
parent
fc20e76d3b
commit
a787036a8a
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=1edf2a7d9f2dc18f4422c9651554577735b83b66$
|
||||
// $hash=78b6ea5be9077164a1d7ea6143601040b124f1c0$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/frame_cpptoc.h"
|
||||
@@ -115,6 +115,20 @@ void CEF_CALLBACK frame_paste(struct _cef_frame_t* self) {
|
||||
CefFrameCppToC::Get(self)->Paste();
|
||||
}
|
||||
|
||||
void CEF_CALLBACK frame_paste_and_match_style(struct _cef_frame_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Execute
|
||||
CefFrameCppToC::Get(self)->PasteAndMatchStyle();
|
||||
}
|
||||
|
||||
void CEF_CALLBACK frame_del(struct _cef_frame_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
@@ -486,6 +500,7 @@ CefFrameCppToC::CefFrameCppToC() {
|
||||
GetStruct()->cut = frame_cut;
|
||||
GetStruct()->copy = frame_copy;
|
||||
GetStruct()->paste = frame_paste;
|
||||
GetStruct()->paste_and_match_style = frame_paste_and_match_style;
|
||||
GetStruct()->del = frame_del;
|
||||
GetStruct()->select_all = frame_select_all;
|
||||
GetStruct()->view_source = frame_view_source;
|
||||
|
@@ -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();
|
||||
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user