| OLD | NEW |
| 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_BROWSER_IN_PROCESS_WEBKIT_WEBKIT_CLIENT_IMPL_H_ | 5 #ifndef CHROME_BROWSER_IN_PROCESS_WEBKIT_WEBKIT_CLIENT_IMPL_H_ |
| 6 #define CHROME_BROWSER_IN_PROCESS_WEBKIT_WEBKIT_CLIENT_IMPL_H_ | 6 #define CHROME_BROWSER_IN_PROCESS_WEBKIT_WEBKIT_CLIENT_IMPL_H_ |
| 7 | 7 |
| 8 #include "webkit/glue/webkitclient_impl.h" | 8 #include "webkit/glue/webkitclient_impl.h" |
| 9 | 9 |
| 10 class BrowserWebKitClientImpl : public webkit_glue::WebKitClientImpl { | 10 class BrowserWebKitClientImpl : 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 WebKit::WebString defaultLocale(); | 27 virtual WebKit::WebString defaultLocale(); |
| 28 virtual WebKit::WebThemeEngine* themeEngine(); | 28 virtual WebKit::WebThemeEngine* themeEngine(); |
| 29 virtual WebKit::WebURLLoader* createURLLoader(); | 29 virtual WebKit::WebURLLoader* createURLLoader(); |
| 30 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); |
| 30 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); | 31 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); |
| 31 virtual WebKit::WebData loadResource(const char* name); | 32 virtual WebKit::WebData loadResource(const char* name); |
| 32 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 33 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( |
| 33 const WebKit::WebString& path); | 34 const WebKit::WebString& path); |
| 34 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(); | 35 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(); |
| 35 virtual void dispatchStorageEvent(const WebKit::WebString& key, | 36 virtual void dispatchStorageEvent(const WebKit::WebString& key, |
| 36 const WebKit::WebString& oldValue, const WebKit::WebString& newValue, | 37 const WebKit::WebString& oldValue, const WebKit::WebString& newValue, |
| 37 const WebKit::WebString& origin, bool isLocalStorage); | 38 const WebKit::WebString& origin, bool isLocalStorage); |
| 38 }; | 39 }; |
| 39 | 40 |
| 40 #endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_WEBKIT_CLIENT_IMPL_H_ | 41 #endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_WEBKIT_CLIENT_IMPL_H_ |
| OLD | NEW |