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 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 // DOM Level 2 Style Interface | 133 // DOM Level 2 Style Interface |
134 [PerWorldBindings] CSSStyleDeclaration getComputedStyle([Default=Undefined]
optional Element element, | 134 [PerWorldBindings] CSSStyleDeclaration getComputedStyle([Default=Undefined]
optional Element element, |
135 [TreatNullAs=NullS
tring, TreatUndefinedAs=NullString,Default=Undefined] optional DOMString pseudoE
lement); | 135 [TreatNullAs=NullS
tring, TreatUndefinedAs=NullString,Default=Undefined] optional DOMString pseudoE
lement); |
136 | 136 |
137 // WebKit extensions | 137 // WebKit extensions |
138 CSSRuleList getMatchedCSSRules([Default=Undefined] optional Element element, | 138 CSSRuleList getMatchedCSSRules([Default=Undefined] optional Element element, |
139 [TreatNullAs=NullString, TreatUndefinedAs=Nul
lString,Default=Undefined] optional DOMString pseudoElement); | 139 [TreatNullAs=NullString, TreatUndefinedAs=Nul
lString,Default=Undefined] optional DOMString pseudoElement); |
140 | 140 |
141 [Replaceable] readonly attribute double devicePixelRatio; | 141 [Replaceable] readonly attribute double devicePixelRatio; |
142 | 142 |
143 DOMPoint webkitConvertPointFromPageToNode([Default=Undefined] optional Node
node, | 143 WebKitPoint webkitConvertPointFromPageToNode([Default=Undefined] optional No
de node, |
144 [Default=Undefined] optional DOMPo
int p); | 144 [Default=Undefined] optional We
bKitPoint p); |
145 DOMPoint webkitConvertPointFromNodeToPage([Default=Undefined] optional Node
node, | 145 WebKitPoint webkitConvertPointFromNodeToPage([Default=Undefined] optional No
de node, |
146 [Default=Undefined] optional DOMPo
int p); | 146 [Default=Undefined] optional We
bKitPoint p); |
147 | 147 |
148 [EnabledAtRuntime, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds] re
adonly attribute DOMApplicationCache applicationCache; | 148 [EnabledAtRuntime, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds] re
adonly attribute DOMApplicationCache applicationCache; |
149 | 149 |
150 [EnabledAtRuntime, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds, Ge
tterRaisesException] readonly attribute Storage sessionStorage; | 150 [EnabledAtRuntime, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds, Ge
tterRaisesException] readonly attribute Storage sessionStorage; |
151 [EnabledAtRuntime, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds, Ge
tterRaisesException] readonly attribute Storage localStorage; | 151 [EnabledAtRuntime, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds, Ge
tterRaisesException] readonly attribute Storage localStorage; |
152 | 152 |
153 #if defined(ENABLE_ORIENTATION_EVENTS) && ENABLE_ORIENTATION_EVENTS | 153 #if defined(ENABLE_ORIENTATION_EVENTS) && ENABLE_ORIENTATION_EVENTS |
154 // This is the interface orientation in degrees. Some examples are: | 154 // This is the interface orientation in degrees. Some examples are: |
155 // 0 is straight up; -90 is when the device is rotated 90 clockwise; | 155 // 0 is straight up; -90 is when the device is rotated 90 clockwise; |
156 // 90 is when rotated counter clockwise. | 156 // 90 is when rotated counter clockwise. |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 attribute ShadowRootConstructor WebKitShadowRoot; | 312 attribute ShadowRootConstructor WebKitShadowRoot; |
313 [Conditional=WEB_AUDIO] attribute PannerNodeConstructor webkitAudioPannerNod
e; | 313 [Conditional=WEB_AUDIO] attribute PannerNodeConstructor webkitAudioPannerNod
e; |
314 | 314 |
315 // window.toString() requires special handling in V8 | 315 // window.toString() requires special handling in V8 |
316 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); | 316 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); |
317 | 317 |
318 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter DOMWindow(unsig
ned long index); | 318 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter DOMWindow(unsig
ned long index); |
319 [Custom, NotEnumerable] getter DOMWindow (DOMString name); | 319 [Custom, NotEnumerable] getter DOMWindow (DOMString name); |
320 }; | 320 }; |
321 | 321 |
OLD | NEW |