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 1793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1804 Color floodColor() const { return svgStyle().floodColor(); } | 1804 Color floodColor() const { return svgStyle().floodColor(); } |
1805 Color lightingColor() const { return svgStyle().lightingColor(); } | 1805 Color lightingColor() const { return svgStyle().lightingColor(); } |
1806 | 1806 |
1807 void appendContent(PassOwnPtr<ContentData>); | 1807 void appendContent(PassOwnPtr<ContentData>); |
1808 void addAppliedTextDecoration(const AppliedTextDecoration&); | 1808 void addAppliedTextDecoration(const AppliedTextDecoration&); |
1809 | 1809 |
1810 bool diffNeedsFullLayoutAndPaintInvalidation(const RenderStyle& other) const
; | 1810 bool diffNeedsFullLayoutAndPaintInvalidation(const RenderStyle& other) const
; |
1811 bool diffNeedsFullLayout(const RenderStyle& other) const; | 1811 bool diffNeedsFullLayout(const RenderStyle& other) const; |
1812 bool diffNeedsPaintInvalidationLayer(const RenderStyle& other) const; | 1812 bool diffNeedsPaintInvalidationLayer(const RenderStyle& other) const; |
1813 bool diffNeedsPaintInvalidationObject(const RenderStyle& other) const; | 1813 bool diffNeedsPaintInvalidationObject(const RenderStyle& other) const; |
1814 bool diffNeedsRecompositeLayer(const RenderStyle& other) const; | |
1815 void updatePropertySpecificDifferences(const RenderStyle& other, StyleDiffer
ence&) const; | 1814 void updatePropertySpecificDifferences(const RenderStyle& other, StyleDiffer
ence&) const; |
1816 }; | 1815 }; |
1817 | 1816 |
1818 // FIXME: Reduce/remove the dependency on zoom adjusted int values. | 1817 // FIXME: Reduce/remove the dependency on zoom adjusted int values. |
1819 // The float or LayoutUnit versions of layout values should be used. | 1818 // The float or LayoutUnit versions of layout values should be used. |
1820 inline int adjustForAbsoluteZoom(int value, float zoomFactor) | 1819 inline int adjustForAbsoluteZoom(int value, float zoomFactor) |
1821 { | 1820 { |
1822 if (zoomFactor == 1) | 1821 if (zoomFactor == 1) |
1823 return value; | 1822 return value; |
1824 // Needed because computeLengthInt truncates (rather than rounds) when scali
ng up. | 1823 // Needed because computeLengthInt truncates (rather than rounds) when scali
ng up. |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1910 inline bool RenderStyle::hasPseudoElementStyle() const | 1909 inline bool RenderStyle::hasPseudoElementStyle() const |
1911 { | 1910 { |
1912 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1911 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1913 } | 1912 } |
1914 | 1913 |
1915 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1914 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
1916 | 1915 |
1917 } // namespace blink | 1916 } // namespace blink |
1918 | 1917 |
1919 #endif // RenderStyle_h | 1918 #endif // RenderStyle_h |
OLD | NEW |