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

Unified Diff: Source/platform/transforms/TransformOperation.h

Issue 1196913005: Implement animations for Independent CSS Transform Properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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: Source/platform/transforms/TransformOperation.h
diff --git a/Source/platform/transforms/TransformOperation.h b/Source/platform/transforms/TransformOperation.h
index b131f3ae5811df844eeaa1fc1c3b6cc3a2b3a2cd..2b4a5e4e0d3691db183d7af636a478c8e2bf345c 100644
--- a/Source/platform/transforms/TransformOperation.h
+++ b/Source/platform/transforms/TransformOperation.h
@@ -81,8 +81,13 @@ public:
}
virtual bool dependsOnBoxSize() const { return false; }
+ virtual bool isMatchingOperationType() const { return false; }
alancutter (OOO until 2018) 2015/06/25 01:33:10 This should actually be a static method on the sub
soonm 2015/06/26 02:52:34 Yep I see why it doesn't check anything now. Done.
+
};
+#define DEFINE_TRANSFORM_TYPE_CASTS(thisType, predicate) \
alancutter (OOO until 2018) 2015/06/25 01:33:09 This doesn't need to take a predicate as it will b
soonm 2015/06/26 02:52:34 Done.
+ DEFINE_TYPE_CASTS(thisType, TransformOperation, transform, transform->predicate, transform.predicate)
+
} // namespace blink
#endif // TransformOperation_h

Powered by Google App Engine
This is Rietveld 408576698