| 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 unsigned long long visitedLinkHash(const char* canonicalURL, |  17   virtual unsigned long long visitedLinkHash(const char* canonicalURL, | 
|  17                                              size_t length); |  18                                              size_t length); | 
|  18   virtual bool isLinkVisited(unsigned long long linkHash); |  19   virtual bool isLinkVisited(unsigned long long linkHash); | 
|  19   virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); |  20   virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); | 
|  20   virtual void setCookies(const WebKit::WebURL& url, |  21   virtual void setCookies(const WebKit::WebURL& url, | 
|  21                           const WebKit::WebURL& policy_url, |  22                           const WebKit::WebURL& policy_url, | 
|  22                           const WebKit::WebString& value); |  23                           const WebKit::WebString& value); | 
|  23   virtual WebKit::WebString cookies(const WebKit::WebURL& url, |  24   virtual WebKit::WebString cookies(const WebKit::WebURL& url, | 
|  24                                     const WebKit::WebURL& policy_url); |  25                                     const WebKit::WebURL& policy_url); | 
|  25   virtual void prefetchHostName(const WebKit::WebString&); |  26   virtual void prefetchHostName(const WebKit::WebString&); | 
|  26   virtual bool getFileSize(const WebKit::WebString& path, long long& result); |  | 
|  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 void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); |  30   virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); | 
|  31   virtual WebKit::WebData loadResource(const char* name); |  31   virtual WebKit::WebData loadResource(const char* name); | 
|  32   virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( |  32   virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 
|  33       const WebKit::WebString& path); |  33       const WebKit::WebString& path); | 
|  34   virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(); |  34   virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(); | 
|  35 }; |  35 }; | 
|  36  |  36  | 
|  37 #endif  // CHROME_BROWSER_IN_PROCESS_WEBKIT_WEBKIT_CLIENT_IMPL_H_ |  37 #endif  // CHROME_BROWSER_IN_PROCESS_WEBKIT_WEBKIT_CLIENT_IMPL_H_ | 
| OLD | NEW |