diff options
author | jianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 22:06:43 +0000 |
---|---|---|
committer | jianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 22:06:43 +0000 |
commit | d9056166ac600fd4c261d81a9da1f5ba855e6bd8 (patch) | |
tree | 148e4e04c47a1c0b65dbd3f022040259e85acfb9 /chrome/worker/worker_webkitclient_impl.h | |
parent | 1a616d92fc1bdafcceda50939e6a5b72f4885a98 (diff) | |
download | chromium_src-d9056166ac600fd4c261d81a9da1f5ba855e6bd8.zip chromium_src-d9056166ac600fd4c261d81a9da1f5ba855e6bd8.tar.gz chromium_src-d9056166ac600fd4c261d81a9da1f5ba855e6bd8.tar.bz2 |
Hook up WebKit worker with Chromium.
Review URL: http://codereview.chromium.org/39147
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11046 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/worker/worker_webkitclient_impl.h')
-rw-r--r-- | chrome/worker/worker_webkitclient_impl.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/chrome/worker/worker_webkitclient_impl.h b/chrome/worker/worker_webkitclient_impl.h new file mode 100644 index 0000000..e8b9a73 --- /dev/null +++ b/chrome/worker/worker_webkitclient_impl.h @@ -0,0 +1,23 @@ +// Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this +// source code is governed by a BSD-style license that can be found in the +// LICENSE file. + +#ifndef CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_ +#define CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_ + +#include "webkit/glue/webkitclient_impl.h" + +class WorkerWebKitClientImpl : public webkit_glue::WebKitClientImpl { + public: + // WebKitClient methods: + virtual WebKit::WebMimeRegistry* mimeRegistry(); + virtual void setCookies(const WebKit::WebURL& url, + const WebKit::WebURL& policy_url, + const WebKit::WebString& value); + virtual WebKit::WebString cookies(const WebKit::WebURL& url, + const WebKit::WebURL& policy_url); + virtual void prefetchHostName(const WebKit::WebString&); + virtual WebKit::WebString defaultLocale(); +}; + +#endif // CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_ |