| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> | 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Lesser General Public | 6 * modify it under the terms of the GNU Lesser General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 bool getPropertyPriority(CSSPropertyID) const; | 64 bool getPropertyPriority(CSSPropertyID) const; |
| 65 | 65 |
| 66 virtual PassRefPtr<MutableStylePropertySet> copyProperties() const override; | 66 virtual PassRefPtr<MutableStylePropertySet> copyProperties() const override; |
| 67 | 67 |
| 68 PassRefPtr<CSSValue> getPropertyCSSValue(CSSPropertyID, EUpdateLayout = Upda
teLayout) const; | 68 PassRefPtr<CSSValue> getPropertyCSSValue(CSSPropertyID, EUpdateLayout = Upda
teLayout) const; |
| 69 PassRefPtr<CSSValue> getFontSizeCSSValuePreferringKeyword() const; | 69 PassRefPtr<CSSValue> getFontSizeCSSValuePreferringKeyword() const; |
| 70 FixedPitchFontType fixedPitchFontType() const; | 70 FixedPitchFontType fixedPitchFontType() const; |
| 71 | 71 |
| 72 PassRefPtr<MutableStylePropertySet> copyPropertiesInSet(const Vector<CSSProp
ertyID>&) const; | 72 PassRefPtr<MutableStylePropertySet> copyPropertiesInSet(const Vector<CSSProp
ertyID>&) const; |
| 73 | 73 |
| 74 virtual void trace(Visitor*) override; | |
| 75 | |
| 76 private: | 74 private: |
| 77 CSSComputedStyleDeclaration(PassRefPtr<Node>, bool allowVisitedStyle, const
String&); | 75 CSSComputedStyleDeclaration(PassRefPtr<Node>, bool allowVisitedStyle, const
String&); |
| 78 | 76 |
| 79 // CSSOM functions. Don't make these public. | 77 // CSSOM functions. Don't make these public. |
| 80 virtual CSSRule* parentRule() const override; | 78 virtual CSSRule* parentRule() const override; |
| 81 virtual unsigned length() const override; | 79 virtual unsigned length() const override; |
| 82 virtual String item(unsigned index) const override; | 80 virtual String item(unsigned index) const override; |
| 83 PassRefPtr<RenderStyle> computeRenderStyle(CSSPropertyID) const; | 81 PassRefPtr<RenderStyle> computeRenderStyle(CSSPropertyID) const; |
| 84 virtual PassRefPtr<CSSValue> getPropertyCSSValue(const String& propertyName)
override; | 82 virtual PassRefPtr<CSSValue> getPropertyCSSValue(const String& propertyName)
override; |
| 85 virtual String getPropertyValue(const String& propertyName) override; | 83 virtual String getPropertyValue(const String& propertyName) override; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 110 PseudoId m_pseudoElementSpecifier; | 108 PseudoId m_pseudoElementSpecifier; |
| 111 bool m_allowVisitedStyle; | 109 bool m_allowVisitedStyle; |
| 112 #if !ENABLE(OILPAN) | 110 #if !ENABLE(OILPAN) |
| 113 unsigned m_refCount; | 111 unsigned m_refCount; |
| 114 #endif | 112 #endif |
| 115 }; | 113 }; |
| 116 | 114 |
| 117 } // namespace blink | 115 } // namespace blink |
| 118 | 116 |
| 119 #endif // CSSComputedStyleDeclaration_h | 117 #endif // CSSComputedStyleDeclaration_h |
| OLD | NEW |