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

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

Issue 22900008: Make vw/vh units to work in css transforms. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 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/core/platform/graphics/transforms/TransformOperation.h
diff --git a/Source/core/platform/graphics/transforms/TransformOperation.h b/Source/core/platform/graphics/transforms/TransformOperation.h
index 5223964b36d7013c58adbb7ee072f429141c9903..694b0d00f11229cce507a17b02e33240f8988848 100644
--- a/Source/core/platform/graphics/transforms/TransformOperation.h
+++ b/Source/core/platform/graphics/transforms/TransformOperation.h
@@ -32,6 +32,7 @@
namespace WebCore {
+class RenderView;
// CSS Transforms (may become part of CSS3)
class TransformOperation : public RefCounted<TransformOperation> {
@@ -60,9 +61,9 @@ public:
virtual bool isIdentity() const = 0;
// Return true if the borderBoxSize was used in the computation, false otherwise.
- virtual bool apply(TransformationMatrix&, const FloatSize& borderBoxSize) const = 0;
+ virtual bool apply(TransformationMatrix&, const FloatSize& borderBoxSize, RenderView*) const = 0;
- virtual PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) = 0;
+ virtual PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false, RenderView* =0) = 0;
virtual OperationType getOperationType() const = 0;
virtual bool isSameType(const TransformOperation&) const { return false; }

Powered by Google App Engine
This is Rietveld 408576698