| 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 23 matching lines...) Expand all Loading... |
| 34 #include "core/rendering/style/DataRef.h" | 34 #include "core/rendering/style/DataRef.h" |
| 35 #include "core/rendering/style/LineClampValue.h" | 35 #include "core/rendering/style/LineClampValue.h" |
| 36 #include "core/rendering/style/NinePieceImage.h" | 36 #include "core/rendering/style/NinePieceImage.h" |
| 37 #include "core/rendering/style/OutlineValue.h" | 37 #include "core/rendering/style/OutlineValue.h" |
| 38 #include "core/rendering/style/RenderStyleConstants.h" | 38 #include "core/rendering/style/RenderStyleConstants.h" |
| 39 #include "core/rendering/style/SVGRenderStyle.h" | 39 #include "core/rendering/style/SVGRenderStyle.h" |
| 40 #include "core/rendering/style/ShapeValue.h" | 40 #include "core/rendering/style/ShapeValue.h" |
| 41 #include "core/rendering/style/StyleBackgroundData.h" | 41 #include "core/rendering/style/StyleBackgroundData.h" |
| 42 #include "core/rendering/style/StyleBoxData.h" | 42 #include "core/rendering/style/StyleBoxData.h" |
| 43 #include "core/rendering/style/StyleDeprecatedFlexibleBoxData.h" | 43 #include "core/rendering/style/StyleDeprecatedFlexibleBoxData.h" |
| 44 #include "core/rendering/style/StyleDifference.h" |
| 44 #include "core/rendering/style/StyleFilterData.h" | 45 #include "core/rendering/style/StyleFilterData.h" |
| 45 #include "core/rendering/style/StyleFlexibleBoxData.h" | 46 #include "core/rendering/style/StyleFlexibleBoxData.h" |
| 46 #include "core/rendering/style/StyleGridData.h" | 47 #include "core/rendering/style/StyleGridData.h" |
| 47 #include "core/rendering/style/StyleGridItemData.h" | 48 #include "core/rendering/style/StyleGridItemData.h" |
| 48 #include "core/rendering/style/StyleMarqueeData.h" | 49 #include "core/rendering/style/StyleMarqueeData.h" |
| 49 #include "core/rendering/style/StyleMultiColData.h" | 50 #include "core/rendering/style/StyleMultiColData.h" |
| 50 #include "core/rendering/style/StyleRareInheritedData.h" | 51 #include "core/rendering/style/StyleRareInheritedData.h" |
| 51 #include "core/rendering/style/StyleRareNonInheritedData.h" | 52 #include "core/rendering/style/StyleRareNonInheritedData.h" |
| 52 #include "core/rendering/style/StyleReflection.h" | 53 #include "core/rendering/style/StyleReflection.h" |
| 53 #include "core/rendering/style/StyleSurroundData.h" | 54 #include "core/rendering/style/StyleSurroundData.h" |
| (...skipping 1718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1772 StyleColor visitedLinkTextFillColor() const { return rareInheritedData->visi
tedLinkTextFillColor(); } | 1773 StyleColor visitedLinkTextFillColor() const { return rareInheritedData->visi
tedLinkTextFillColor(); } |
| 1773 StyleColor visitedLinkTextStrokeColor() const { return rareInheritedData->vi
sitedLinkTextStrokeColor(); } | 1774 StyleColor visitedLinkTextStrokeColor() const { return rareInheritedData->vi
sitedLinkTextStrokeColor(); } |
| 1774 | 1775 |
| 1775 Color colorIncludingFallback(int colorProperty, bool visitedLink) const; | 1776 Color colorIncludingFallback(int colorProperty, bool visitedLink) const; |
| 1776 | 1777 |
| 1777 Color stopColor() const { return svgStyle()->stopColor(); } | 1778 Color stopColor() const { return svgStyle()->stopColor(); } |
| 1778 Color floodColor() const { return svgStyle()->floodColor(); } | 1779 Color floodColor() const { return svgStyle()->floodColor(); } |
| 1779 Color lightingColor() const { return svgStyle()->lightingColor(); } | 1780 Color lightingColor() const { return svgStyle()->lightingColor(); } |
| 1780 | 1781 |
| 1781 void appendContent(PassOwnPtr<ContentData>); | 1782 void appendContent(PassOwnPtr<ContentData>); |
| 1782 StyleDifference repaintOnlyDiff(const RenderStyle& other, unsigned& changedC
ontextSensitiveProperties) const; | 1783 |
| 1784 StyleDifferenceLegacy visualInvalidationDiffLegacy(const RenderStyle&, unsig
ned& changedContextSensitiveProperties) const; |
| 1785 StyleDifferenceLegacy repaintOnlyDiff(const RenderStyle& other, unsigned& ch
angedContextSensitiveProperties) const; |
| 1783 }; | 1786 }; |
| 1784 | 1787 |
| 1785 inline int adjustForAbsoluteZoom(int value, float zoomFactor) | 1788 inline int adjustForAbsoluteZoom(int value, float zoomFactor) |
| 1786 { | 1789 { |
| 1787 if (zoomFactor == 1) | 1790 if (zoomFactor == 1) |
| 1788 return value; | 1791 return value; |
| 1789 // Needed because computeLengthInt truncates (rather than rounds) when scali
ng up. | 1792 // Needed because computeLengthInt truncates (rather than rounds) when scali
ng up. |
| 1790 if (zoomFactor > 1) { | 1793 if (zoomFactor > 1) { |
| 1791 if (value < 0) | 1794 if (value < 0) |
| 1792 value--; | 1795 value--; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1869 inline bool RenderStyle::hasPseudoElementStyle() const | 1872 inline bool RenderStyle::hasPseudoElementStyle() const |
| 1870 { | 1873 { |
| 1871 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; | 1874 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; |
| 1872 } | 1875 } |
| 1873 | 1876 |
| 1874 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1877 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
| 1875 | 1878 |
| 1876 } // namespace WebCore | 1879 } // namespace WebCore |
| 1877 | 1880 |
| 1878 #endif // RenderStyle_h | 1881 #endif // RenderStyle_h |
| OLD | NEW |