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 * Copyright (C) 2013 Apple 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 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 [RaisesException] boolean isValidContentSelect(Element contentElement); | 60 [RaisesException] boolean isValidContentSelect(Element contentElement); |
61 [RaisesException] Node treeScopeRootNode(Node node); | 61 [RaisesException] Node treeScopeRootNode(Node node); |
62 [RaisesException] Node parentTreeScope(Node node); | 62 [RaisesException] Node parentTreeScope(Node node); |
63 [RaisesException] boolean hasSelectorForIdInShadow(Element host, DOMString i
d); | 63 [RaisesException] boolean hasSelectorForIdInShadow(Element host, DOMString i
d); |
64 [RaisesException] boolean hasSelectorForClassInShadow(Element host, DOMStrin
g className); | 64 [RaisesException] boolean hasSelectorForClassInShadow(Element host, DOMStrin
g className); |
65 [RaisesException] boolean hasSelectorForAttributeInShadow(Element host, DOMS
tring attributeName); | 65 [RaisesException] boolean hasSelectorForAttributeInShadow(Element host, DOMS
tring attributeName); |
66 [RaisesException] boolean hasSelectorForPseudoClassInShadow(Element host, DO
MString pseudoClass); | 66 [RaisesException] boolean hasSelectorForPseudoClassInShadow(Element host, DO
MString pseudoClass); |
67 [RaisesException] unsigned short compareTreeScopePosition(Node treeScope1, N
ode treeScope2); | 67 [RaisesException] unsigned short compareTreeScopePosition(Node treeScope1, N
ode treeScope2); |
68 [RaisesException] unsigned long updateStyleAndReturnAffectedElementCount(); | 68 [RaisesException] unsigned long updateStyleAndReturnAffectedElementCount(); |
69 [RaisesException] unsigned long needsLayoutCount(); | 69 [RaisesException] unsigned long needsLayoutCount(); |
| 70 [RaisesException] unsigned long hitTestCountDelta(Document document); |
70 | 71 |
71 // CSS Animation and Transition testing. | 72 // CSS Animation and Transition testing. |
72 unsigned long numberOfActiveAnimations(); | 73 unsigned long numberOfActiveAnimations(); |
73 [RaisesException] void pauseAnimations(double pauseTime); | 74 [RaisesException] void pauseAnimations(double pauseTime); |
74 | 75 |
75 [RaisesException] Node nextSiblingByWalker(Node node); | 76 [RaisesException] Node nextSiblingByWalker(Node node); |
76 [RaisesException] Node firstChildByWalker(Node node); | 77 [RaisesException] Node firstChildByWalker(Node node); |
77 [RaisesException] Node lastChildByWalker(Node node); | 78 [RaisesException] Node lastChildByWalker(Node node); |
78 [RaisesException] Node nextNodeByWalker(Node node); | 79 [RaisesException] Node nextNodeByWalker(Node node); |
79 [RaisesException] Node previousNodeByWalker(Node node); | 80 [RaisesException] Node previousNodeByWalker(Node node); |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 [RaisesException] boolean ignoreLayoutWithPendingStylesheets(Document docume
nt); | 277 [RaisesException] boolean ignoreLayoutWithPendingStylesheets(Document docume
nt); |
277 | 278 |
278 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) | 279 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) |
279 // before calling setNetworkConnectionInfo. | 280 // before calling setNetworkConnectionInfo. |
280 void setNetworkStateNotifierTestOnly(boolean testOnly); | 281 void setNetworkStateNotifierTestOnly(boolean testOnly); |
281 [RaisesException] void setNetworkConnectionInfo(DOMString type); | 282 [RaisesException] void setNetworkConnectionInfo(DOMString type); |
282 | 283 |
283 // This function is for testing HitRegions on Canvas2D. | 284 // This function is for testing HitRegions on Canvas2D. |
284 unsigned long countHitRegions(CanvasRenderingContext2D context); | 285 unsigned long countHitRegions(CanvasRenderingContext2D context); |
285 }; | 286 }; |
OLD | NEW |