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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 | 140 |
141 // Deletes a database file and returns the error code | 141 // Deletes a database file and returns the error code |
142 virtual int databaseDeleteFile(const WebString& fileName, bool syncDir) = 0; | 142 virtual int databaseDeleteFile(const WebString& fileName, bool syncDir) = 0; |
143 | 143 |
144 // Returns the attributes of the given database file | 144 // Returns the attributes of the given database file |
145 virtual long databaseGetFileAttributes(const WebString& fileName) = 0; | 145 virtual long databaseGetFileAttributes(const WebString& fileName) = 0; |
146 | 146 |
147 // Returns the size of the given database file | 147 // Returns the size of the given database file |
148 virtual long long databaseGetFileSize(const WebString& fileName) = 0; | 148 virtual long long databaseGetFileSize(const WebString& fileName) = 0; |
149 | 149 |
| 150 // Keygen -------------------------------------------------------------- |
| 151 |
| 152 // Handle the <keygen> tag for generating client certificates |
| 153 // Returns a base64 encoded signed copy of a public key from a newly |
| 154 // generated key pair and the supplied challenge string. keySizeindex |
| 155 // specifies the strength of the key. |
| 156 virtual WebString signedPublicKeyAndChallengeString(unsigned keySizeIndex, |
| 157 const WebKit::WebString& challenge, |
| 158 const WebKit::WebURL& url) = 0; |
150 | 159 |
151 // Message Ports ------------------------------------------------------- | 160 // Message Ports ------------------------------------------------------- |
152 | 161 |
153 // Creates a Message Port Channel. This can be called on any thread. | 162 // Creates a Message Port Channel. This can be called on any thread. |
154 // The returned object should only be used on the thread it was created on. | 163 // The returned object should only be used on the thread it was created on. |
155 virtual WebMessagePortChannel* createMessagePortChannel() = 0; | 164 virtual WebMessagePortChannel* createMessagePortChannel() = 0; |
156 | 165 |
157 | 166 |
158 // Network ------------------------------------------------------------- | 167 // Network ------------------------------------------------------------- |
159 | 168 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 // Callable from a background WebKit thread. | 243 // Callable from a background WebKit thread. |
235 virtual void callOnMainThread(void (*func)()) = 0; | 244 virtual void callOnMainThread(void (*func)()) = 0; |
236 | 245 |
237 protected: | 246 protected: |
238 ~WebKitClient() { } | 247 ~WebKitClient() { } |
239 }; | 248 }; |
240 | 249 |
241 } // namespace WebKit | 250 } // namespace WebKit |
242 | 251 |
243 #endif | 252 #endif |
OLD | NEW |