1 // Copyright (c) 2012 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 #ifndef CEF_LIBCEF_BROWSER_WEB_PLUGIN_IMPL_H_ 6 #define CEF_LIBCEF_BROWSER_WEB_PLUGIN_IMPL_H_ 7 #pragma once 8 9 #include "content/public/common/webplugininfo.h" 10 #include "include/cef_web_plugin.h" 11 12 class CefWebPluginInfoImpl : public CefWebPluginInfo { 13 public: 14 explicit CefWebPluginInfoImpl(const content::WebPluginInfo& plugin_info); 15 16 CefString GetName() override; 17 CefString GetPath() override; 18 CefString GetVersion() override; 19 CefString GetDescription() override; 20 21 private: 22 content::WebPluginInfo plugin_info_; 23 24 IMPLEMENT_REFCOUNTING(CefWebPluginInfoImpl); 25 }; 26 27 #endif // CEF_LIBCEF_BROWSER_WEB_PLUGIN_IMPL_H_ 28