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

Unified Diff: Source/core/layout/style/SVGComputedStyleDefs.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 9 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/layout/style/SVGComputedStyleDefs.h ('k') | Source/core/layout/style/SVGComputedStyleTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/style/SVGComputedStyleDefs.cpp
diff --git a/Source/core/layout/style/SVGLayoutStyleDefs.cpp b/Source/core/layout/style/SVGComputedStyleDefs.cpp
similarity index 72%
rename from Source/core/layout/style/SVGLayoutStyleDefs.cpp
rename to Source/core/layout/style/SVGComputedStyleDefs.cpp
index 4838057be7bec947d8890908bd850aea5f4bf946..74b48b5ff7f732618b686382d065245184e8f102 100644
--- a/Source/core/layout/style/SVGLayoutStyleDefs.cpp
+++ b/Source/core/layout/style/SVGComputedStyleDefs.cpp
@@ -26,20 +26,20 @@
*/
#include "config.h"
-#include "core/layout/style/SVGLayoutStyleDefs.h"
+#include "core/layout/style/SVGComputedStyleDefs.h"
-#include "core/layout/style/SVGLayoutStyle.h"
+#include "core/layout/style/SVGComputedStyle.h"
namespace blink {
StyleFillData::StyleFillData()
- : opacity(SVGLayoutStyle::initialFillOpacity())
- , paintType(SVGLayoutStyle::initialFillPaintType())
- , paintColor(SVGLayoutStyle::initialFillPaintColor())
- , paintUri(SVGLayoutStyle::initialFillPaintUri())
- , visitedLinkPaintType(SVGLayoutStyle::initialStrokePaintType())
- , visitedLinkPaintColor(SVGLayoutStyle::initialFillPaintColor())
- , visitedLinkPaintUri(SVGLayoutStyle::initialFillPaintUri())
+ : opacity(SVGComputedStyle::initialFillOpacity())
+ , paintType(SVGComputedStyle::initialFillPaintType())
+ , paintColor(SVGComputedStyle::initialFillPaintColor())
+ , paintUri(SVGComputedStyle::initialFillPaintUri())
+ , visitedLinkPaintType(SVGComputedStyle::initialStrokePaintType())
+ , visitedLinkPaintColor(SVGComputedStyle::initialFillPaintColor())
+ , visitedLinkPaintUri(SVGComputedStyle::initialFillPaintUri())
{
}
@@ -67,17 +67,17 @@ bool StyleFillData::operator==(const StyleFillData& other) const
}
StyleStrokeData::StyleStrokeData()
- : opacity(SVGLayoutStyle::initialStrokeOpacity())
- , miterLimit(SVGLayoutStyle::initialStrokeMiterLimit())
- , width(SVGLayoutStyle::initialStrokeWidth())
- , dashOffset(SVGLayoutStyle::initialStrokeDashOffset())
- , dashArray(SVGLayoutStyle::initialStrokeDashArray())
- , paintType(SVGLayoutStyle::initialStrokePaintType())
- , paintColor(SVGLayoutStyle::initialStrokePaintColor())
- , paintUri(SVGLayoutStyle::initialStrokePaintUri())
- , visitedLinkPaintType(SVGLayoutStyle::initialStrokePaintType())
- , visitedLinkPaintColor(SVGLayoutStyle::initialStrokePaintColor())
- , visitedLinkPaintUri(SVGLayoutStyle::initialStrokePaintUri())
+ : opacity(SVGComputedStyle::initialStrokeOpacity())
+ , miterLimit(SVGComputedStyle::initialStrokeMiterLimit())
+ , width(SVGComputedStyle::initialStrokeWidth())
+ , dashOffset(SVGComputedStyle::initialStrokeDashOffset())
+ , dashArray(SVGComputedStyle::initialStrokeDashArray())
+ , paintType(SVGComputedStyle::initialStrokePaintType())
+ , paintColor(SVGComputedStyle::initialStrokePaintColor())
+ , paintUri(SVGComputedStyle::initialStrokePaintUri())
+ , visitedLinkPaintType(SVGComputedStyle::initialStrokePaintType())
+ , visitedLinkPaintColor(SVGComputedStyle::initialStrokePaintColor())
+ , visitedLinkPaintUri(SVGComputedStyle::initialStrokePaintUri())
{
}
@@ -113,8 +113,8 @@ bool StyleStrokeData::operator==(const StyleStrokeData& other) const
}
StyleStopData::StyleStopData()
- : opacity(SVGLayoutStyle::initialStopOpacity())
- , color(SVGLayoutStyle::initialStopColor())
+ : opacity(SVGComputedStyle::initialStopOpacity())
+ , color(SVGComputedStyle::initialStopColor())
{
}
@@ -132,10 +132,10 @@ bool StyleStopData::operator==(const StyleStopData& other) const
}
StyleMiscData::StyleMiscData()
- : floodColor(SVGLayoutStyle::initialFloodColor())
- , floodOpacity(SVGLayoutStyle::initialFloodOpacity())
- , lightingColor(SVGLayoutStyle::initialLightingColor())
- , baselineShiftValue(SVGLayoutStyle::initialBaselineShiftValue())
+ : floodColor(SVGComputedStyle::initialFloodColor())
+ , floodOpacity(SVGComputedStyle::initialFloodOpacity())
+ , lightingColor(SVGComputedStyle::initialLightingColor())
+ , baselineShiftValue(SVGComputedStyle::initialBaselineShiftValue())
{
}
@@ -157,9 +157,9 @@ bool StyleMiscData::operator==(const StyleMiscData& other) const
}
StyleResourceData::StyleResourceData()
- : clipper(SVGLayoutStyle::initialClipperResource())
- , filter(SVGLayoutStyle::initialFilterResource())
- , masker(SVGLayoutStyle::initialMaskerResource())
+ : clipper(SVGComputedStyle::initialClipperResource())
+ , filter(SVGComputedStyle::initialFilterResource())
+ , masker(SVGComputedStyle::initialMaskerResource())
{
}
@@ -179,9 +179,9 @@ bool StyleResourceData::operator==(const StyleResourceData& other) const
}
StyleInheritedResourceData::StyleInheritedResourceData()
- : markerStart(SVGLayoutStyle::initialMarkerStartResource())
- , markerMid(SVGLayoutStyle::initialMarkerMidResource())
- , markerEnd(SVGLayoutStyle::initialMarkerEndResource())
+ : markerStart(SVGComputedStyle::initialMarkerStartResource())
+ , markerMid(SVGComputedStyle::initialMarkerMidResource())
+ , markerEnd(SVGComputedStyle::initialMarkerEndResource())
{
}
@@ -201,13 +201,13 @@ bool StyleInheritedResourceData::operator==(const StyleInheritedResourceData& ot
}
StyleLayoutData::StyleLayoutData()
- : cx(SVGLayoutStyle::initialCx())
- , cy(SVGLayoutStyle::initialCy())
- , x(SVGLayoutStyle::initialX())
- , y(SVGLayoutStyle::initialY())
- , r(SVGLayoutStyle::initialR())
- , rx(SVGLayoutStyle::initialRx())
- , ry(SVGLayoutStyle::initialRy())
+ : cx(SVGComputedStyle::initialCx())
+ , cy(SVGComputedStyle::initialCy())
+ , x(SVGComputedStyle::initialX())
+ , y(SVGComputedStyle::initialY())
+ , r(SVGComputedStyle::initialR())
+ , rx(SVGComputedStyle::initialRx())
+ , ry(SVGComputedStyle::initialRy())
{
}
« no previous file with comments | « Source/core/layout/style/SVGComputedStyleDefs.h ('k') | Source/core/layout/style/SVGComputedStyleTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698