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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 group.access()->variable.setColor(value) | 93 group.access()->variable.setColor(value) |
94 | 94 |
95 namespace blink { | 95 namespace blink { |
96 | 96 |
97 using std::max; | 97 using std::max; |
98 | 98 |
99 class FilterOperations; | 99 class FilterOperations; |
100 | 100 |
101 class AppliedTextDecoration; | 101 class AppliedTextDecoration; |
102 class BorderData; | 102 class BorderData; |
| 103 class BorderEdge; |
103 class CounterContent; | 104 class CounterContent; |
104 class Font; | 105 class Font; |
105 class FontMetrics; | 106 class FontMetrics; |
106 class ShadowList; | 107 class ShadowList; |
107 class StyleImage; | 108 class StyleImage; |
108 class StyleInheritedData; | 109 class StyleInheritedData; |
109 class StyleResolver; | 110 class StyleResolver; |
110 class TransformationMatrix; | 111 class TransformationMatrix; |
111 | 112 |
112 class ContentData; | 113 class ContentData; |
(...skipping 1422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1535 Color visitedDependentColor(int colorProperty) const; | 1536 Color visitedDependentColor(int colorProperty) const; |
1536 | 1537 |
1537 void setHasExplicitlyInheritedProperties() { noninherited_flags.explicitInhe
ritance = true; } | 1538 void setHasExplicitlyInheritedProperties() { noninherited_flags.explicitInhe
ritance = true; } |
1538 bool hasExplicitlyInheritedProperties() const { return noninherited_flags.ex
plicitInheritance; } | 1539 bool hasExplicitlyInheritedProperties() const { return noninherited_flags.ex
plicitInheritance; } |
1539 | 1540 |
1540 void setHasCurrentColor() { noninherited_flags.currentColor = true; } | 1541 void setHasCurrentColor() { noninherited_flags.currentColor = true; } |
1541 bool hasCurrentColor() const { return noninherited_flags.currentColor; } | 1542 bool hasCurrentColor() const { return noninherited_flags.currentColor; } |
1542 | 1543 |
1543 bool hasBoxDecorations() const { return hasBorder() || hasBorderRadius() ||
hasOutline() || hasAppearance() || boxShadow() || hasFilter(); } | 1544 bool hasBoxDecorations() const { return hasBorder() || hasBorderRadius() ||
hasOutline() || hasAppearance() || boxShadow() || hasFilter(); } |
1544 | 1545 |
| 1546 bool borderObscuresBackground() const; |
| 1547 void getBorderEdgeInfo(BorderEdge edges[], bool includeLogicalLeftEdge = tru
e, bool includeLogicalRightEdge = true) const; |
| 1548 |
1545 // Initial values for all the properties | 1549 // Initial values for all the properties |
1546 static EBorderCollapse initialBorderCollapse() { return BSEPARATE; } | 1550 static EBorderCollapse initialBorderCollapse() { return BSEPARATE; } |
1547 static EBorderStyle initialBorderStyle() { return BNONE; } | 1551 static EBorderStyle initialBorderStyle() { return BNONE; } |
1548 static OutlineIsAuto initialOutlineStyleIsAuto() { return AUTO_OFF; } | 1552 static OutlineIsAuto initialOutlineStyleIsAuto() { return AUTO_OFF; } |
1549 static NinePieceImage initialNinePieceImage() { return NinePieceImage(); } | 1553 static NinePieceImage initialNinePieceImage() { return NinePieceImage(); } |
1550 static LengthSize initialBorderRadius() { return LengthSize(Length(0, Fixed)
, Length(0, Fixed)); } | 1554 static LengthSize initialBorderRadius() { return LengthSize(Length(0, Fixed)
, Length(0, Fixed)); } |
1551 static ECaptionSide initialCaptionSide() { return CAPTOP; } | 1555 static ECaptionSide initialCaptionSide() { return CAPTOP; } |
1552 static EClear initialClear() { return CNONE; } | 1556 static EClear initialClear() { return CNONE; } |
1553 static LengthBox initialClip() { return LengthBox(); } | 1557 static LengthBox initialClip() { return LengthBox(); } |
1554 static TextDirection initialDirection() { return LTR; } | 1558 static TextDirection initialDirection() { return LTR; } |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1916 inline bool RenderStyle::hasPseudoElementStyle() const | 1920 inline bool RenderStyle::hasPseudoElementStyle() const |
1917 { | 1921 { |
1918 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1922 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1919 } | 1923 } |
1920 | 1924 |
1921 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1925 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
1922 | 1926 |
1923 } // namespace blink | 1927 } // namespace blink |
1924 | 1928 |
1925 #endif // RenderStyle_h | 1929 #endif // RenderStyle_h |
OLD | NEW |