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 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1530 | 1530 |
1531 float shapeImageThreshold() const { return rareNonInheritedData->m_shapeImag
eThreshold; } | 1531 float shapeImageThreshold() const { return rareNonInheritedData->m_shapeImag
eThreshold; } |
1532 void setShapeImageThreshold(float shapeImageThreshold) | 1532 void setShapeImageThreshold(float shapeImageThreshold) |
1533 { | 1533 { |
1534 float clampedShapeImageThreshold = clampTo<float>(shapeImageThreshold, 0
, 1); | 1534 float clampedShapeImageThreshold = clampTo<float>(shapeImageThreshold, 0
, 1); |
1535 SET_VAR(rareNonInheritedData, m_shapeImageThreshold, clampedShapeImageTh
reshold); | 1535 SET_VAR(rareNonInheritedData, m_shapeImageThreshold, clampedShapeImageTh
reshold); |
1536 } | 1536 } |
1537 static float initialShapeImageThreshold() { return 0; } | 1537 static float initialShapeImageThreshold() { return 0; } |
1538 | 1538 |
1539 bool hasContent() const { return contentData(); } | 1539 bool hasContent() const { return contentData(); } |
1540 const ContentData* contentData() const { return rareNonInheritedData->m_cont
ent.get(); } | 1540 ContentData* contentData() const { return rareNonInheritedData->m_content.ge
t(); } |
1541 bool contentDataEquivalent(const ComputedStyle* otherStyle) const { return c
onst_cast<ComputedStyle*>(this)->rareNonInheritedData->contentDataEquivalent(*co
nst_cast<ComputedStyle*>(otherStyle)->rareNonInheritedData); } | 1541 bool contentDataEquivalent(const ComputedStyle* otherStyle) const { return c
onst_cast<ComputedStyle*>(this)->rareNonInheritedData->contentDataEquivalent(*co
nst_cast<ComputedStyle*>(otherStyle)->rareNonInheritedData); } |
1542 void clearContent(); | 1542 void clearContent(); |
1543 void setContent(const String&, bool add = false); | 1543 void setContent(const String&, bool add = false); |
1544 void setContent(PassRefPtrWillBeRawPtr<StyleImage>, bool add = false); | 1544 void setContent(PassRefPtrWillBeRawPtr<StyleImage>, bool add = false); |
1545 void setContent(PassOwnPtr<CounterContent>, bool add = false); | 1545 void setContent(PassOwnPtr<CounterContent>, bool add = false); |
1546 void setContent(QuoteType, bool add = false); | 1546 void setContent(QuoteType, bool add = false); |
1547 | 1547 |
1548 const CounterDirectiveMap* counterDirectives() const; | 1548 const CounterDirectiveMap* counterDirectives() const; |
1549 CounterDirectiveMap& accessCounterDirectives(); | 1549 CounterDirectiveMap& accessCounterDirectives(); |
1550 const CounterDirectives getCounterDirectives(const AtomicString& identifier)
const; | 1550 const CounterDirectives getCounterDirectives(const AtomicString& identifier)
const; |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1979 } | 1979 } |
1980 | 1980 |
1981 inline bool ComputedStyle::hasPseudoElementStyle() const | 1981 inline bool ComputedStyle::hasPseudoElementStyle() const |
1982 { | 1982 { |
1983 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1983 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1984 } | 1984 } |
1985 | 1985 |
1986 } // namespace blink | 1986 } // namespace blink |
1987 | 1987 |
1988 #endif // ComputedStyle_h | 1988 #endif // ComputedStyle_h |
OLD | NEW |