1 // Copyright (c) 2021 The Chromium Embedded Framework Authors. All rights 2 // reserved. Use of this source code is governed by a BSD-style license that 3 // can be found in the LICENSE file. 4 // 5 // --------------------------------------------------------------------------- 6 // 7 // This file was generated by the CEF translator tool. If making changes by 8 // hand only do so within the body of existing method and function 9 // implementations. See the translator.README.txt file in the tools directory 10 // for more information. 11 // 12 // $hash=5be7390f9203b4e881de1fcb69f835f19818a2f3$ 13 // 14 15 #include "libcef_dll/ctocpp/print_job_callback_ctocpp.h" 16 #include "libcef_dll/shutdown_checker.h" 17 18 // VIRTUAL METHODS - Body may be edited by hand. 19 Continue()20NO_SANITIZE("cfi-icall") void CefPrintJobCallbackCToCpp::Continue() { 21 shutdown_checker::AssertNotShutdown(); 22 23 cef_print_job_callback_t* _struct = GetStruct(); 24 if (CEF_MEMBER_MISSING(_struct, cont)) 25 return; 26 27 // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING 28 29 // Execute 30 _struct->cont(_struct); 31 } 32 33 // CONSTRUCTOR - Do not edit by hand. 34 CefPrintJobCallbackCToCpp()35CefPrintJobCallbackCToCpp::CefPrintJobCallbackCToCpp() {} 36 37 // DESTRUCTOR - Do not edit by hand. 38 ~CefPrintJobCallbackCToCpp()39CefPrintJobCallbackCToCpp::~CefPrintJobCallbackCToCpp() { 40 shutdown_checker::AssertNotShutdown(); 41 } 42 43 template <> 44 cef_print_job_callback_t* CefCToCppRefCounted< 45 CefPrintJobCallbackCToCpp, 46 CefPrintJobCallback, UnwrapDerived(CefWrapperType type,CefPrintJobCallback * c)47 cef_print_job_callback_t>::UnwrapDerived(CefWrapperType type, 48 CefPrintJobCallback* c) { 49 NOTREACHED() << "Unexpected class type: " << type; 50 return nullptr; 51 } 52 53 template <> 54 CefWrapperType CefCToCppRefCounted<CefPrintJobCallbackCToCpp, 55 CefPrintJobCallback, 56 cef_print_job_callback_t>::kWrapperType = 57 WT_PRINT_JOB_CALLBACK; 58