mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
libcef: Update due to underlying chromium changes.
- WebKit API changes. - Delay OnClose actions in WebSocketStreamHandleBridgeImpl. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@63 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "webkit/extensions/v8/interval_extension.h"
|
||||
#include "webkit/api/public/WebCString.h"
|
||||
#include "webkit/api/public/WebData.h"
|
||||
#include "webkit/api/public/WebRuntimeFeatures.h"
|
||||
#include "webkit/api/public/WebKit.h"
|
||||
#include "webkit/api/public/WebScriptController.h"
|
||||
#include "webkit/api/public/WebSecurityPolicy.h"
|
||||
@@ -50,14 +51,13 @@ class BrowserWebKitInit : public webkit_glue::WebKitClientImpl {
|
||||
extensions_v8::GearsExtension::Get());
|
||||
WebKit::WebScriptController::registerExtension(
|
||||
extensions_v8::IntervalExtension::Get());
|
||||
WebKit::enableWebSockets();
|
||||
WebKit::WebRuntimeFeatures::enableSockets(true);
|
||||
|
||||
// Load libraries for media and enable the media player.
|
||||
FilePath module_path;
|
||||
if (PathService::Get(base::DIR_MODULE, &module_path) &&
|
||||
media::InitializeMediaLibrary(module_path)) {
|
||||
WebKit::enableMediaPlayer();
|
||||
}
|
||||
WebKit::WebRuntimeFeatures::enableMediaPlayer(
|
||||
PathService::Get(base::DIR_MODULE, &module_path) &&
|
||||
media::InitializeMediaLibrary(module_path));
|
||||
|
||||
// Construct and initialize an appcache system for this scope.
|
||||
// A new empty temp directory is created to house any cached
|
||||
@@ -200,7 +200,11 @@ class BrowserWebKitInit : public webkit_glue::WebKitClientImpl {
|
||||
return BrowserAppCacheSystem::CreateApplicationCacheHost(client);
|
||||
}
|
||||
|
||||
private:
|
||||
virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
private:
|
||||
webkit_glue::SimpleWebMimeRegistryImpl mime_registry_;
|
||||
webkit_glue::WebClipboardImpl clipboard_;
|
||||
ScopedTempDir appcache_dir_;
|
||||
|
Reference in New Issue
Block a user