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

Side by Side Diff: Source/core/animation/AnimatableLength.h

Issue 27664002: Web Animations: Regularise unit test names (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to head Created 7 years, 2 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) 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 bool m_isCalc; 143 bool m_isCalc;
144 144
145 double m_number; 145 double m_number;
146 NumberUnitType m_unitType; 146 NumberUnitType m_unitType;
147 147
148 RefPtr<CSSCalcExpressionNode> m_calcExpression; 148 RefPtr<CSSCalcExpressionNode> m_calcExpression;
149 149
150 mutable RefPtr<CSSPrimitiveValue> m_cachedCSSPrimitiveValue; 150 mutable RefPtr<CSSPrimitiveValue> m_cachedCSSPrimitiveValue;
151 151
152 friend class AnimatableLengthTest; 152 friend class CoreAnimationAnimatableLengthTest;
153 }; 153 };
154 154
155 inline const AnimatableLength* toAnimatableLength(const AnimatableValue* value) 155 inline const AnimatableLength* toAnimatableLength(const AnimatableValue* value)
156 { 156 {
157 ASSERT_WITH_SECURITY_IMPLICATION(value && value->isLength()); 157 ASSERT_WITH_SECURITY_IMPLICATION(value && value->isLength());
158 return static_cast<const AnimatableLength*>(value); 158 return static_cast<const AnimatableLength*>(value);
159 } 159 }
160 160
161 } // namespace WebCore 161 } // namespace WebCore
162 162
163 #endif // AnimatableLength_h 163 #endif // AnimatableLength_h
OLDNEW
« no previous file with comments | « Source/core/animation/AnimatableDoubleTest.cpp ('k') | Source/core/animation/AnimatableLengthTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698