1 // Copyright (c) 2017 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.
5 // ---------------------------------------------------------------------------
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.
13 #include "libcef_dll/ctocpp/request_callback_ctocpp.h"
16 // VIRTUAL METHODS - Body may be edited by hand.
18 void CefRequestCallbackCToCpp::Continue(bool allow) {
19 cef_request_callback_t* _struct = GetStruct();
20 if (CEF_MEMBER_MISSING(_struct, cont))
23 // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
26 _struct->cont(_struct,
30 void CefRequestCallbackCToCpp::Cancel() {
31 cef_request_callback_t* _struct = GetStruct();
32 if (CEF_MEMBER_MISSING(_struct, cancel))
35 // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
38 _struct->cancel(_struct);
42 // CONSTRUCTOR - Do not edit by hand.
44 CefRequestCallbackCToCpp::CefRequestCallbackCToCpp() {
47 template<> cef_request_callback_t* CefCToCppRefCounted<CefRequestCallbackCToCpp,
48 CefRequestCallback, cef_request_callback_t>::UnwrapDerived(
49 CefWrapperType type, CefRequestCallback* c) {
50 NOTREACHED() << "Unexpected class type: " << type;
55 template<> base::AtomicRefCount CefCToCppRefCounted<CefRequestCallbackCToCpp,
56 CefRequestCallback, cef_request_callback_t>::DebugObjCt = 0;
59 template<> CefWrapperType CefCToCppRefCounted<CefRequestCallbackCToCpp,
60 CefRequestCallback, cef_request_callback_t>::kWrapperType =