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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 // DOM Level 2 AbstractView Interface | 140 // DOM Level 2 AbstractView Interface |
141 readonly attribute Document document; | 141 readonly attribute Document document; |
142 | 142 |
143 // CSSOM View Module | 143 // CSSOM View Module |
144 MediaQueryList matchMedia(in DOMString query); | 144 MediaQueryList matchMedia(in DOMString query); |
145 | 145 |
146 // styleMedia has been removed from the CSSOM View specification. | 146 // styleMedia has been removed from the CSSOM View specification. |
147 readonly attribute StyleMedia styleMedia; | 147 readonly attribute StyleMedia styleMedia; |
148 | 148 |
149 // DOM Level 2 Style Interface | 149 // DOM Level 2 Style Interface |
150 CSSStyleDeclaration getComputedStyle(in [Optional=DefaultIsUndefined] Elemen
t element, | 150 [V8PerWorldBindings] CSSStyleDeclaration getComputedStyle(in [Optional=Defau
ltIsUndefined] Element element, |
151 in [TreatNullAs=NullString, TreatUndefi
nedAs=NullString,Optional=DefaultIsUndefined] DOMString pseudoElement); | 151 in [TreatNullAs=Nu
llString, TreatUndefinedAs=NullString,Optional=DefaultIsUndefined] DOMString pse
udoElement); |
152 | 152 |
153 // WebKit extensions | 153 // WebKit extensions |
154 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT | 154 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT |
155 CSSRuleList getMatchedCSSRules(in [Optional=DefaultIsUndefined] Element elem
ent, | 155 CSSRuleList getMatchedCSSRules(in [Optional=DefaultIsUndefined] Element elem
ent, |
156 in [TreatNullAs=NullString, TreatUndefinedAs=
NullString,Optional=DefaultIsUndefined] DOMString pseudoElement); | 156 in [TreatNullAs=NullString, TreatUndefinedAs=
NullString,Optional=DefaultIsUndefined] DOMString pseudoElement); |
157 #endif | 157 #endif |
158 | 158 |
159 [Replaceable] readonly attribute double devicePixelRatio; | 159 [Replaceable] readonly attribute double devicePixelRatio; |
160 | 160 |
161 WebKitPoint webkitConvertPointFromPageToNode(in [Optional=DefaultIsUndefined
] Node node, | 161 WebKitPoint webkitConvertPointFromPageToNode(in [Optional=DefaultIsUndefined
] Node node, |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 [Conditional=DEVICE_ORIENTATION, V8EnabledAtRuntime] attribute DeviceMotionE
ventConstructor DeviceMotionEvent; | 563 [Conditional=DEVICE_ORIENTATION, V8EnabledAtRuntime] attribute DeviceMotionE
ventConstructor DeviceMotionEvent; |
564 [Conditional=DEVICE_ORIENTATION, V8EnabledAtRuntime] attribute DeviceOrienta
tionEventConstructor DeviceOrientationEvent; | 564 [Conditional=DEVICE_ORIENTATION, V8EnabledAtRuntime] attribute DeviceOrienta
tionEventConstructor DeviceOrientationEvent; |
565 [Conditional=TOUCH_EVENTS, V8EnabledAtRuntime=touch] attribute TouchConstruc
tor Touch; | 565 [Conditional=TOUCH_EVENTS, V8EnabledAtRuntime=touch] attribute TouchConstruc
tor Touch; |
566 [Conditional=TOUCH_EVENTS, V8EnabledAtRuntime=touch] attribute TouchEventCon
structor TouchEvent; | 566 [Conditional=TOUCH_EVENTS, V8EnabledAtRuntime=touch] attribute TouchEventCon
structor TouchEvent; |
567 [Conditional=TOUCH_EVENTS, V8EnabledAtRuntime=touch] attribute TouchListCons
tructor TouchList; | 567 [Conditional=TOUCH_EVENTS, V8EnabledAtRuntime=touch] attribute TouchListCons
tructor TouchList; |
568 attribute StorageEventConstructor StorageEvent; | 568 attribute StorageEventConstructor StorageEvent; |
569 [Conditional=INPUT_SPEECH] attribute SpeechInputEventConstructor SpeechInput
Event; | 569 [Conditional=INPUT_SPEECH] attribute SpeechInputEventConstructor SpeechInput
Event; |
570 [Conditional=WEBGL] attribute WebGLContextEventConstructor WebGLContextEvent
; | 570 [Conditional=WEBGL] attribute WebGLContextEventConstructor WebGLContextEvent
; |
571 [Conditional=PROXIMITY_EVENTS] attribute DeviceProximityEventConstructor Dev
iceProximityEvent; | 571 [Conditional=PROXIMITY_EVENTS] attribute DeviceProximityEventConstructor Dev
iceProximityEvent; |
572 [Conditional=REQUEST_AUTOCOMPLETE] attribute AutocompleteErrorEventConstruct
or AutocompleteErrorEvent; | 572 [Conditional=REQUEST_AUTOCOMPLETE] attribute AutocompleteErrorEventConstruct
or AutocompleteErrorEvent; |
| 573 [Conditional=CSP_NEXT, V8EnabledAtRuntime=experimentalContentSecurityPolicyF
eatures] attribute SecurityPolicyViolationEventConstructor SecurityPolicyViolati
onEvent; |
573 | 574 |
574 attribute EventExceptionConstructor EventException; | 575 attribute EventExceptionConstructor EventException; |
575 | 576 |
576 attribute WebKitCSSKeyframeRuleConstructor WebKitCSSKeyframeRule; | 577 attribute WebKitCSSKeyframeRuleConstructor WebKitCSSKeyframeRule; |
577 attribute WebKitCSSKeyframesRuleConstructor WebKitCSSKeyframesRule; | 578 attribute WebKitCSSKeyframesRuleConstructor WebKitCSSKeyframesRule; |
578 [Conditional=CSS_REGIONS, V8EnabledAtRuntime=cssRegions] attribute WebKitCSS
RegionRuleConstructor WebKitCSSRegionRule; | 579 [Conditional=CSS_REGIONS, V8EnabledAtRuntime=cssRegions] attribute WebKitCSS
RegionRuleConstructor WebKitCSSRegionRule; |
579 | 580 |
580 attribute WebKitCSSMatrixConstructor WebKitCSSMatrix; // Usable with the new
operator | 581 attribute WebKitCSSMatrixConstructor WebKitCSSMatrix; // Usable with the new
operator |
581 | 582 |
582 attribute WebKitPointConstructor WebKitPoint; // Usable with new the operato
r | 583 attribute WebKitPointConstructor WebKitPoint; // Usable with new the operato
r |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 [Conditional=MEDIA_SOURCE, V8EnabledAtRuntime=mediaSource] attribute SourceB
ufferListConstructor WebKitSourceBufferList; | 802 [Conditional=MEDIA_SOURCE, V8EnabledAtRuntime=mediaSource] attribute SourceB
ufferListConstructor WebKitSourceBufferList; |
802 | 803 |
803 #endif // defined(LANGUAGE_JAVASCRIPT) | 804 #endif // defined(LANGUAGE_JAVASCRIPT) |
804 | 805 |
805 #if defined(V8_BINDING) && V8_BINDING | 806 #if defined(V8_BINDING) && V8_BINDING |
806 // window.toString() requires special handling in V8 | 807 // window.toString() requires special handling in V8 |
807 [V8DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString
toString(); | 808 [V8DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString
toString(); |
808 #endif // defined(V8_BINDING) | 809 #endif // defined(V8_BINDING) |
809 }; | 810 }; |
810 | 811 |
OLD | NEW |