diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-04 23:11:19 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-04 23:11:19 +0000 |
commit | 9b2331d912b0a15c3eef290eaa617c54a87dc68e (patch) | |
tree | 6ca5f0248ce754b74b39112c17c2d9726c004e79 /chrome/worker | |
parent | 9f1e5d235d5bdb3a0fe626fe47f5468cddaf75e4 (diff) | |
download | chromium_src-9b2331d912b0a15c3eef290eaa617c54a87dc68e.zip chromium_src-9b2331d912b0a15c3eef290eaa617c54a87dc68e.tar.gz chromium_src-9b2331d912b0a15c3eef290eaa617c54a87dc68e.tar.bz2 |
Reapply r61237: FBTF: Another big ctor/dtor cleanup found by automated tools.
Removes changes to code in webkit/ that broke chrome_frame. Will debug that portion later.
(Shaves ~2MB off Linux Debug .a files)
BUG=none
TEST=compiles
First Review URL: http://codereview.chromium.org/3563004
Review URL: http://codereview.chromium.org/3621003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61435 0039d316-1c4b-4281-b951-d872f2087c98
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(); |