| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 // Animation testing. | 72 // Animation testing. |
| 73 [RaisesException] void pauseAnimations(double pauseTime); | 73 [RaisesException] void pauseAnimations(double pauseTime); |
| 74 bool isCompositedAnimation(Animation animation); | 74 bool isCompositedAnimation(Animation animation); |
| 75 void disableCompositedAnimation(Animation animation); | 75 void disableCompositedAnimation(Animation animation); |
| 76 | 76 |
| 77 // Modifies m_desiredFrameStartTime in BitmapImage to advance the next frame
time | 77 // Modifies m_desiredFrameStartTime in BitmapImage to advance the next frame
time |
| 78 // for testing whether animated images work properly. | 78 // for testing whether animated images work properly. |
| 79 [RaisesException] void advanceTimeForImage(Element image, double deltaTimeIn
Seconds); | 79 [RaisesException] void advanceTimeForImage(Element image, double deltaTimeIn
Seconds); |
| 80 | 80 |
| 81 // Advances an animated image. For BitmapImage (e.g., animated gifs) this |
| 82 // will advance to the next frame. For SVGImage, this will trigger an |
| 83 // animation update for CSS and advance the SMIL timeline by one frame. |
| 84 [RaisesException, TypeChecking=Interface] void advanceImageAnimation(Element
image); |
| 85 |
| 81 [RaisesException, TypeChecking=Interface] Node nextSiblingInComposedTree(Nod
e node); | 86 [RaisesException, TypeChecking=Interface] Node nextSiblingInComposedTree(Nod
e node); |
| 82 [RaisesException, TypeChecking=Interface] Node firstChildInComposedTree(Node
node); | 87 [RaisesException, TypeChecking=Interface] Node firstChildInComposedTree(Node
node); |
| 83 [RaisesException, TypeChecking=Interface] Node lastChildInComposedTree(Node
node); | 88 [RaisesException, TypeChecking=Interface] Node lastChildInComposedTree(Node
node); |
| 84 [RaisesException, TypeChecking=Interface] Node nextInComposedTree(Node node)
; | 89 [RaisesException, TypeChecking=Interface] Node nextInComposedTree(Node node)
; |
| 85 [RaisesException, TypeChecking=Interface] Node previousInComposedTree(Node n
ode); | 90 [RaisesException, TypeChecking=Interface] Node previousInComposedTree(Node n
ode); |
| 86 | 91 |
| 87 DOMString visiblePlaceholder(Element element); | 92 DOMString visiblePlaceholder(Element element); |
| 88 | 93 |
| 89 [TypeChecking=Interface] void selectColorInColorChooser(Element element, DOM
String colorValue); | 94 [TypeChecking=Interface] void selectColorInColorChooser(Element element, DOM
String colorValue); |
| 90 [TypeChecking=Interface] void endColorChooser(Element element); | 95 [TypeChecking=Interface] void endColorChooser(Element element); |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 | 343 |
| 339 ClientRectList outlineRects(Element element); | 344 ClientRectList outlineRects(Element element); |
| 340 void setCapsLockState(boolean enabled); | 345 void setCapsLockState(boolean enabled); |
| 341 | 346 |
| 342 // Returns whether the scrollbar was able to be shown or hidden; not all pla
tforms | 347 // Returns whether the scrollbar was able to be shown or hidden; not all pla
tforms |
| 343 // support overlay scrollbars. | 348 // support overlay scrollbars. |
| 344 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); | 349 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); |
| 345 | 350 |
| 346 void forceRestrictIFramePermissions(); | 351 void forceRestrictIFramePermissions(); |
| 347 }; | 352 }; |
| OLD | NEW |