Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: chrome/worker/worker_webkitclient_impl.h

Issue 340036: Initial pass of shared workers renderer-side code (Closed)
Patch Set: Changes reflecting review feedback Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_ 5 #ifndef CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_
6 #define CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_ 6 #define CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_
7 7
8 #include "webkit/glue/webkitclient_impl.h" 8 #include "webkit/glue/webkitclient_impl.h"
9 9
10 class WorkerWebKitClientImpl : public webkit_glue::WebKitClientImpl { 10 class WorkerWebKitClientImpl : public webkit_glue::WebKitClientImpl {
11 public: 11 public:
12 // WebKitClient methods: 12 // WebKitClient methods:
13 virtual WebKit::WebClipboard* clipboard(); 13 virtual WebKit::WebClipboard* clipboard();
14 virtual WebKit::WebMimeRegistry* mimeRegistry(); 14 virtual WebKit::WebMimeRegistry* mimeRegistry();
15 virtual WebKit::WebSandboxSupport* sandboxSupport(); 15 virtual WebKit::WebSandboxSupport* sandboxSupport();
16 virtual bool sandboxEnabled(); 16 virtual bool sandboxEnabled();
17 virtual unsigned long long visitedLinkHash(const char* canonicalURL, 17 virtual unsigned long long visitedLinkHash(const char* canonicalURL,
18 size_t length); 18 size_t length);
19 virtual bool isLinkVisited(unsigned long long linkHash); 19 virtual bool isLinkVisited(unsigned long long linkHash);
20 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); 20 virtual WebKit::WebMessagePortChannel* createMessagePortChannel();
21 virtual void setCookies(const WebKit::WebURL& url, 21 virtual void setCookies(const WebKit::WebURL& url,
22 const WebKit::WebURL& policy_url, 22 const WebKit::WebURL& policy_url,
23 const WebKit::WebString& value); 23 const WebKit::WebString& value);
24 virtual WebKit::WebString cookies(const WebKit::WebURL& url, 24 virtual WebKit::WebString cookies(const WebKit::WebURL& url,
25 const WebKit::WebURL& policy_url); 25 const WebKit::WebURL& policy_url);
26 virtual void prefetchHostName(const WebKit::WebString&); 26 virtual void prefetchHostName(const WebKit::WebString&);
27 virtual bool getFileSize(const WebKit::WebString& path, long long& result); 27 virtual bool getFileSize(const WebKit::WebString& path, long long& result);
28 virtual WebKit::WebString defaultLocale(); 28 virtual WebKit::WebString defaultLocale();
29 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository();
29 }; 30 };
30 31
31 #endif // CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_ 32 #endif // CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698