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

Unified Diff: Source/platform/transforms/TransformOperations.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
« no previous file with comments | « Source/platform/transforms/TransformOperation.h ('k') | Source/platform/transforms/TransformOperations.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/transforms/TransformOperations.h
diff --git a/Source/platform/transforms/TransformOperations.h b/Source/platform/transforms/TransformOperations.h
index 12b551ee97e3315007af548c3cf7a4b2735956f3..9e564f978d68bac36c0306361bbe54155fd56b25 100644
--- a/Source/platform/transforms/TransformOperations.h
+++ b/Source/platform/transforms/TransformOperations.h
@@ -31,7 +31,7 @@
#include "wtf/Vector.h"
namespace WebCore {
-
+class FloatBox;
class PLATFORM_EXPORT TransformOperations {
WTF_MAKE_FAST_ALLOCATED;
public:
@@ -81,6 +81,7 @@ public:
size_t size() const { return m_operations.size(); }
const TransformOperation* at(size_t index) const { return index < m_operations.size() ? m_operations.at(index).get() : 0; }
+ bool blendedBoundsForBox(const FloatBox&, const TransformOperations& from, const double& minProgress, const double& maxProgress, FloatBox* bounds) const;
TransformOperations blendByMatchingOperations(const TransformOperations& from, const double& progress) const;
TransformOperations blendByUsingMatrixInterpolation(const TransformOperations& from, double progress) const;
TransformOperations blend(const TransformOperations& from, double progress) const;
« no previous file with comments | « Source/platform/transforms/TransformOperation.h ('k') | Source/platform/transforms/TransformOperations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698