| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 ExceptionState&); | 130 ExceptionState&); |
| 131 | 131 |
| 132 // Advances an animated image. For BitmapImage (e.g., animated gifs) this | 132 // Advances an animated image. For BitmapImage (e.g., animated gifs) this |
| 133 // will advance to the next frame. For SVGImage, this will trigger an | 133 // will advance to the next frame. For SVGImage, this will trigger an |
| 134 // animation update for CSS and advance the SMIL timeline by one frame. | 134 // animation update for CSS and advance the SMIL timeline by one frame. |
| 135 void advanceImageAnimation(Element* image, ExceptionState&); | 135 void advanceImageAnimation(Element* image, ExceptionState&); |
| 136 | 136 |
| 137 bool isValidContentSelect(Element* insertionPoint, ExceptionState&); | 137 bool isValidContentSelect(Element* insertionPoint, ExceptionState&); |
| 138 Node* treeScopeRootNode(Node*); | 138 Node* treeScopeRootNode(Node*); |
| 139 Node* parentTreeScope(Node*); | 139 Node* parentTreeScope(Node*); |
| 140 bool hasSelectorForIdInShadow(Element* host, | |
| 141 const AtomicString& idValue, | |
| 142 ExceptionState&); | |
| 143 bool hasSelectorForClassInShadow(Element* host, | |
| 144 const AtomicString& className, | |
| 145 ExceptionState&); | |
| 146 bool hasSelectorForAttributeInShadow(Element* host, | |
| 147 const AtomicString& attributeName, | |
| 148 ExceptionState&); | |
| 149 unsigned short compareTreeScopePosition(const Node*, | 140 unsigned short compareTreeScopePosition(const Node*, |
| 150 const Node*, | 141 const Node*, |
| 151 ExceptionState&) const; | 142 ExceptionState&) const; |
| 152 | 143 |
| 153 Node* nextSiblingInFlatTree(Node*, ExceptionState&); | 144 Node* nextSiblingInFlatTree(Node*, ExceptionState&); |
| 154 Node* firstChildInFlatTree(Node*, ExceptionState&); | 145 Node* firstChildInFlatTree(Node*, ExceptionState&); |
| 155 Node* lastChildInFlatTree(Node*, ExceptionState&); | 146 Node* lastChildInFlatTree(Node*, ExceptionState&); |
| 156 Node* nextInFlatTree(Node*, ExceptionState&); | 147 Node* nextInFlatTree(Node*, ExceptionState&); |
| 157 Node* previousInFlatTree(Node*, ExceptionState&); | 148 Node* previousInFlatTree(Node*, ExceptionState&); |
| 158 | 149 |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 ExceptionState&); | 534 ExceptionState&); |
| 544 Member<InternalRuntimeFlags> m_runtimeFlags; | 535 Member<InternalRuntimeFlags> m_runtimeFlags; |
| 545 Member<Document> m_document; | 536 Member<Document> m_document; |
| 546 | 537 |
| 547 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 538 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
| 548 }; | 539 }; |
| 549 | 540 |
| 550 } // namespace blink | 541 } // namespace blink |
| 551 | 542 |
| 552 #endif // Internals_h | 543 #endif // Internals_h |
| OLD | NEW |