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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 1439793003: SVG: Promote d to a property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CSSPropertyParser Created 5 years 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after
1484 void setStrokeOpacity(float f) { accessSVGStyle().setStrokeOpacity(f); } 1484 void setStrokeOpacity(float f) { accessSVGStyle().setStrokeOpacity(f); }
1485 const UnzoomedLength& strokeWidth() const { return svgStyle().strokeWidth(); } 1485 const UnzoomedLength& strokeWidth() const { return svgStyle().strokeWidth(); }
1486 void setStrokeWidth(const UnzoomedLength& w) { accessSVGStyle().setStrokeWid th(w); } 1486 void setStrokeWidth(const UnzoomedLength& w) { accessSVGStyle().setStrokeWid th(w); }
1487 SVGDashArray* strokeDashArray() const { return svgStyle().strokeDashArray(); } 1487 SVGDashArray* strokeDashArray() const { return svgStyle().strokeDashArray(); }
1488 void setStrokeDashArray(PassRefPtr<SVGDashArray> array) { accessSVGStyle().s etStrokeDashArray(array); } 1488 void setStrokeDashArray(PassRefPtr<SVGDashArray> array) { accessSVGStyle().s etStrokeDashArray(array); }
1489 const Length& strokeDashOffset() const { return svgStyle().strokeDashOffset( ); } 1489 const Length& strokeDashOffset() const { return svgStyle().strokeDashOffset( ); }
1490 void setStrokeDashOffset(const Length& d) { accessSVGStyle().setStrokeDashOf fset(d); } 1490 void setStrokeDashOffset(const Length& d) { accessSVGStyle().setStrokeDashOf fset(d); }
1491 float strokeMiterLimit() const { return svgStyle().strokeMiterLimit(); } 1491 float strokeMiterLimit() const { return svgStyle().strokeMiterLimit(); }
1492 void setStrokeMiterLimit(float f) { accessSVGStyle().setStrokeMiterLimit(f); } 1492 void setStrokeMiterLimit(float f) { accessSVGStyle().setStrokeMiterLimit(f); }
1493 1493
1494 void setD(const SVGPathByteStream* d) { accessSVGStyle().setD(d); }
1494 void setCx(const Length& cx) { accessSVGStyle().setCx(cx); } 1495 void setCx(const Length& cx) { accessSVGStyle().setCx(cx); }
1495 void setCy(const Length& cy) { accessSVGStyle().setCy(cy); } 1496 void setCy(const Length& cy) { accessSVGStyle().setCy(cy); }
1496 void setX(const Length& x) { accessSVGStyle().setX(x); } 1497 void setX(const Length& x) { accessSVGStyle().setX(x); }
1497 void setY(const Length& y) { accessSVGStyle().setY(y); } 1498 void setY(const Length& y) { accessSVGStyle().setY(y); }
1498 void setR(const Length& r) { accessSVGStyle().setR(r); } 1499 void setR(const Length& r) { accessSVGStyle().setR(r); }
1499 void setRx(const Length& rx) { accessSVGStyle().setRx(rx); } 1500 void setRx(const Length& rx) { accessSVGStyle().setRx(rx); }
1500 void setRy(const Length& ry) { accessSVGStyle().setRy(ry); } 1501 void setRy(const Length& ry) { accessSVGStyle().setRy(ry); }
1501 1502
1502 float floodOpacity() const { return svgStyle().floodOpacity(); } 1503 float floodOpacity() const { return svgStyle().floodOpacity(); }
1503 void setFloodOpacity(float f) { accessSVGStyle().setFloodOpacity(f); } 1504 void setFloodOpacity(float f) { accessSVGStyle().setFloodOpacity(f); }
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
1996 } 1997 }
1997 1998
1998 inline bool ComputedStyle::hasPseudoElementStyle() const 1999 inline bool ComputedStyle::hasPseudoElementStyle() const
1999 { 2000 {
2000 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 2001 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
2001 } 2002 }
2002 2003
2003 } // namespace blink 2004 } // namespace blink
2004 2005
2005 #endif // ComputedStyle_h 2006 #endif // ComputedStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698