| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
| 3 * | 4 * |
| 4 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 6 * are met: | 7 * are met: |
| 7 * | 8 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 11 * 2. Redistributions in binary form must reproduce the above copyright |
| 11 * notice, this list of conditions and the following disclaimer in the | 12 * notice, this list of conditions and the following disclaimer in the |
| 12 * documentation and/or other materials provided with the distribution. | 13 * documentation and/or other materials provided with the distribution. |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 void setShadowPseudoId(in Element element, in DOMString id) raises (DOMExcep
tion); | 60 void setShadowPseudoId(in Element element, in DOMString id) raises (DOMExcep
tion); |
| 60 Element createContentElement() raises(DOMException); | 61 Element createContentElement() raises(DOMException); |
| 61 boolean isValidContentSelect(in Element contentElement) raises(DOMException)
; | 62 boolean isValidContentSelect(in Element contentElement) raises(DOMException)
; |
| 62 Node treeScopeRootNode(in Node node) raises (DOMException); | 63 Node treeScopeRootNode(in Node node) raises (DOMException); |
| 63 Node parentTreeScope(in Node node) raises (DOMException); | 64 Node parentTreeScope(in Node node) raises (DOMException); |
| 64 boolean hasSelectorForIdInShadow(in Element host, in DOMString id) raises (D
OMException); | 65 boolean hasSelectorForIdInShadow(in Element host, in DOMString id) raises (D
OMException); |
| 65 boolean hasSelectorForClassInShadow(in Element host, in DOMString className)
raises (DOMException); | 66 boolean hasSelectorForClassInShadow(in Element host, in DOMString className)
raises (DOMException); |
| 66 boolean hasSelectorForAttributeInShadow(in Element host, in DOMString attrib
uteName) raises (DOMException); | 67 boolean hasSelectorForAttributeInShadow(in Element host, in DOMString attrib
uteName) raises (DOMException); |
| 67 boolean hasSelectorForPseudoClassInShadow(in Element host, in DOMString pseu
doClass) raises (DOMException); | 68 boolean hasSelectorForPseudoClassInShadow(in Element host, in DOMString pseu
doClass) raises (DOMException); |
| 68 | 69 |
| 70 // CSS Animation testing. |
| 71 unsigned long numberOfActiveAnimations(); |
| 72 void suspendAnimations(in Document document) raises (DOMException); |
| 73 void resumeAnimations(in Document document) raises (DOMException); |
| 74 boolean pauseAnimationAtTimeOnElement(in DOMString animationName, in double
pauseTime, in Element element) raises (DOMException); |
| 69 boolean pauseAnimationAtTimeOnPseudoElement(in DOMString animationName, in d
ouble pauseTime, in Element element, in DOMString pseudoId) raises (DOMException
); | 75 boolean pauseAnimationAtTimeOnPseudoElement(in DOMString animationName, in d
ouble pauseTime, in Element element, in DOMString pseudoId) raises (DOMException
); |
| 76 |
| 77 // CSS Transition testing. |
| 78 boolean pauseTransitionAtTimeOnElement(in DOMString propertyName, in double
pauseTime, in Element element) raises (DOMException); |
| 70 boolean pauseTransitionAtTimeOnPseudoElement(in DOMString property, in doubl
e pauseTime, in Element element, in DOMString pseudoId) raises (DOMException); | 79 boolean pauseTransitionAtTimeOnPseudoElement(in DOMString property, in doubl
e pauseTime, in Element element, in DOMString pseudoId) raises (DOMException); |
| 71 | 80 |
| 72 Node nextSiblingByWalker(in Node node) raises(DOMException); | 81 Node nextSiblingByWalker(in Node node) raises(DOMException); |
| 73 Node firstChildByWalker(in Node node) raises(DOMException); | 82 Node firstChildByWalker(in Node node) raises(DOMException); |
| 74 Node lastChildByWalker(in Node node) raises(DOMException); | 83 Node lastChildByWalker(in Node node) raises(DOMException); |
| 75 Node nextNodeByWalker(in Node node) raises(DOMException); | 84 Node nextNodeByWalker(in Node node) raises(DOMException); |
| 76 Node previousNodeByWalker(in Node node) raises(DOMException); | 85 Node previousNodeByWalker(in Node node) raises(DOMException); |
| 77 | 86 |
| 78 boolean attached(in Node node) raises(DOMException); | 87 boolean attached(in Node node) raises(DOMException); |
| 79 | 88 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 165 |
| 157 boolean hasSpellingMarker(in Document document, in long from, in long length
) raises (DOMException); | 166 boolean hasSpellingMarker(in Document document, in long from, in long length
) raises (DOMException); |
| 158 boolean hasGrammarMarker(in Document document, in long from, in long length)
raises (DOMException); | 167 boolean hasGrammarMarker(in Document document, in long from, in long length)
raises (DOMException); |
| 159 boolean hasAutocorrectedMarker(in Document document, in long from, in long l
ength) raises (DOMException); | 168 boolean hasAutocorrectedMarker(in Document document, in long from, in long l
ength) raises (DOMException); |
| 160 | 169 |
| 161 unsigned long numberOfScrollableAreas(in Document document) raises (DOMExcep
tion); | 170 unsigned long numberOfScrollableAreas(in Document document) raises (DOMExcep
tion); |
| 162 | 171 |
| 163 boolean isPageBoxVisible(in Document document, in long pageNumber) raises (D
OMException); | 172 boolean isPageBoxVisible(in Document document, in long pageNumber) raises (D
OMException); |
| 164 | 173 |
| 165 readonly attribute InternalSettings settings; | 174 readonly attribute InternalSettings settings; |
| 166 | 175 readonly attribute unsigned long workerThreadCount; |
| 167 void suspendAnimations(in Document document) raises (DOMException); | |
| 168 void resumeAnimations(in Document document) raises (DOMException); | |
| 169 | 176 |
| 170 // Flags for layerTreeAsText. | 177 // Flags for layerTreeAsText. |
| 171 const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1; | 178 const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1; |
| 172 const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2; | 179 const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2; |
| 173 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 4; | 180 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 4; |
| 174 DOMString layerTreeAsText(in Document document, in [Optional] unsigned short
flags) raises (DOMException); | 181 DOMString layerTreeAsText(in Document document, in [Optional] unsigned short
flags) raises (DOMException); |
| 175 | 182 |
| 176 DOMString scrollingStateTreeAsText(in Document document) raises (DOMExceptio
n); | 183 DOMString scrollingStateTreeAsText(in Document document) raises (DOMExceptio
n); |
| 177 DOMString mainThreadScrollingReasons(in Document document) raises (DOMExcept
ion); | 184 DOMString mainThreadScrollingReasons(in Document document) raises (DOMExcept
ion); |
| 178 ClientRectList nonFastScrollableRects(in Document document) raises (DOMExcep
tion); | 185 ClientRectList nonFastScrollableRects(in Document document) raises (DOMExcep
tion); |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 void startTrackingRepaints(in Document document) raises (DOMException); | 242 void startTrackingRepaints(in Document document) raises (DOMException); |
| 236 void stopTrackingRepaints(in Document document) raises (DOMException); | 243 void stopTrackingRepaints(in Document document) raises (DOMException); |
| 237 | 244 |
| 238 // Returns a string with information about the mouse cursor used at the spec
ified client location. | 245 // Returns a string with information about the mouse cursor used at the spec
ified client location. |
| 239 DOMString getCurrentCursorInfo(in Document document) raises (DOMException); | 246 DOMString getCurrentCursorInfo(in Document document) raises (DOMException); |
| 240 | 247 |
| 241 SerializedScriptValue deserializeBuffer(in ArrayBuffer buffer); | 248 SerializedScriptValue deserializeBuffer(in ArrayBuffer buffer); |
| 242 ArrayBuffer serializeObject(in SerializedScriptValue obj); | 249 ArrayBuffer serializeObject(in SerializedScriptValue obj); |
| 243 | 250 |
| 244 void setUsesOverlayScrollbars(in boolean enabled); | 251 void setUsesOverlayScrollbars(in boolean enabled); |
| 252 |
| 253 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); |
| 245 }; | 254 }; |
| OLD | NEW |