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

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

Issue 1220793011: CSS Motion Path: Centre transform-origin on the path (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 5 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 1800 matching lines...) Expand 10 before | Expand all | Expand 10 after
1811 1811
1812 StyleColor decorationColorIncludingFallback(bool visitedLink) const; 1812 StyleColor decorationColorIncludingFallback(bool visitedLink) const;
1813 Color colorIncludingFallback(int colorProperty, bool visitedLink) const; 1813 Color colorIncludingFallback(int colorProperty, bool visitedLink) const;
1814 1814
1815 Color stopColor() const { return svgStyle().stopColor(); } 1815 Color stopColor() const { return svgStyle().stopColor(); }
1816 Color floodColor() const { return svgStyle().floodColor(); } 1816 Color floodColor() const { return svgStyle().floodColor(); }
1817 Color lightingColor() const { return svgStyle().lightingColor(); } 1817 Color lightingColor() const { return svgStyle().lightingColor(); }
1818 1818
1819 void appendContent(PassOwnPtr<ContentData>); 1819 void appendContent(PassOwnPtr<ContentData>);
1820 void addAppliedTextDecoration(const AppliedTextDecoration&); 1820 void addAppliedTextDecoration(const AppliedTextDecoration&);
1821 void applyMotionPathTransform(TransformationMatrix&) const; 1821 void applyMotionPathTransform(float originX, float originY, TransformationMa trix&) const;
1822 1822
1823 bool diffNeedsFullLayoutAndPaintInvalidation(const ComputedStyle& other) con st; 1823 bool diffNeedsFullLayoutAndPaintInvalidation(const ComputedStyle& other) con st;
1824 bool diffNeedsFullLayout(const ComputedStyle& other) const; 1824 bool diffNeedsFullLayout(const ComputedStyle& other) const;
1825 bool diffNeedsPaintInvalidationLayer(const ComputedStyle& other) const; 1825 bool diffNeedsPaintInvalidationLayer(const ComputedStyle& other) const;
1826 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const; 1826 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const;
1827 void updatePropertySpecificDifferences(const ComputedStyle& other, StyleDiff erence&) const; 1827 void updatePropertySpecificDifferences(const ComputedStyle& other, StyleDiff erence&) const;
1828 1828
1829 bool requireTransformOrigin(ApplyTransformOrigin applyOrigin, ApplyMotionPat h) const; 1829 bool requireTransformOrigin(ApplyTransformOrigin applyOrigin, ApplyMotionPat h) const;
1830 }; 1830 };
1831 1831
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1935 } 1935 }
1936 1936
1937 inline bool ComputedStyle::hasPseudoElementStyle() const 1937 inline bool ComputedStyle::hasPseudoElementStyle() const
1938 { 1938 {
1939 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 1939 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
1940 } 1940 }
1941 1941
1942 } // namespace blink 1942 } // namespace blink
1943 1943
1944 #endif // ComputedStyle_h 1944 #endif // ComputedStyle_h
OLDNEW
« no previous file with comments | « LayoutTests/transforms/combine-transforms-properties-motion-path-expected.html ('k') | Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698