| 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 struct 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 1416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1529 | 1530 |
| 1530 StyleColor visitedDependentDecorationStyleColor() const; | 1531 StyleColor visitedDependentDecorationStyleColor() const; |
| 1531 Color visitedDependentDecorationColor() const; | 1532 Color visitedDependentDecorationColor() const; |
| 1532 Color visitedDependentColor(int colorProperty) const; | 1533 Color visitedDependentColor(int colorProperty) const; |
| 1533 | 1534 |
| 1534 void setHasExplicitlyInheritedProperties() { noninherited_flags.explicitInhe
ritance = true; } | 1535 void setHasExplicitlyInheritedProperties() { noninherited_flags.explicitInhe
ritance = true; } |
| 1535 bool hasExplicitlyInheritedProperties() const { return noninherited_flags.ex
plicitInheritance; } | 1536 bool hasExplicitlyInheritedProperties() const { return noninherited_flags.ex
plicitInheritance; } |
| 1536 | 1537 |
| 1537 bool hasBoxDecorations() const { return hasBorder() || hasBorderRadius() ||
hasOutline() || hasAppearance() || boxShadow() || hasFilter(); } | 1538 bool hasBoxDecorations() const { return hasBorder() || hasBorderRadius() ||
hasOutline() || hasAppearance() || boxShadow() || hasFilter(); } |
| 1538 | 1539 |
| 1540 bool borderObscuresBackground() const; |
| 1541 void getBorderEdgeInfo(BorderEdge edges[], bool includeLogicalLeftEdge = tru
e, bool includeLogicalRightEdge = true) const; |
| 1542 |
| 1539 // Initial values for all the properties | 1543 // Initial values for all the properties |
| 1540 static EBorderCollapse initialBorderCollapse() { return BSEPARATE; } | 1544 static EBorderCollapse initialBorderCollapse() { return BSEPARATE; } |
| 1541 static EBorderStyle initialBorderStyle() { return BNONE; } | 1545 static EBorderStyle initialBorderStyle() { return BNONE; } |
| 1542 static OutlineIsAuto initialOutlineStyleIsAuto() { return AUTO_OFF; } | 1546 static OutlineIsAuto initialOutlineStyleIsAuto() { return AUTO_OFF; } |
| 1543 static NinePieceImage initialNinePieceImage() { return NinePieceImage(); } | 1547 static NinePieceImage initialNinePieceImage() { return NinePieceImage(); } |
| 1544 static LengthSize initialBorderRadius() { return LengthSize(Length(0, Fixed)
, Length(0, Fixed)); } | 1548 static LengthSize initialBorderRadius() { return LengthSize(Length(0, Fixed)
, Length(0, Fixed)); } |
| 1545 static ECaptionSide initialCaptionSide() { return CAPTOP; } | 1549 static ECaptionSide initialCaptionSide() { return CAPTOP; } |
| 1546 static EClear initialClear() { return CNONE; } | 1550 static EClear initialClear() { return CNONE; } |
| 1547 static LengthBox initialClip() { return LengthBox(); } | 1551 static LengthBox initialClip() { return LengthBox(); } |
| 1548 static TextDirection initialDirection() { return LTR; } | 1552 static TextDirection initialDirection() { return LTR; } |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1910 inline bool RenderStyle::hasPseudoElementStyle() const | 1914 inline bool RenderStyle::hasPseudoElementStyle() const |
| 1911 { | 1915 { |
| 1912 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1916 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
| 1913 } | 1917 } |
| 1914 | 1918 |
| 1915 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1919 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
| 1916 | 1920 |
| 1917 } // namespace blink | 1921 } // namespace blink |
| 1918 | 1922 |
| 1919 #endif // RenderStyle_h | 1923 #endif // RenderStyle_h |
| OLD | NEW |