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

Unified Diff: Source/platform/transforms/ScaleTransformOperation.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/ScaleTransformOperation.h
diff --git a/Source/platform/transforms/ScaleTransformOperation.h b/Source/platform/transforms/ScaleTransformOperation.h
index b2fd67b3b6aaa129d46588c8afea83040e7fa1e0..fa21c8fe99efdc0af68e73659739630fc66f142f 100644
--- a/Source/platform/transforms/ScaleTransformOperation.h
+++ b/Source/platform/transforms/ScaleTransformOperation.h
@@ -45,6 +45,8 @@ public:
double y() const { return m_y; }
double z() const { return m_z; }
+ virtual bool canBlendWith(const TransformOperation& other) const;
+
private:
virtual bool isIdentity() const OVERRIDE { return m_x == 1 && m_y == 1 && m_z == 1; }
« no previous file with comments | « Source/platform/transforms/RotateTransformOperation.cpp ('k') | Source/platform/transforms/ScaleTransformOperation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698