mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
libcef: Update due to underlying chromium changes.
- Canvas classes moved from gfx namespace to skia namespace. - Include files moved from WebKit/port to third_party/WebKit. - Add IsMediaPlayerAvailable() webkit_glue function. - WebWidgetDelegate::GetContainingWindow() changed to WebWidgetDelegate::GetContainingView(). - Changed HCURSOR to WebCursor and HWND to gfx::NativeWindow. - WebPluginInfo 'file' member changed to 'path'. - Use base::LazyInstance for static object in BrowserPluginInstance (should be done at some point for BrowserPluginLib and BrowserPluginList as well). - BrowserPluginStream::Open() adds additional 'request_is_seekable' parameter. - Add PLUGIN_QUIRK_PATCH_SETCURSOR support to BrowserWebPluginDelegateImpl. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@6 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -48,7 +48,7 @@ BrowserPluginLib::BrowserPluginLib(WebPluginInfo* info,
|
||||
instance_count_(0) {
|
||||
memset((void*)&plugin_funcs_, 0, sizeof(plugin_funcs_));
|
||||
|
||||
(*loaded_libs_)[info->file] = this;
|
||||
(*loaded_libs_)[info->path.BaseName().value()] = this;
|
||||
}
|
||||
|
||||
BrowserPluginLib::~BrowserPluginLib() {
|
||||
@ -121,7 +121,7 @@ void BrowserPluginLib::CloseInstance() {
|
||||
if (instance_count_ == 0) {
|
||||
NP_Shutdown();
|
||||
initialized_ = false;
|
||||
loaded_libs_->erase(web_plugin_info_->file);
|
||||
loaded_libs_->erase(web_plugin_info_->path.BaseName().value());
|
||||
if (loaded_libs_->empty()) {
|
||||
delete loaded_libs_;
|
||||
loaded_libs_ = NULL;
|
||||
@ -145,7 +145,7 @@ WebPluginInfo* BrowserPluginLib::CreateWebPluginInfo(const CefPluginVersionInfo&
|
||||
info->name = plugin_info.product_name;
|
||||
info->desc = plugin_info.description;
|
||||
info->version = plugin_info.version;
|
||||
info->file = StringToLowerASCII(plugin_info.unique_name);
|
||||
info->path = FilePath(plugin_info.unique_name);
|
||||
|
||||
for (size_t i = 0; i < mime_types.size(); ++i) {
|
||||
WebPluginMimeType mime_type;
|
||||
|
Reference in New Issue
Block a user