mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add new CefRequestHandler::OnBeforePluginLoad callback and functions for controlling plugin loading and life span (issue #645).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@822 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
27
libcef/browser/web_plugin_impl.h
Normal file
27
libcef/browser/web_plugin_impl.h
Normal file
@ -0,0 +1,27 @@
|
||||
// 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
|
||||
|
||||
#include "include/cef_web_plugin.h"
|
||||
#include "webkit/plugins/webplugininfo.h"
|
||||
|
||||
class CefWebPluginInfoImpl : public CefWebPluginInfo {
|
||||
public:
|
||||
explicit CefWebPluginInfoImpl(const webkit::WebPluginInfo& plugin_info);
|
||||
|
||||
virtual CefString GetName() OVERRIDE;
|
||||
virtual CefString GetPath() OVERRIDE;
|
||||
virtual CefString GetVersion() OVERRIDE;
|
||||
virtual CefString GetDescription() OVERRIDE;
|
||||
|
||||
private:
|
||||
webkit::WebPluginInfo plugin_info_;
|
||||
|
||||
IMPLEMENT_REFCOUNTING(CefWebPluginInfoImpl);
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_BROWSER_WEB_PLUGIN_IMPL_H_
|
Reference in New Issue
Block a user