Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 153 WebKitPoint webkitConvertPointFromNodeToPage(in Node node, in WebKitPoin t p); | 153 WebKitPoint webkitConvertPointFromNodeToPage(in Node node, in WebKitPoin t p); |
| 154 | 154 |
| 155 #if defined(ENABLE_OFFLINE_WEB_APPLICATIONS) && ENABLE_OFFLINE_WEB_APPLICATIONS | 155 #if defined(ENABLE_OFFLINE_WEB_APPLICATIONS) && ENABLE_OFFLINE_WEB_APPLICATIONS |
| 156 readonly attribute DOMApplicationCache applicationCache; | 156 readonly attribute DOMApplicationCache applicationCache; |
| 157 #endif | 157 #endif |
| 158 #if defined(ENABLE_DATABASE) && ENABLE_DATABASE | 158 #if defined(ENABLE_DATABASE) && ENABLE_DATABASE |
| 159 Database openDatabase(in DOMString name, in DOMString version, in DOMStr ing displayName, in unsigned long estimatedSize) | 159 Database openDatabase(in DOMString name, in DOMString version, in DOMStr ing displayName, in unsigned long estimatedSize) |
| 160 raises(DOMException); | 160 raises(DOMException); |
| 161 #endif | 161 #endif |
| 162 #if defined(ENABLE_DOM_STORAGE) && ENABLE_DOM_STORAGE | 162 #if defined(ENABLE_DOM_STORAGE) && ENABLE_DOM_STORAGE |
| 163 readonly attribute Storage sessionStorage; | 163 readonly attribute [V8Custom] Storage sessionStorage; |
| 164 readonly attribute Storage localStorage; | 164 readonly attribute [V8Custom] Storage localStorage; |
|
michaeln
2009/07/14 19:02:05
Unfortunate we need V8Custom here so the .idl is d
jorlow
2009/07/14 19:12:50
If you look, we do this a lot.
The binding is pre
| |
| 165 #endif | 165 #endif |
| 166 | 166 |
| 167 attribute [Replaceable] Console console; | 167 attribute [Replaceable] Console console; |
| 168 | 168 |
| 169 // cross-document messaging | 169 // cross-document messaging |
| 170 [DoNotCheckDomainSecurity, Custom] void postMessage(in DOMString message , in [Optional] MessagePort messagePort, in DOMString targetOrigin) | 170 [DoNotCheckDomainSecurity, Custom] void postMessage(in DOMString message , in [Optional] MessagePort messagePort, in DOMString targetOrigin) |
| 171 raises(DOMException); | 171 raises(DOMException); |
| 172 | 172 |
| 173 // Timers | 173 // Timers |
| 174 [Custom] long setTimeout(in TimeoutHandler handler, in long timeout); | 174 [Custom] long setTimeout(in TimeoutHandler handler, in long timeout); |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 519 | 519 |
| 520 #endif // defined(LANGUAGE_JAVASCRIPT) | 520 #endif // defined(LANGUAGE_JAVASCRIPT) |
| 521 | 521 |
| 522 #if defined(V8_BINDING) && V8_BINDING | 522 #if defined(V8_BINDING) && V8_BINDING |
| 523 // window.toString() requires special handling in V8 | 523 // window.toString() requires special handling in V8 |
| 524 [V8DoNotCheckSignature, DoNotCheckDomainSecurity, Custom, DontEnum] DOMS tring toString(); | 524 [V8DoNotCheckSignature, DoNotCheckDomainSecurity, Custom, DontEnum] DOMS tring toString(); |
| 525 #endif // defined(V8_BINDING) | 525 #endif // defined(V8_BINDING) |
| 526 }; | 526 }; |
| 527 | 527 |
| 528 } | 528 } |
| OLD | NEW |