diff options
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_ |