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

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

Issue 2105383002: Use a converter for -webkit-clip-path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-clippathop
Patch Set: Rebase Created 4 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: third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.h
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.h b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.h
index a9492e30f3064215f0692d05491b2e307af992f0..d10c16ca7201150cd46329e7d095f983b1f07ebe 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.h
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.h
@@ -45,11 +45,12 @@
namespace blink {
+class ClipPathOperation;
class RotateTransformOperation;
-class TextSizeAdjust;
-class TranslateTransformOperation;
class ScaleTransformOperation;
class StylePath;
+class TextSizeAdjust;
+class TranslateTransformOperation;
// Note that we assume the parser only allows valid CSSValue types.
class StyleBuilderConverter {
@@ -60,6 +61,7 @@ public:
static Color convertColor(StyleResolverState&, const CSSValue&, bool forVisitedLink = false);
template <typename T> static T convertComputedLength(StyleResolverState&, const CSSValue&);
static LengthBox convertClip(StyleResolverState&, const CSSValue&);
+ static PassRefPtr<ClipPathOperation> convertClipPath(StyleResolverState&, const CSSValue&);
static FilterOperations convertFilterOperations(StyleResolverState&, const CSSValue&);
template <typename T> static T convertFlags(StyleResolverState&, const CSSValue&);
static FontDescription::FamilyDescription convertFontFamily(StyleResolverState&, const CSSValue&);

Powered by Google App Engine
This is Rietveld 408576698