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

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

Issue 328333003: Adding Blink-side 3d Box and Bounds calculations to TransformOperations (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing android build Created 6 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/MatrixTransformOperation.h
diff --git a/Source/platform/transforms/MatrixTransformOperation.h b/Source/platform/transforms/MatrixTransformOperation.h
index ce842c13a00a42165fc255d1b1cef7acc02c4f8e..8e48b31fe8016009256bc8c4eab73408f0a93cf5 100644
--- a/Source/platform/transforms/MatrixTransformOperation.h
+++ b/Source/platform/transforms/MatrixTransformOperation.h
@@ -44,6 +44,11 @@ public:
TransformationMatrix matrix() const { return TransformationMatrix(m_a, m_b, m_c, m_d, m_e, m_f); }
+ virtual bool canBlendWith(const TransformOperation& other) const
+ {
+ return false;
+ }
+
private:
virtual bool isIdentity() const OVERRIDE { return m_a == 1 && !m_b && !m_c && m_d == 1 && !m_e && !m_f; }
« no previous file with comments | « Source/platform/transforms/Matrix3DTransformOperation.h ('k') | Source/platform/transforms/PerspectiveTransformOperation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698