Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 1896893004: Hook up style invalidation for CSS Paint API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@css-paint-register
Patch Set: . Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1904 matching lines...) Expand 10 before | Expand all | Expand 10 after
1915 Color floodColor() const { return svgStyle().floodColor(); } 1915 Color floodColor() const { return svgStyle().floodColor(); }
1916 Color lightingColor() const { return svgStyle().lightingColor(); } 1916 Color lightingColor() const { return svgStyle().lightingColor(); }
1917 1917
1918 void addAppliedTextDecoration(const AppliedTextDecoration&); 1918 void addAppliedTextDecoration(const AppliedTextDecoration&);
1919 void applyMotionPathTransform(float originX, float originY, TransformationMa trix&) const; 1919 void applyMotionPathTransform(float originX, float originY, TransformationMa trix&) const;
1920 1920
1921 bool diffNeedsFullLayoutAndPaintInvalidation(const ComputedStyle& other) con st; 1921 bool diffNeedsFullLayoutAndPaintInvalidation(const ComputedStyle& other) con st;
1922 bool diffNeedsFullLayout(const ComputedStyle& other) const; 1922 bool diffNeedsFullLayout(const ComputedStyle& other) const;
1923 bool diffNeedsPaintInvalidationLayer(const ComputedStyle& other) const; 1923 bool diffNeedsPaintInvalidationLayer(const ComputedStyle& other) const;
1924 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const; 1924 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const;
1925 bool diffNeedsPaintInvalidationObjectForPaintImage(const StyleImage*, const ComputedStyle& other) const;
1925 void updatePropertySpecificDifferences(const ComputedStyle& other, StyleDiff erence&) const; 1926 void updatePropertySpecificDifferences(const ComputedStyle& other, StyleDiff erence&) const;
1926 1927
1927 bool requireTransformOrigin(ApplyTransformOrigin applyOrigin, ApplyMotionPat h) const; 1928 bool requireTransformOrigin(ApplyTransformOrigin applyOrigin, ApplyMotionPat h) const;
1928 static bool shadowListHasCurrentColor(const ShadowList*); 1929 static bool shadowListHasCurrentColor(const ShadowList*);
1929 }; 1930 };
1930 1931
1931 // FIXME: Reduce/remove the dependency on zoom adjusted int values. 1932 // FIXME: Reduce/remove the dependency on zoom adjusted int values.
1932 // The float or LayoutUnit versions of layout values should be used. 1933 // The float or LayoutUnit versions of layout values should be used.
1933 inline int adjustForAbsoluteZoom(int value, float zoomFactor) 1934 inline int adjustForAbsoluteZoom(int value, float zoomFactor)
1934 { 1935 {
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
2034 } 2035 }
2035 2036
2036 inline bool ComputedStyle::hasPseudoElementStyle() const 2037 inline bool ComputedStyle::hasPseudoElementStyle() const
2037 { 2038 {
2038 return noninherited_flags.pseudoBits & ElementPseudoIdMask; 2039 return noninherited_flags.pseudoBits & ElementPseudoIdMask;
2039 } 2040 }
2040 2041
2041 } // namespace blink 2042 } // namespace blink
2042 2043
2043 #endif // ComputedStyle_h 2044 #endif // ComputedStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698