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

Unified Diff: third_party/WebKit/Source/core/animation/InterpolationType.h

Issue 2384263003: Reflow comments in core/animation and subdirs (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/animation/InterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/InterpolationType.h b/third_party/WebKit/Source/core/animation/InterpolationType.h
index 0e848f0fbe0e2c43c87f34f02326d7a32ffa1463..c7e9cb125b4186b3e279bf94979c2388b82cc629 100644
--- a/third_party/WebKit/Source/core/animation/InterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/InterpolationType.h
@@ -19,9 +19,12 @@ namespace blink {
class InterpolationEnvironment;
-// Subclasses of InterpolationType implement the logic for a specific value type of a specific PropertyHandle to:
-// - Convert PropertySpecificKeyframe values to (Pairwise)?InterpolationValues: maybeConvertPairwise() and maybeConvertSingle()
-// - Convert the target Element's property value to an InterpolationValue: maybeConvertUnderlyingValue()
+// Subclasses of InterpolationType implement the logic for a specific value type
+// of a specific PropertyHandle to:
+// - Convert PropertySpecificKeyframe values to (Pairwise)?InterpolationValues:
+// maybeConvertPairwise() and maybeConvertSingle()
+// - Convert the target Element's property value to an InterpolationValue:
+// maybeConvertUnderlyingValue()
// - Apply an InterpolationValue to a target Element's property: apply().
class InterpolationType {
USING_FAST_MALLOC(InterpolationType);
@@ -32,8 +35,10 @@ class InterpolationType {
PropertyHandle getProperty() const { return m_property; }
- // ConversionCheckers are returned from calls to maybeConvertPairwise() and maybeConvertSingle() to enable the caller to check
- // whether the result is still valid given changes in the InterpolationEnvironment and underlying InterpolationValue.
+ // ConversionCheckers are returned from calls to maybeConvertPairwise() and
+ // maybeConvertSingle() to enable the caller to check whether the result is
+ // still valid given changes in the InterpolationEnvironment and underlying
+ // InterpolationValue.
class ConversionChecker {
USING_FAST_MALLOC(ConversionChecker);
WTF_MAKE_NONCOPYABLE(ConversionChecker);
@@ -91,7 +96,8 @@ class InterpolationType {
const NonInterpolableValue*,
InterpolationEnvironment&) const = 0;
- // Implement reference equality checking via pointer equality checking as these are singletons.
+ // Implement reference equality checking via pointer equality checking as
+ // these are singletons.
bool operator==(const InterpolationType& other) const {
return this == &other;
}

Powered by Google App Engine
This is Rietveld 408576698