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

Side by Side Diff: third_party/WebKit/Source/core/svg/properties/SVGProperty.h

Issue 1410643011: Web Animations: Add SVGNumberInterpolationType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_propertyHandleFilter
Patch Set: Created 5 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // This is used from SVGAnimatedNewPropertyAnimator for its animate-by-strin g implementation. 63 // This is used from SVGAnimatedNewPropertyAnimator for its animate-by-strin g implementation.
64 virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const Stri ng&) const = 0; 64 virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const Stri ng&) const = 0;
65 65
66 virtual String valueAsString() const = 0; 66 virtual String valueAsString() const = 0;
67 67
68 // FIXME: remove below and just have this inherit AnimatableValue in WebAnim ations transition. 68 // FIXME: remove below and just have this inherit AnimatableValue in WebAnim ations transition.
69 virtual void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) = 0; 69 virtual void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) = 0;
70 virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWi llBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndO fDurationValue, SVGElement*) = 0; 70 virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWi llBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndO fDurationValue, SVGElement*) = 0;
71 virtual float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement*) = 0; 71 virtual float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement*) = 0;
72 72
73 AnimatedPropertyType type() 73 AnimatedPropertyType type() const
74 { 74 {
75 return m_type; 75 return m_type;
76 } 76 }
77 77
78 SVGPropertyBase* ownerList() const 78 SVGPropertyBase* ownerList() const
79 { 79 {
80 return m_ownerList; 80 return m_ownerList;
81 } 81 }
82 82
83 void setOwnerList(SVGPropertyBase* ownerList) 83 void setOwnerList(SVGPropertyBase* ownerList)
(...skipping 19 matching lines...) Expand all
103 // Oilpan: the back reference to the owner should be a Member, but this can create 103 // Oilpan: the back reference to the owner should be a Member, but this can create
104 // cycles when SVG properties meet the off-heap InterpolationValue hierarchy . 104 // cycles when SVG properties meet the off-heap InterpolationValue hierarchy .
105 // Not tracing it is safe, albeit an undesirable state of affairs. 105 // Not tracing it is safe, albeit an undesirable state of affairs.
106 GC_PLUGIN_IGNORE("528275") 106 GC_PLUGIN_IGNORE("528275")
107 SVGPropertyBase* m_ownerList; 107 SVGPropertyBase* m_ownerList;
108 }; 108 };
109 109
110 } 110 }
111 111
112 #endif // SVGProperty_h 112 #endif // SVGProperty_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGNumber.h ('k') | third_party/WebKit/Source/core/svg/properties/SVGPropertyHelper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698