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/cpptoc/web_plugin_info_visitor_cpptoc.h"
14 #include "libcef_dll/ctocpp/web_plugin_info_ctocpp.h"
19 // MEMBER FUNCTIONS - Body may be edited by hand.
21 int CEF_CALLBACK web_plugin_info_visitor_visit(
22 struct _cef_web_plugin_info_visitor_t* self, cef_web_plugin_info_t* info,
23 int count, int total) {
24 // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
29 // Verify param: info; type: refptr_diff
35 bool _retval = CefWebPluginInfoVisitorCppToC::Get(self)->Visit(
36 CefWebPluginInfoCToCpp::Wrap(info),
47 // CONSTRUCTOR - Do not edit by hand.
49 CefWebPluginInfoVisitorCppToC::CefWebPluginInfoVisitorCppToC() {
50 GetStruct()->visit = web_plugin_info_visitor_visit;
53 template<> CefRefPtr<CefWebPluginInfoVisitor> CefCppToCRefCounted<CefWebPluginInfoVisitorCppToC,
54 CefWebPluginInfoVisitor, cef_web_plugin_info_visitor_t>::UnwrapDerived(
55 CefWrapperType type, cef_web_plugin_info_visitor_t* s) {
56 NOTREACHED() << "Unexpected class type: " << type;
61 template<> base::AtomicRefCount CefCppToCRefCounted<CefWebPluginInfoVisitorCppToC,
62 CefWebPluginInfoVisitor, cef_web_plugin_info_visitor_t>::DebugObjCt = 0;
65 template<> CefWrapperType CefCppToCRefCounted<CefWebPluginInfoVisitorCppToC,
66 CefWebPluginInfoVisitor, cef_web_plugin_info_visitor_t>::kWrapperType =
67 WT_WEB_PLUGIN_INFO_VISITOR;