| 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_RENDERER_RENDERER_WEBKIT_CLIENT_IMPL_H_ | 5 #ifndef CHROME_RENDERER_RENDERER_WEBKIT_CLIENT_IMPL_H_ |
| 6 #define CHROME_RENDERER_RENDERER_WEBKIT_CLIENT_IMPL_H_ | 6 #define CHROME_RENDERER_RENDERER_WEBKIT_CLIENT_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/platform_file.h" | 8 #include "base/platform_file.h" |
| 9 #include "webkit/glue/simple_webmimeregistry_impl.h" | 9 #include "webkit/glue/simple_webmimeregistry_impl.h" |
| 10 #include "webkit/glue/webclipboard_impl.h" | 10 #include "webkit/glue/webclipboard_impl.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 virtual bool getFileSize(const WebKit::WebString& path, long long& result); | 31 virtual bool getFileSize(const WebKit::WebString& path, long long& result); |
| 32 virtual unsigned long long visitedLinkHash( | 32 virtual unsigned long long visitedLinkHash( |
| 33 const char* canonicalURL, size_t length); | 33 const char* canonicalURL, size_t length); |
| 34 virtual bool isLinkVisited(unsigned long long linkHash); | 34 virtual bool isLinkVisited(unsigned long long linkHash); |
| 35 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); | 35 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); |
| 36 virtual void setCookies(const WebKit::WebURL& url, | 36 virtual void setCookies(const WebKit::WebURL& url, |
| 37 const WebKit::WebURL& first_party_for_cookies, | 37 const WebKit::WebURL& first_party_for_cookies, |
| 38 const WebKit::WebString&); | 38 const WebKit::WebString&); |
| 39 virtual WebKit::WebString cookies( | 39 virtual WebKit::WebString cookies( |
| 40 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies); | 40 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies); |
| 41 virtual bool rawCookies(const WebKit::WebURL& url, |
| 42 const WebKit::WebURL& first_party_for_cookies, |
| 43 WebKit::WebVector<WebKit::WebCookie>* raw_cookies); |
| 44 virtual void deleteCookie(const WebKit::WebURL& url, |
| 45 const WebKit::WebString& cookie_name); |
| 41 virtual void prefetchHostName(const WebKit::WebString&); | 46 virtual void prefetchHostName(const WebKit::WebString&); |
| 42 virtual WebKit::WebString defaultLocale(); | 47 virtual WebKit::WebString defaultLocale(); |
| 43 virtual void suddenTerminationChanged(bool enabled); | 48 virtual void suddenTerminationChanged(bool enabled); |
| 44 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 49 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( |
| 45 const WebKit::WebString& path, unsigned quota); | 50 const WebKit::WebString& path, unsigned quota); |
| 46 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(); | 51 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(); |
| 47 | 52 |
| 48 virtual WebKit::WebKitClient::FileHandle databaseOpenFile( | 53 virtual WebKit::WebKitClient::FileHandle databaseOpenFile( |
| 49 const WebKit::WebString& file_name, int desired_flags, | 54 const WebKit::WebString& file_name, int desired_flags, |
| 50 WebKit::WebKitClient::FileHandle* dir_handle); | 55 WebKit::WebKitClient::FileHandle* dir_handle); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 #endif | 102 #endif |
| 98 | 103 |
| 99 // This counter keeps track of the number of times sudden termination is | 104 // This counter keeps track of the number of times sudden termination is |
| 100 // enabled or disabled. It starts at 0 (enabled) and for every disable | 105 // enabled or disabled. It starts at 0 (enabled) and for every disable |
| 101 // increments by 1, for every enable decrements by 1. When it reaches 0, | 106 // increments by 1, for every enable decrements by 1. When it reaches 0, |
| 102 // we tell the browser to enable fast termination. | 107 // we tell the browser to enable fast termination. |
| 103 int sudden_termination_disables_; | 108 int sudden_termination_disables_; |
| 104 }; | 109 }; |
| 105 | 110 |
| 106 #endif // CHROME_RENDERER_WEBKIT_CLIENT_IMPL_H_ | 111 #endif // CHROME_RENDERER_WEBKIT_CLIENT_IMPL_H_ |
| OLD | NEW |