| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 | 155 |
| 156 // Handle the <keygen> tag for generating client certificates | 156 // Handle the <keygen> tag for generating client certificates |
| 157 // Returns a base64 encoded signed copy of a public key from a newly | 157 // Returns a base64 encoded signed copy of a public key from a newly |
| 158 // generated key pair and the supplied challenge string. keySizeindex | 158 // generated key pair and the supplied challenge string. keySizeindex |
| 159 // specifies the strength of the key. | 159 // specifies the strength of the key. |
| 160 virtual WebString signedPublicKeyAndChallengeString(unsigned keySizeIndex, | 160 virtual WebString signedPublicKeyAndChallengeString(unsigned keySizeIndex, |
| 161 const WebKit::WebString& challenge, | 161 const WebKit::WebString& challenge, |
| 162 const WebKit::WebURL& url) = 0; | 162 const WebKit::WebURL& url) = 0; |
| 163 | 163 |
| 164 | 164 |
| 165 |
| 166 // Memory -------------------------------------------------------------- |
| 167 |
| 168 // Returns the current space allocated for the pagefile, in MB. |
| 169 // That is committed size for Windows and virtual memory size for POSIX |
| 170 virtual size_t memoryUsageMB() = 0; |
| 171 |
| 172 |
| 165 // Message Ports ------------------------------------------------------- | 173 // Message Ports ------------------------------------------------------- |
| 166 | 174 |
| 167 // Creates a Message Port Channel. This can be called on any thread. | 175 // Creates a Message Port Channel. This can be called on any thread. |
| 168 // The returned object should only be used on the thread it was created on. | 176 // The returned object should only be used on the thread it was created on. |
| 169 virtual WebMessagePortChannel* createMessagePortChannel() = 0; | 177 virtual WebMessagePortChannel* createMessagePortChannel() = 0; |
| 170 | 178 |
| 171 | 179 |
| 172 // Network ------------------------------------------------------------- | 180 // Network ------------------------------------------------------------- |
| 173 | 181 |
| 174 virtual void setCookies( | 182 virtual void setCookies( |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 // Callable from a background WebKit thread. | 265 // Callable from a background WebKit thread. |
| 258 virtual void callOnMainThread(void (*func)()) = 0; | 266 virtual void callOnMainThread(void (*func)()) = 0; |
| 259 | 267 |
| 260 protected: | 268 protected: |
| 261 ~WebKitClient() { } | 269 ~WebKitClient() { } |
| 262 }; | 270 }; |
| 263 | 271 |
| 264 } // namespace WebKit | 272 } // namespace WebKit |
| 265 | 273 |
| 266 #endif | 274 #endif |
| OLD | NEW |