mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 80310.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@213 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -15,14 +15,13 @@
|
||||
#include "browser_webstoragenamespace_impl.h"
|
||||
|
||||
#include "base/file_util.h"
|
||||
#include "base/memory/scoped_temp_dir.h"
|
||||
#include "base/metrics/stats_counters.h"
|
||||
#include "base/path_service.h"
|
||||
#include "base/scoped_temp_dir.h"
|
||||
#include "base/utf_string_conversions.h"
|
||||
#include "media/base/media.h"
|
||||
#include "webkit/appcache/web_application_cache_host_impl.h"
|
||||
#include "webkit/database/vfs_backend.h"
|
||||
#include "webkit/extensions/v8/gears_extension.h"
|
||||
#include "third_party/WebKit/Source/WebKit/chromium/public/WebData.h"
|
||||
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h"
|
||||
#include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h"
|
||||
@ -52,12 +51,9 @@ class BrowserWebKitInit : public webkit_glue::WebKitClientImpl {
|
||||
|
||||
WebKit::initialize(this);
|
||||
WebKit::setLayoutTestMode(false);
|
||||
WebKit::WebScriptController::registerExtension(
|
||||
extensions_v8::GearsExtension::Get());
|
||||
WebKit::WebRuntimeFeatures::enableSockets(true);
|
||||
WebKit::WebRuntimeFeatures::enableApplicationCache(true);
|
||||
WebKit::WebRuntimeFeatures::enableDatabase(true);
|
||||
WebKit::WebRuntimeFeatures::enableWebGL(true);
|
||||
WebKit::WebRuntimeFeatures::enablePushState(true);
|
||||
WebKit::WebRuntimeFeatures::enableNotifications(false);
|
||||
WebKit::WebRuntimeFeatures::enableTouch(true);
|
||||
@ -228,6 +224,14 @@ class BrowserWebKitInit : public webkit_glue::WebKitClientImpl {
|
||||
keys_out.swap(keys);
|
||||
}
|
||||
|
||||
virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue(
|
||||
const WebKit::WebIDBKey& key,
|
||||
const WebKit::WebSerializedScriptValue& value,
|
||||
const WebKit::WebString& keyPath) {
|
||||
return WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue(
|
||||
key, value, WebKit::WebIDBKeyPath::create(keyPath));
|
||||
}
|
||||
|
||||
virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D() {
|
||||
return new webkit::gpu::WebGraphicsContext3DInProcessImpl();
|
||||
}
|
||||
|
Reference in New Issue
Block a user