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

Unified Diff: Source/core/css/resolver/StyleBuilderConverter.h

Issue 1158603003: CSS Independent Transform Properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase master 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
« no previous file with comments | « Source/core/css/parser/CSSPropertyParser.cpp ('k') | Source/core/css/resolver/StyleBuilderConverter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleBuilderConverter.h
diff --git a/Source/core/css/resolver/StyleBuilderConverter.h b/Source/core/css/resolver/StyleBuilderConverter.h
index e0ca698ae08d9d2ac8812e5468df5c651e3d4519..65b204f561cd4eaec850920990058ae623912398 100644
--- a/Source/core/css/resolver/StyleBuilderConverter.h
+++ b/Source/core/css/resolver/StyleBuilderConverter.h
@@ -42,8 +42,11 @@
namespace blink {
-// Note that we assume the parser only allows valid CSSValue types.
+class RotateTransformOperation;
+class TranslateTransformOperation;
+class ScaleTransformOperation;
+// Note that we assume the parser only allows valid CSSValue types.
class StyleBuilderConverter {
public:
static PassRefPtr<StyleReflection> convertBoxReflect(StyleResolverState&, CSSValue*);
@@ -98,6 +101,9 @@ public:
static ScrollSnapPoints convertSnapPoints(StyleResolverState&, CSSValue*);
static Vector<LengthPoint> convertSnapCoordinates(StyleResolverState&, CSSValue*);
static LengthPoint convertSnapDestination(StyleResolverState&, CSSValue*);
+ static PassRefPtr<TranslateTransformOperation> convertTranslate(StyleResolverState&, CSSValue*);
+ static PassRefPtr<RotateTransformOperation> convertRotate(StyleResolverState&, CSSValue*);
+ static PassRefPtr<ScaleTransformOperation> convertScale(StyleResolverState&, CSSValue*);
};
template <typename T>
« no previous file with comments | « Source/core/css/parser/CSSPropertyParser.cpp ('k') | Source/core/css/resolver/StyleBuilderConverter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698