Chromium Code Reviews| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 44 | 44 |
| 45 namespace WebKit { | 45 namespace WebKit { |
| 46 class WebApplicationCacheHost; | 46 class WebApplicationCacheHost; |
| 47 class WebApplicationCacheHostClient; | 47 class WebApplicationCacheHostClient; |
| 48 class WebClipboard; | 48 class WebClipboard; |
| 49 class WebData; | 49 class WebData; |
| 50 class WebMessagePortChannel; | 50 class WebMessagePortChannel; |
| 51 class WebMimeRegistry; | 51 class WebMimeRegistry; |
| 52 class WebPluginListBuilder; | 52 class WebPluginListBuilder; |
| 53 class WebSandboxSupport; | 53 class WebSandboxSupport; |
| 54 class WebSharedWorkerRepository; | |
| 54 class WebSocketStreamHandle; | 55 class WebSocketStreamHandle; |
| 55 class WebStorageNamespace; | 56 class WebStorageNamespace; |
| 56 class WebString; | 57 class WebString; |
| 57 class WebThemeEngine; | 58 class WebThemeEngine; |
| 58 class WebURL; | 59 class WebURL; |
| 59 class WebURLLoader; | 60 class WebURLLoader; |
| 60 struct WebCookie; | 61 struct WebCookie; |
| 61 struct WebPluginInfo; | 62 struct WebPluginInfo; |
| 62 template <typename T> class WebVector; | 63 template <typename T> class WebVector; |
| 63 | 64 |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 217 | 218 |
| 218 // In some browsers, a "sandbox" restricts what operations a program | 219 // In some browsers, a "sandbox" restricts what operations a program |
| 219 // is allowed to preform. Such operations are typically abstracted out | 220 // is allowed to preform. Such operations are typically abstracted out |
| 220 // via this API, but sometimes (like in HTML 5 database opening) WebKit | 221 // via this API, but sometimes (like in HTML 5 database opening) WebKit |
| 221 // needs to behave differently based on whether it's restricted or not. | 222 // needs to behave differently based on whether it's restricted or not. |
| 222 // In these cases (and these cases only) you can call this function. | 223 // In these cases (and these cases only) you can call this function. |
| 223 // It's OK for this value to be conservitive (i.e. true even if the | 224 // It's OK for this value to be conservitive (i.e. true even if the |
| 224 // sandbox isn't active). | 225 // sandbox isn't active). |
| 225 virtual bool sandboxEnabled() = 0; | 226 virtual bool sandboxEnabled() = 0; |
| 226 | 227 |
| 228 // Shared Workers ------------------------------------------------------ | |
|
darin (slow to review)
2009/10/30 18:56:00
nit: should have two spaces above and one space be
| |
| 229 virtual WebSharedWorkerRepository* sharedWorkerRepository() = 0; | |
| 227 | 230 |
| 228 // Sudden Termination -------------------------------------------------- | 231 // Sudden Termination -------------------------------------------------- |
| 229 | 232 |
| 230 // Disable/Enable sudden termination. | 233 // Disable/Enable sudden termination. |
| 231 virtual void suddenTerminationChanged(bool enabled) = 0; | 234 virtual void suddenTerminationChanged(bool enabled) = 0; |
| 232 | 235 |
| 233 | 236 |
| 234 // System -------------------------------------------------------------- | 237 // System -------------------------------------------------------------- |
| 235 | 238 |
| 236 // Returns a value such as "en-US". | 239 // Returns a value such as "en-US". |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 247 // Callable from a background WebKit thread. | 250 // Callable from a background WebKit thread. |
| 248 virtual void callOnMainThread(void (*func)()) = 0; | 251 virtual void callOnMainThread(void (*func)()) = 0; |
| 249 | 252 |
| 250 protected: | 253 protected: |
| 251 ~WebKitClient() { } | 254 ~WebKitClient() { } |
| 252 }; | 255 }; |
| 253 | 256 |
| 254 } // namespace WebKit | 257 } // namespace WebKit |
| 255 | 258 |
| 256 #endif | 259 #endif |
| OLD | NEW |