2012-09-28 22:14:02 +02:00
|
|
|
// Copyright (c) 2012 The Chromium Embedded Framework Authors. All rights
|
|
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
|
|
// can be found in the LICENSE file.
|
|
|
|
|
|
|
|
#ifndef CEF_LIBCEF_BROWSER_WEB_PLUGIN_IMPL_H_
|
|
|
|
#define CEF_LIBCEF_BROWSER_WEB_PLUGIN_IMPL_H_
|
|
|
|
#pragma once
|
|
|
|
|
2013-07-24 22:15:18 +02:00
|
|
|
#include "content/public/common/webplugininfo.h"
|
2017-05-17 11:29:28 +02:00
|
|
|
#include "include/cef_web_plugin.h"
|
2012-09-28 22:14:02 +02:00
|
|
|
|
|
|
|
class CefWebPluginInfoImpl : public CefWebPluginInfo {
|
|
|
|
public:
|
2013-07-24 22:15:18 +02:00
|
|
|
explicit CefWebPluginInfoImpl(const content::WebPluginInfo& plugin_info);
|
2012-09-28 22:14:02 +02:00
|
|
|
|
2014-11-12 20:25:15 +01:00
|
|
|
CefString GetName() override;
|
|
|
|
CefString GetPath() override;
|
|
|
|
CefString GetVersion() override;
|
|
|
|
CefString GetDescription() override;
|
2012-09-28 22:14:02 +02:00
|
|
|
|
|
|
|
private:
|
2013-07-24 22:15:18 +02:00
|
|
|
content::WebPluginInfo plugin_info_;
|
2012-09-28 22:14:02 +02:00
|
|
|
|
|
|
|
IMPLEMENT_REFCOUNTING(CefWebPluginInfoImpl);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CEF_LIBCEF_BROWSER_WEB_PLUGIN_IMPL_H_
|