| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 [RaisesException] boolean hasSelectorForIdInShadow(Element host, DOMString i
d); | 59 [RaisesException] boolean hasSelectorForIdInShadow(Element host, DOMString i
d); |
| 60 [RaisesException] boolean hasSelectorForClassInShadow(Element host, DOMStrin
g className); | 60 [RaisesException] boolean hasSelectorForClassInShadow(Element host, DOMStrin
g className); |
| 61 [RaisesException] boolean hasSelectorForAttributeInShadow(Element host, DOMS
tring attributeName); | 61 [RaisesException] boolean hasSelectorForAttributeInShadow(Element host, DOMS
tring attributeName); |
| 62 [RaisesException] unsigned short compareTreeScopePosition(Node treeScope1, N
ode treeScope2); | 62 [RaisesException] unsigned short compareTreeScopePosition(Node treeScope1, N
ode treeScope2); |
| 63 [RaisesException] unsigned long updateStyleAndReturnAffectedElementCount(); | 63 [RaisesException] unsigned long updateStyleAndReturnAffectedElementCount(); |
| 64 [RaisesException] unsigned long needsLayoutCount(); | 64 [RaisesException] unsigned long needsLayoutCount(); |
| 65 [RaisesException] unsigned long hitTestCount(Document document); | 65 [RaisesException] unsigned long hitTestCount(Document document); |
| 66 [RaisesException] unsigned long hitTestCacheHits(Document document); | 66 [RaisesException] unsigned long hitTestCacheHits(Document document); |
| 67 [RaisesException] Element? elementFromPoint(Document document, double x, dou
ble y, boolean ignoreClipping, boolean allowChildFrameContent); | 67 [RaisesException] Element? elementFromPoint(Document document, double x, dou
ble y, boolean ignoreClipping, boolean allowChildFrameContent); |
| 68 [RaisesException] void clearHitTestCache(Document document); | 68 [RaisesException] void clearHitTestCache(Document document); |
| 69 [RaisesException] long histogramCount(DOMString name, long bucket); |
| 69 | 70 |
| 70 // Animation testing. | 71 // Animation testing. |
| 71 [RaisesException] void pauseAnimations(double pauseTime); | 72 [RaisesException] void pauseAnimations(double pauseTime); |
| 72 bool isCompositedAnimation(Animation animation); | 73 bool isCompositedAnimation(Animation animation); |
| 73 void disableCompositedAnimation(Animation animation); | 74 void disableCompositedAnimation(Animation animation); |
| 74 void disableCSSAdditiveAnimations(); | 75 void disableCSSAdditiveAnimations(); |
| 75 | 76 |
| 76 // Modifies m_desiredFrameStartTime in BitmapImage to advance the next frame
time | 77 // Modifies m_desiredFrameStartTime in BitmapImage to advance the next frame
time |
| 77 // for testing whether animated images work properly. | 78 // for testing whether animated images work properly. |
| 78 [RaisesException] void advanceTimeForImage(Element image, double deltaTimeIn
Seconds); | 79 [RaisesException] void advanceTimeForImage(Element image, double deltaTimeIn
Seconds); |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 | 346 |
| 346 void setMediaElementNetworkState(HTMLMediaElement element, long state); | 347 void setMediaElementNetworkState(HTMLMediaElement element, long state); |
| 347 | 348 |
| 348 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. | 349 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. |
| 349 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); | 350 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); |
| 350 | 351 |
| 351 DOMString getScrollAnimationState(Node node); | 352 DOMString getScrollAnimationState(Node node); |
| 352 | 353 |
| 353 DOMString getProgrammaticScrollAnimationState(Node node); | 354 DOMString getProgrammaticScrollAnimationState(Node node); |
| 354 }; | 355 }; |
| OLD | NEW |