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

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

Issue 2461603003: CSS Motion Path: Place offset-anchor on the path (Closed)
Patch Set: example Created 4 years, 1 month 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 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
6 * rights reserved. 6 * rights reserved.
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 3993 matching lines...) Expand 10 before | Expand all | Expand 10 after
4004 StyleColor decorationColorIncludingFallback(bool visitedLink) const; 4004 StyleColor decorationColorIncludingFallback(bool visitedLink) const;
4005 Color colorIncludingFallback(int colorProperty, bool visitedLink) const; 4005 Color colorIncludingFallback(int colorProperty, bool visitedLink) const;
4006 4006
4007 Color stopColor() const { return svgStyle().stopColor(); } 4007 Color stopColor() const { return svgStyle().stopColor(); }
4008 Color floodColor() const { return svgStyle().floodColor(); } 4008 Color floodColor() const { return svgStyle().floodColor(); }
4009 Color lightingColor() const { return svgStyle().lightingColor(); } 4009 Color lightingColor() const { return svgStyle().lightingColor(); }
4010 4010
4011 void addAppliedTextDecoration(const AppliedTextDecoration&); 4011 void addAppliedTextDecoration(const AppliedTextDecoration&);
4012 void applyMotionPathTransform(float originX, 4012 void applyMotionPathTransform(float originX,
4013 float originY, 4013 float originY,
4014 const FloatRect& boundingBox,
4014 TransformationMatrix&) const; 4015 TransformationMatrix&) const;
4015 4016
4016 bool scrollAnchorDisablingPropertyChanged(const ComputedStyle& other, 4017 bool scrollAnchorDisablingPropertyChanged(const ComputedStyle& other,
4017 StyleDifference&) const; 4018 StyleDifference&) const;
4018 bool diffNeedsFullLayoutAndPaintInvalidation( 4019 bool diffNeedsFullLayoutAndPaintInvalidation(
4019 const ComputedStyle& other) const; 4020 const ComputedStyle& other) const;
4020 bool diffNeedsFullLayout(const ComputedStyle& other) const; 4021 bool diffNeedsFullLayout(const ComputedStyle& other) const;
4021 bool diffNeedsPaintInvalidationSubtree(const ComputedStyle& other) const; 4022 bool diffNeedsPaintInvalidationSubtree(const ComputedStyle& other) const;
4022 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const; 4023 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const;
4023 bool diffNeedsPaintInvalidationObjectForPaintImage( 4024 bool diffNeedsPaintInvalidationObjectForPaintImage(
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
4119 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); 4120 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1);
4120 } 4121 }
4121 4122
4122 inline bool ComputedStyle::hasPseudoElementStyle() const { 4123 inline bool ComputedStyle::hasPseudoElementStyle() const {
4123 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; 4124 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask;
4124 } 4125 }
4125 4126
4126 } // namespace blink 4127 } // namespace blink
4127 4128
4128 #endif // ComputedStyle_h 4129 #endif // ComputedStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698