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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 109 |
110 // Animation testing. | 110 // Animation testing. |
111 void pauseAnimations(double pauseTime, ExceptionState&); | 111 void pauseAnimations(double pauseTime, ExceptionState&); |
112 bool isCompositedAnimation(Animation*); | 112 bool isCompositedAnimation(Animation*); |
113 void disableCompositedAnimation(Animation*); | 113 void disableCompositedAnimation(Animation*); |
114 | 114 |
115 // Modifies m_desiredFrameStartTime in BitmapImage to advance the next frame
time | 115 // Modifies m_desiredFrameStartTime in BitmapImage to advance the next frame
time |
116 // for testing whether animated images work properly. | 116 // for testing whether animated images work properly. |
117 void advanceTimeForImage(Element* image, double deltaTimeInSeconds, Exceptio
nState&); | 117 void advanceTimeForImage(Element* image, double deltaTimeInSeconds, Exceptio
nState&); |
118 | 118 |
| 119 // Advances an animated image. For BitmapImage (e.g., animated gifs) this |
| 120 // will advance to the next frame. For SVGImage, this will trigger an |
| 121 // animation update for CSS and advance the SMIL timeline by one frame. |
| 122 void advanceImageAnimation(Element* image, ExceptionState&); |
| 123 |
119 bool isValidContentSelect(Element* insertionPoint, ExceptionState&); | 124 bool isValidContentSelect(Element* insertionPoint, ExceptionState&); |
120 Node* treeScopeRootNode(Node*); | 125 Node* treeScopeRootNode(Node*); |
121 Node* parentTreeScope(Node*); | 126 Node* parentTreeScope(Node*); |
122 bool hasSelectorForIdInShadow(Element* host, const AtomicString& idValue, Ex
ceptionState&); | 127 bool hasSelectorForIdInShadow(Element* host, const AtomicString& idValue, Ex
ceptionState&); |
123 bool hasSelectorForClassInShadow(Element* host, const AtomicString& classNam
e, ExceptionState&); | 128 bool hasSelectorForClassInShadow(Element* host, const AtomicString& classNam
e, ExceptionState&); |
124 bool hasSelectorForAttributeInShadow(Element* host, const AtomicString& attr
ibuteName, ExceptionState&); | 129 bool hasSelectorForAttributeInShadow(Element* host, const AtomicString& attr
ibuteName, ExceptionState&); |
125 unsigned short compareTreeScopePosition(const Node*, const Node*, ExceptionS
tate&) const; | 130 unsigned short compareTreeScopePosition(const Node*, const Node*, ExceptionS
tate&) const; |
126 | 131 |
127 Node* nextSiblingInComposedTree(Node*, ExceptionState&); | 132 Node* nextSiblingInComposedTree(Node*, ExceptionState&); |
128 Node* firstChildInComposedTree(Node*, ExceptionState&); | 133 Node* firstChildInComposedTree(Node*, ExceptionState&); |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 | 390 |
386 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 391 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
387 Member<InternalRuntimeFlags> m_runtimeFlags; | 392 Member<InternalRuntimeFlags> m_runtimeFlags; |
388 | 393 |
389 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 394 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
390 }; | 395 }; |
391 | 396 |
392 } // namespace blink | 397 } // namespace blink |
393 | 398 |
394 #endif // Internals_h | 399 #endif // Internals_h |
OLD | NEW |