X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Frendering%2Fstyle%2FSVGRenderStyleDefs.h;h=0c5cf769524551ea82b678715b5edb4fc24f29f0;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=abd12379dd62da85bffe4d20c828995b1d104cbb;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/rendering/style/SVGRenderStyleDefs.h b/src/third_party/WebKit/Source/core/rendering/style/SVGRenderStyleDefs.h index abd1237..0c5cf76 100644 --- a/src/third_party/WebKit/Source/core/rendering/style/SVGRenderStyleDefs.h +++ b/src/third_party/WebKit/Source/core/rendering/style/SVGRenderStyleDefs.h @@ -30,13 +30,25 @@ #include "core/svg/SVGLength.h" #include "core/svg/SVGLengthList.h" -#include "core/svg/SVGPaint.h" #include "wtf/OwnPtr.h" #include "wtf/PassOwnPtr.h" #include "wtf/RefCounted.h" #include "wtf/RefPtr.h" -namespace WebCore { +namespace blink { + + enum SVGPaintType { + SVG_PAINTTYPE_UNKNOWN, + SVG_PAINTTYPE_RGBCOLOR, + SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR, + SVG_PAINTTYPE_NONE, + SVG_PAINTTYPE_CURRENTCOLOR, + SVG_PAINTTYPE_URI_NONE, + SVG_PAINTTYPE_URI_CURRENTCOLOR, + SVG_PAINTTYPE_URI_RGBCOLOR, + SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR, + SVG_PAINTTYPE_URI + }; enum EBaselineShift { BS_BASELINE, BS_SUB, BS_SUPER, BS_LENGTH @@ -117,10 +129,10 @@ namespace WebCore { } float opacity; - SVGPaint::SVGPaintType paintType; + SVGPaintType paintType; Color paintColor; String paintUri; - SVGPaint::SVGPaintType visitedLinkPaintType; + SVGPaintType visitedLinkPaintType; Color visitedLinkPaintColor; String visitedLinkPaintUri; @@ -147,10 +159,10 @@ namespace WebCore { RefPtr dashOffset; RefPtr dashArray; - SVGPaint::SVGPaintType paintType; + SVGPaintType paintType; Color paintColor; String paintUri; - SVGPaint::SVGPaintType visitedLinkPaintType; + SVGPaintType visitedLinkPaintType; Color visitedLinkPaintColor; String visitedLinkPaintUri; @@ -243,6 +255,6 @@ namespace WebCore { StyleInheritedResourceData(const StyleInheritedResourceData&); }; -} // namespace WebCore +} // namespace blink #endif // SVGRenderStyleDefs_h