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 1907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1918 | 1918 |
1919 Color stopColor() const { return svgStyle().stopColor(); } | 1919 Color stopColor() const { return svgStyle().stopColor(); } |
1920 Color floodColor() const { return svgStyle().floodColor(); } | 1920 Color floodColor() const { return svgStyle().floodColor(); } |
1921 Color lightingColor() const { return svgStyle().lightingColor(); } | 1921 Color lightingColor() const { return svgStyle().lightingColor(); } |
1922 | 1922 |
1923 void addAppliedTextDecoration(const AppliedTextDecoration&); | 1923 void addAppliedTextDecoration(const AppliedTextDecoration&); |
1924 void applyMotionPathTransform(float originX, float originY, TransformationMa
trix&) const; | 1924 void applyMotionPathTransform(float originX, float originY, TransformationMa
trix&) const; |
1925 | 1925 |
1926 bool diffNeedsFullLayoutAndPaintInvalidation(const ComputedStyle& other) con
st; | 1926 bool diffNeedsFullLayoutAndPaintInvalidation(const ComputedStyle& other) con
st; |
1927 bool diffNeedsFullLayout(const ComputedStyle& other) const; | 1927 bool diffNeedsFullLayout(const ComputedStyle& other) const; |
1928 bool diffNeedsPaintInvalidationSubtree(const ComputedStyle& other) const; | 1928 bool diffNeedsPaintInvalidationLayer(const ComputedStyle& other) const; |
1929 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const; | 1929 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const; |
1930 void updatePropertySpecificDifferences(const ComputedStyle& other, StyleDiff
erence&) const; | 1930 void updatePropertySpecificDifferences(const ComputedStyle& other, StyleDiff
erence&) const; |
1931 | 1931 |
1932 bool requireTransformOrigin(ApplyTransformOrigin applyOrigin, ApplyMotionPat
h) const; | 1932 bool requireTransformOrigin(ApplyTransformOrigin applyOrigin, ApplyMotionPat
h) const; |
1933 static bool shadowListHasCurrentColor(const ShadowList*); | 1933 static bool shadowListHasCurrentColor(const ShadowList*); |
1934 }; | 1934 }; |
1935 | 1935 |
1936 // FIXME: Reduce/remove the dependency on zoom adjusted int values. | 1936 // FIXME: Reduce/remove the dependency on zoom adjusted int values. |
1937 // The float or LayoutUnit versions of layout values should be used. | 1937 // The float or LayoutUnit versions of layout values should be used. |
1938 inline int adjustForAbsoluteZoom(int value, float zoomFactor) | 1938 inline int adjustForAbsoluteZoom(int value, float zoomFactor) |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2039 } | 2039 } |
2040 | 2040 |
2041 inline bool ComputedStyle::hasPseudoElementStyle() const | 2041 inline bool ComputedStyle::hasPseudoElementStyle() const |
2042 { | 2042 { |
2043 return noninherited_flags.pseudoBits & ElementPseudoIdMask; | 2043 return noninherited_flags.pseudoBits & ElementPseudoIdMask; |
2044 } | 2044 } |
2045 | 2045 |
2046 } // namespace blink | 2046 } // namespace blink |
2047 | 2047 |
2048 #endif // ComputedStyle_h | 2048 #endif // ComputedStyle_h |
OLD | NEW |