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

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: current-transformation-matrix 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 1799 matching lines...) Expand 10 before | Expand all | Expand 10 after
1810 StyleColor decorationColorIncludingFallback(bool visitedLink) const; 1810 StyleColor decorationColorIncludingFallback(bool visitedLink) const;
1811 Color colorIncludingFallback(int colorProperty, bool visitedLink) const; 1811 Color colorIncludingFallback(int colorProperty, bool visitedLink) const;
1812 1812
1813 Color stopColor() const { return svgStyle().stopColor(); } 1813 Color stopColor() const { return svgStyle().stopColor(); }
1814 Color floodColor() const { return svgStyle().floodColor(); } 1814 Color floodColor() const { return svgStyle().floodColor(); }
1815 Color lightingColor() const { return svgStyle().lightingColor(); } 1815 Color lightingColor() const { return svgStyle().lightingColor(); }
1816 1816
1817 void appendContent(PassOwnPtr<ContentData>); 1817 void appendContent(PassOwnPtr<ContentData>);
1818 void addAppliedTextDecoration(const AppliedTextDecoration&); 1818 void addAppliedTextDecoration(const AppliedTextDecoration&);
1819 bool hasTransformOperations() const { return !rareNonInheritedData->m_transf orm->m_operations.operations().isEmpty(); } 1819 bool hasTransformOperations() const { return !rareNonInheritedData->m_transf orm->m_operations.operations().isEmpty(); }
1820 void applyMotionPathTransform(TransformationMatrix&) const; 1820 void applyMotionPathTransform(float originX, float originY, TransformationMa trix&) const;
1821 1821
1822 bool diffNeedsFullLayoutAndPaintInvalidation(const ComputedStyle& other) con st; 1822 bool diffNeedsFullLayoutAndPaintInvalidation(const ComputedStyle& other) con st;
1823 bool diffNeedsFullLayout(const ComputedStyle& other) const; 1823 bool diffNeedsFullLayout(const ComputedStyle& other) const;
1824 bool diffNeedsPaintInvalidationLayer(const ComputedStyle& other) const; 1824 bool diffNeedsPaintInvalidationLayer(const ComputedStyle& other) const;
1825 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const; 1825 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const;
1826 void updatePropertySpecificDifferences(const ComputedStyle& other, StyleDiff erence&) const; 1826 void updatePropertySpecificDifferences(const ComputedStyle& other, StyleDiff erence&) const;
1827 1827
1828 bool requireTransformOrigin(ApplyTransformOrigin applyOrigin, ApplyMotionPat h) const; 1828 bool requireTransformOrigin(ApplyTransformOrigin applyOrigin, ApplyMotionPat h) const;
1829 }; 1829 };
1830 1830
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1931 } 1931 }
1932 1932
1933 inline bool ComputedStyle::hasPseudoElementStyle() const 1933 inline bool ComputedStyle::hasPseudoElementStyle() const
1934 { 1934 {
1935 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 1935 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
1936 } 1936 }
1937 1937
1938 } // namespace blink 1938 } // namespace blink
1939 1939
1940 #endif // ComputedStyle_h 1940 #endif // ComputedStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698