Chromium Code Reviews| 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 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 798 LayoutBoxExtent getBoxShadowInsetExtent() const { return getShadowInsetExten t(boxShadow()); } | 798 LayoutBoxExtent getBoxShadowInsetExtent() const { return getShadowInsetExten t(boxShadow()); } |
| 799 void getBoxShadowHorizontalExtent(LayoutUnit& left, LayoutUnit& right) const { getShadowHorizontalExtent(boxShadow(), left, right); } | 799 void getBoxShadowHorizontalExtent(LayoutUnit& left, LayoutUnit& right) const { getShadowHorizontalExtent(boxShadow(), left, right); } |
| 800 void getBoxShadowVerticalExtent(LayoutUnit& top, LayoutUnit& bottom) const { getShadowVerticalExtent(boxShadow(), top, bottom); } | 800 void getBoxShadowVerticalExtent(LayoutUnit& top, LayoutUnit& bottom) const { getShadowVerticalExtent(boxShadow(), top, bottom); } |
| 801 void getBoxShadowInlineDirectionExtent(LayoutUnit& logicalLeft, LayoutUnit& logicalRight) { getShadowInlineDirectionExtent(boxShadow(), logicalLeft, logical Right); } | 801 void getBoxShadowInlineDirectionExtent(LayoutUnit& logicalLeft, LayoutUnit& logicalRight) { getShadowInlineDirectionExtent(boxShadow(), logicalLeft, logical Right); } |
| 802 void getBoxShadowBlockDirectionExtent(LayoutUnit& logicalTop, LayoutUnit& lo gicalBottom) { getShadowBlockDirectionExtent(boxShadow(), logicalTop, logicalBot tom); } | 802 void getBoxShadowBlockDirectionExtent(LayoutUnit& logicalTop, LayoutUnit& lo gicalBottom) { getShadowBlockDirectionExtent(boxShadow(), logicalTop, logicalBot tom); } |
| 803 | 803 |
| 804 EBoxDecorationBreak boxDecorationBreak() const { return m_box->boxDecoration Break(); } | 804 EBoxDecorationBreak boxDecorationBreak() const { return m_box->boxDecoration Break(); } |
| 805 StyleReflection* boxReflect() const { return rareNonInheritedData->m_boxRefl ect.get(); } | 805 StyleReflection* boxReflect() const { return rareNonInheritedData->m_boxRefl ect.get(); } |
| 806 bool reflectionDataEquivalent(const RenderStyle* otherStyle) const { return rareNonInheritedData->reflectionDataEquivalent(*otherStyle->rareNonInheritedData ); } | 806 bool reflectionDataEquivalent(const RenderStyle* otherStyle) const { return rareNonInheritedData->reflectionDataEquivalent(*otherStyle->rareNonInheritedData ); } |
| 807 | 807 |
| 808 bool hasVisualOverflowingEffect() const { return boxShadow() || hasBorderIma geOutsets() || hasOutline(); } | |
|
eseidel
2014/03/21 00:37:09
Love it. Reflection? Presumably this is also onl
Julien - ping for review
2014/03/24 18:00:01
Currently no renderer knows about reflections as t
| |
| 809 | |
| 808 EBoxSizing boxSizing() const { return m_box->boxSizing(); } | 810 EBoxSizing boxSizing() const { return m_box->boxSizing(); } |
| 809 const Length& marqueeIncrement() const { return rareNonInheritedData->m_marq uee->increment; } | 811 const Length& marqueeIncrement() const { return rareNonInheritedData->m_marq uee->increment; } |
| 810 int marqueeSpeed() const { return rareNonInheritedData->m_marquee->speed; } | 812 int marqueeSpeed() const { return rareNonInheritedData->m_marquee->speed; } |
| 811 int marqueeLoopCount() const { return rareNonInheritedData->m_marquee->loops ; } | 813 int marqueeLoopCount() const { return rareNonInheritedData->m_marquee->loops ; } |
| 812 EMarqueeBehavior marqueeBehavior() const { return static_cast<EMarqueeBehavi or>(rareNonInheritedData->m_marquee->behavior); } | 814 EMarqueeBehavior marqueeBehavior() const { return static_cast<EMarqueeBehavi or>(rareNonInheritedData->m_marquee->behavior); } |
| 813 EMarqueeDirection marqueeDirection() const { return static_cast<EMarqueeDire ction>(rareNonInheritedData->m_marquee->direction); } | 815 EMarqueeDirection marqueeDirection() const { return static_cast<EMarqueeDire ction>(rareNonInheritedData->m_marquee->direction); } |
| 814 EUserModify userModify() const { return static_cast<EUserModify>(rareInherit edData->userModify); } | 816 EUserModify userModify() const { return static_cast<EUserModify>(rareInherit edData->userModify); } |
| 815 EUserDrag userDrag() const { return static_cast<EUserDrag>(rareNonInheritedD ata->userDrag); } | 817 EUserDrag userDrag() const { return static_cast<EUserDrag>(rareNonInheritedD ata->userDrag); } |
| 816 EUserSelect userSelect() const { return static_cast<EUserSelect>(rareInherit edData->userSelect); } | 818 EUserSelect userSelect() const { return static_cast<EUserSelect>(rareInherit edData->userSelect); } |
| 817 TextOverflow textOverflow() const { return static_cast<TextOverflow>(rareNon InheritedData->textOverflow); } | 819 TextOverflow textOverflow() const { return static_cast<TextOverflow>(rareNon InheritedData->textOverflow); } |
| (...skipping 1065 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1883 inline bool RenderStyle::hasPseudoElementStyle() const | 1885 inline bool RenderStyle::hasPseudoElementStyle() const |
| 1884 { | 1886 { |
| 1885 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; | 1887 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; |
| 1886 } | 1888 } |
| 1887 | 1889 |
| 1888 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); | 1890 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); |
| 1889 | 1891 |
| 1890 } // namespace WebCore | 1892 } // namespace WebCore |
| 1891 | 1893 |
| 1892 #endif // RenderStyle_h | 1894 #endif // RenderStyle_h |
| OLD | NEW |