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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionState&); | 104 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionState&); |
105 String shadowRootType(const Node*, ExceptionState&) const; | 105 String shadowRootType(const Node*, ExceptionState&) const; |
106 bool hasShadowInsertionPoint(const Node*, ExceptionState&) const; | 106 bool hasShadowInsertionPoint(const Node*, ExceptionState&) const; |
107 bool hasContentElement(const Node*, ExceptionState&) const; | 107 bool hasContentElement(const Node*, ExceptionState&) const; |
108 size_t countElementShadow(const Node*, ExceptionState&) const; | 108 size_t countElementShadow(const Node*, ExceptionState&) const; |
109 const AtomicString& shadowPseudoId(Element*); | 109 const AtomicString& shadowPseudoId(Element*); |
110 | 110 |
111 // CSS Animation / Transition testing. | 111 // CSS Animation / Transition testing. |
112 void pauseAnimations(double pauseTime, ExceptionState&); | 112 void pauseAnimations(double pauseTime, ExceptionState&); |
113 | 113 |
| 114 // Modifies m_desiredFrameStartTime in BitmapImage to advance the next frame
time |
| 115 // for testing whether animated images work properly. |
| 116 void advanceTimeForImage(Element* image, double deltaTimeInSeconds, Exceptio
nState&); |
| 117 |
114 bool isValidContentSelect(Element* insertionPoint, ExceptionState&); | 118 bool isValidContentSelect(Element* insertionPoint, ExceptionState&); |
115 Node* treeScopeRootNode(Node*); | 119 Node* treeScopeRootNode(Node*); |
116 Node* parentTreeScope(Node*); | 120 Node* parentTreeScope(Node*); |
117 bool hasSelectorForIdInShadow(Element* host, const AtomicString& idValue, Ex
ceptionState&); | 121 bool hasSelectorForIdInShadow(Element* host, const AtomicString& idValue, Ex
ceptionState&); |
118 bool hasSelectorForClassInShadow(Element* host, const AtomicString& classNam
e, ExceptionState&); | 122 bool hasSelectorForClassInShadow(Element* host, const AtomicString& classNam
e, ExceptionState&); |
119 bool hasSelectorForAttributeInShadow(Element* host, const AtomicString& attr
ibuteName, ExceptionState&); | 123 bool hasSelectorForAttributeInShadow(Element* host, const AtomicString& attr
ibuteName, ExceptionState&); |
120 unsigned short compareTreeScopePosition(const Node*, const Node*, ExceptionS
tate&) const; | 124 unsigned short compareTreeScopePosition(const Node*, const Node*, ExceptionS
tate&) const; |
121 | 125 |
122 Node* nextSiblingInComposedTree(Node*, ExceptionState&); | 126 Node* nextSiblingInComposedTree(Node*, ExceptionState&); |
123 Node* firstChildInComposedTree(Node*, ExceptionState&); | 127 Node* firstChildInComposedTree(Node*, ExceptionState&); |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 | 367 |
364 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 368 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
365 Member<InternalRuntimeFlags> m_runtimeFlags; | 369 Member<InternalRuntimeFlags> m_runtimeFlags; |
366 | 370 |
367 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 371 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
368 }; | 372 }; |
369 | 373 |
370 } // namespace blink | 374 } // namespace blink |
371 | 375 |
372 #endif // Internals_h | 376 #endif // Internals_h |
OLD | NEW |