| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 1742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1753 void clearResetDirectives(); | 1753 void clearResetDirectives(); |
| 1754 | 1754 |
| 1755 // Variables. | 1755 // Variables. |
| 1756 static StyleVariableData* initialVariables() { return nullptr; } | 1756 static StyleVariableData* initialVariables() { return nullptr; } |
| 1757 StyleVariableData* variables() const; | 1757 StyleVariableData* variables() const; |
| 1758 void setVariable(const AtomicString&, PassRefPtr<CSSVariableData>); | 1758 void setVariable(const AtomicString&, PassRefPtr<CSSVariableData>); |
| 1759 void removeVariable(const AtomicString&); | 1759 void removeVariable(const AtomicString&); |
| 1760 void setHasVariableReferenceFromNonInheritedProperty() { m_nonInheritedData.
m_variableReference = true; } | 1760 void setHasVariableReferenceFromNonInheritedProperty() { m_nonInheritedData.
m_variableReference = true; } |
| 1761 bool hasVariableReferenceFromNonInheritedProperty() const { return m_nonInhe
ritedData.m_variableReference; } | 1761 bool hasVariableReferenceFromNonInheritedProperty() const { return m_nonInhe
ritedData.m_variableReference; } |
| 1762 | 1762 |
| 1763 // Call these after setting the CSSVariableData |
| 1764 void setRegisteredInheritedProperty(const AtomicString&, const CSSValue*); |
| 1765 |
| 1763 // Animations. | 1766 // Animations. |
| 1764 CSSAnimationData& accessAnimations(); | 1767 CSSAnimationData& accessAnimations(); |
| 1765 const CSSAnimationData* animations() const { return m_rareNonInheritedData->
m_animations.get(); } | 1768 const CSSAnimationData* animations() const { return m_rareNonInheritedData->
m_animations.get(); } |
| 1766 | 1769 |
| 1767 // Transitions. | 1770 // Transitions. |
| 1768 const CSSTransitionData* transitions() const { return m_rareNonInheritedData
->m_transitions.get(); } | 1771 const CSSTransitionData* transitions() const { return m_rareNonInheritedData
->m_transitions.get(); } |
| 1769 CSSTransitionData& accessTransitions(); | 1772 CSSTransitionData& accessTransitions(); |
| 1770 | 1773 |
| 1771 // Callback selectors. | 1774 // Callback selectors. |
| 1772 const Vector<String>& callbackSelectors() const { return m_rareNonInheritedD
ata->m_callbackSelectors; } | 1775 const Vector<String>& callbackSelectors() const { return m_rareNonInheritedD
ata->m_callbackSelectors; } |
| (...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2613 } | 2616 } |
| 2614 | 2617 |
| 2615 inline bool ComputedStyle::hasPseudoElementStyle() const | 2618 inline bool ComputedStyle::hasPseudoElementStyle() const |
| 2616 { | 2619 { |
| 2617 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; | 2620 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; |
| 2618 } | 2621 } |
| 2619 | 2622 |
| 2620 } // namespace blink | 2623 } // namespace blink |
| 2621 | 2624 |
| 2622 #endif // ComputedStyle_h | 2625 #endif // ComputedStyle_h |
| OLD | NEW |