| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionCode&); | 89 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionCode&); |
| 90 ShadowRoot* olderShadowRoot(Node* shadow, ExceptionCode&); | 90 ShadowRoot* olderShadowRoot(Node* shadow, ExceptionCode&); |
| 91 String shadowRootType(const Node*, ExceptionCode&) const; | 91 String shadowRootType(const Node*, ExceptionCode&) const; |
| 92 bool hasShadowInsertionPoint(const Node*, ExceptionCode&) const; | 92 bool hasShadowInsertionPoint(const Node*, ExceptionCode&) const; |
| 93 bool hasContentElement(const Node*, ExceptionCode&) const; | 93 bool hasContentElement(const Node*, ExceptionCode&) const; |
| 94 size_t countElementShadow(const Node*, ExceptionCode&) const; | 94 size_t countElementShadow(const Node*, ExceptionCode&) const; |
| 95 Element* includerFor(Node*, ExceptionCode&); | 95 Element* includerFor(Node*, ExceptionCode&); |
| 96 String shadowPseudoId(Element*, ExceptionCode&); | 96 String shadowPseudoId(Element*, ExceptionCode&); |
| 97 void setShadowPseudoId(Element*, const String&, ExceptionCode&); | 97 void setShadowPseudoId(Element*, const String&, ExceptionCode&); |
| 98 | 98 |
| 99 // CSS Animation testing. | 99 // CSS Animation / Transition testing. |
| 100 unsigned numberOfActiveAnimations() const; | 100 unsigned numberOfActiveAnimations() const; |
| 101 void suspendAnimations(Document*, ExceptionCode&) const; | 101 void suspendAnimations(Document*, ExceptionCode&) const; |
| 102 void resumeAnimations(Document*, ExceptionCode&) const; | 102 void resumeAnimations(Document*, ExceptionCode&) const; |
| 103 bool pauseAnimationAtTimeOnElement(const String& animationName, double pause
Time, Element*, ExceptionCode&); | 103 void pauseAnimations(double pauseTime, ExceptionCode&); |
| 104 bool pauseAnimationAtTimeOnPseudoElement(const String& animationName, double
pauseTime, Element*, const String& pseudoId, ExceptionCode&); | |
| 105 | |
| 106 // CSS Transition testing. | |
| 107 bool pauseTransitionAtTimeOnElement(const String& propertyName, double pause
Time, Element*, ExceptionCode&); | |
| 108 bool pauseTransitionAtTimeOnPseudoElement(const String& property, double pau
seTime, Element*, const String& pseudoId, ExceptionCode&); | |
| 109 | 104 |
| 110 PassRefPtr<Element> createContentElement(ExceptionCode&); | 105 PassRefPtr<Element> createContentElement(ExceptionCode&); |
| 111 bool isValidContentSelect(Element* insertionPoint, ExceptionCode&); | 106 bool isValidContentSelect(Element* insertionPoint, ExceptionCode&); |
| 112 Node* treeScopeRootNode(Node*, ExceptionCode&); | 107 Node* treeScopeRootNode(Node*, ExceptionCode&); |
| 113 Node* parentTreeScope(Node*, ExceptionCode&); | 108 Node* parentTreeScope(Node*, ExceptionCode&); |
| 114 bool hasSelectorForIdInShadow(Element* host, const String& idValue, Exceptio
nCode&); | 109 bool hasSelectorForIdInShadow(Element* host, const String& idValue, Exceptio
nCode&); |
| 115 bool hasSelectorForClassInShadow(Element* host, const String& className, Exc
eptionCode&); | 110 bool hasSelectorForClassInShadow(Element* host, const String& className, Exc
eptionCode&); |
| 116 bool hasSelectorForAttributeInShadow(Element* host, const String& attributeN
ame, ExceptionCode&); | 111 bool hasSelectorForAttributeInShadow(Element* host, const String& attributeN
ame, ExceptionCode&); |
| 117 bool hasSelectorForPseudoClassInShadow(Element* host, const String& pseudoCl
ass, ExceptionCode&); | 112 bool hasSelectorForPseudoClassInShadow(Element* host, const String& pseudoCl
ass, ExceptionCode&); |
| 118 | 113 |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 | 299 |
| 305 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); | 300 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); |
| 306 RefPtr<DOMWindow> m_frontendWindow; | 301 RefPtr<DOMWindow> m_frontendWindow; |
| 307 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; | 302 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; |
| 308 RefPtr<InternalRuntimeFlags> m_runtimeFlags; | 303 RefPtr<InternalRuntimeFlags> m_runtimeFlags; |
| 309 }; | 304 }; |
| 310 | 305 |
| 311 } // namespace WebCore | 306 } // namespace WebCore |
| 312 | 307 |
| 313 #endif | 308 #endif |
| OLD | NEW |