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 1794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1805 | 1805 |
1806 Color colorIncludingFallback(int colorProperty, bool visitedLink) const; | 1806 Color colorIncludingFallback(int colorProperty, bool visitedLink) const; |
1807 | 1807 |
1808 Color stopColor() const { return svgStyle().stopColor(); } | 1808 Color stopColor() const { return svgStyle().stopColor(); } |
1809 Color floodColor() const { return svgStyle().floodColor(); } | 1809 Color floodColor() const { return svgStyle().floodColor(); } |
1810 Color lightingColor() const { return svgStyle().lightingColor(); } | 1810 Color lightingColor() const { return svgStyle().lightingColor(); } |
1811 | 1811 |
1812 void appendContent(PassOwnPtr<ContentData>); | 1812 void appendContent(PassOwnPtr<ContentData>); |
1813 void addAppliedTextDecoration(const AppliedTextDecoration&); | 1813 void addAppliedTextDecoration(const AppliedTextDecoration&); |
1814 | 1814 |
1815 bool diffNeedsFullLayoutAndRepaint(const RenderStyle& other) const; | 1815 bool diffNeedsFullLayoutAndPaintInvalidation(const RenderStyle& other) const
; |
1816 bool diffNeedsFullLayout(const RenderStyle& other) const; | 1816 bool diffNeedsFullLayout(const RenderStyle& other) const; |
1817 bool diffNeedsRepaintLayer(const RenderStyle& other) const; | 1817 bool diffNeedsPaintInvalidationLayer(const RenderStyle& other) const; |
1818 bool diffNeedsRepaintObject(const RenderStyle& other) const; | 1818 bool diffNeedsPaintInvalidationObject(const RenderStyle& other) const; |
1819 bool diffNeedsRecompositeLayer(const RenderStyle& other) const; | 1819 bool diffNeedsRecompositeLayer(const RenderStyle& other) const; |
1820 void updatePropertySpecificDifferences(const RenderStyle& other, StyleDiffer
ence&) const; | 1820 void updatePropertySpecificDifferences(const RenderStyle& other, StyleDiffer
ence&) const; |
1821 }; | 1821 }; |
1822 | 1822 |
1823 // FIXME: Reduce/remove the dependency on zoom adjusted int values. | 1823 // FIXME: Reduce/remove the dependency on zoom adjusted int values. |
1824 // The float or LayoutUnit versions of layout values should be used. | 1824 // The float or LayoutUnit versions of layout values should be used. |
1825 inline int adjustForAbsoluteZoom(int value, float zoomFactor) | 1825 inline int adjustForAbsoluteZoom(int value, float zoomFactor) |
1826 { | 1826 { |
1827 if (zoomFactor == 1) | 1827 if (zoomFactor == 1) |
1828 return value; | 1828 return value; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1915 inline bool RenderStyle::hasPseudoElementStyle() const | 1915 inline bool RenderStyle::hasPseudoElementStyle() const |
1916 { | 1916 { |
1917 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1917 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1918 } | 1918 } |
1919 | 1919 |
1920 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1920 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
1921 | 1921 |
1922 } // namespace blink | 1922 } // namespace blink |
1923 | 1923 |
1924 #endif // RenderStyle_h | 1924 #endif // RenderStyle_h |
OLD | NEW |