diff options
Diffstat (limited to 'chrome/worker')
-rw-r--r-- | chrome/worker/worker_webkitclient_impl.cc | 11 | ||||
-rw-r--r-- | chrome/worker/worker_webkitclient_impl.h | 6 |
2 files changed, 14 insertions, 3 deletions
diff --git a/chrome/worker/worker_webkitclient_impl.cc b/chrome/worker/worker_webkitclient_impl.cc index 048bda0..1645fa8 100644 --- a/chrome/worker/worker_webkitclient_impl.cc +++ b/chrome/worker/worker_webkitclient_impl.cc @@ -6,6 +6,7 @@ #include "base/logging.h" #include "chrome/common/database_util.h" +#include "chrome/common/file_system/webfilesystem_impl.h" #include "chrome/common/render_messages.h" #include "chrome/common/render_messages_params.h" #include "chrome/common/webblobregistry_impl.h" @@ -27,6 +28,12 @@ using WebKit::WebStorageNamespace; using WebKit::WebString; using WebKit::WebURL; +WorkerWebKitClientImpl::WorkerWebKitClientImpl() { +} + +WorkerWebKitClientImpl::~WorkerWebKitClientImpl() { +} + WebClipboard* WorkerWebKitClientImpl::clipboard() { NOTREACHED(); return NULL; @@ -149,8 +156,8 @@ WebMimeRegistry::SupportsType WorkerWebKitClientImpl::supportsImageMIMEType( return WebMimeRegistry::IsSupported; } -WebMimeRegistry::SupportsType WorkerWebKitClientImpl::supportsJavaScriptMIMEType( - const WebString&) { +WebMimeRegistry::SupportsType +WorkerWebKitClientImpl::supportsJavaScriptMIMEType(const WebString&) { NOTREACHED(); return WebMimeRegistry::IsSupported; } diff --git a/chrome/worker/worker_webkitclient_impl.h b/chrome/worker/worker_webkitclient_impl.h index 16845ab..e5b3ec6 100644 --- a/chrome/worker/worker_webkitclient_impl.h +++ b/chrome/worker/worker_webkitclient_impl.h @@ -7,14 +7,18 @@ #pragma once #include "base/scoped_ptr.h" -#include "chrome/common/file_system/webfilesystem_impl.h" #include "third_party/WebKit/WebKit/chromium/public/WebMimeRegistry.h" #include "webkit/glue/webfileutilities_impl.h" #include "webkit/glue/webkitclient_impl.h" +class WebFileSystemImpl; + class WorkerWebKitClientImpl : public webkit_glue::WebKitClientImpl, public WebKit::WebMimeRegistry { public: + WorkerWebKitClientImpl(); + virtual ~WorkerWebKitClientImpl(); + // WebKitClient methods: virtual WebKit::WebClipboard* clipboard(); virtual WebKit::WebMimeRegistry* mimeRegistry(); |