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

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: RefPtrWillBePersistent 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 1479 matching lines...) Expand 10 before | Expand all | Expand 10 after
1490 void setStrokeOpacity(float f) { accessSVGStyle().setStrokeOpacity(f); } 1490 void setStrokeOpacity(float f) { accessSVGStyle().setStrokeOpacity(f); }
1491 const UnzoomedLength& strokeWidth() const { return svgStyle().strokeWidth(); } 1491 const UnzoomedLength& strokeWidth() const { return svgStyle().strokeWidth(); }
1492 void setStrokeWidth(const UnzoomedLength& w) { accessSVGStyle().setStrokeWid th(w); } 1492 void setStrokeWidth(const UnzoomedLength& w) { accessSVGStyle().setStrokeWid th(w); }
1493 SVGDashArray* strokeDashArray() const { return svgStyle().strokeDashArray(); } 1493 SVGDashArray* strokeDashArray() const { return svgStyle().strokeDashArray(); }
1494 void setStrokeDashArray(PassRefPtr<SVGDashArray> array) { accessSVGStyle().s etStrokeDashArray(array); } 1494 void setStrokeDashArray(PassRefPtr<SVGDashArray> array) { accessSVGStyle().s etStrokeDashArray(array); }
1495 const Length& strokeDashOffset() const { return svgStyle().strokeDashOffset( ); } 1495 const Length& strokeDashOffset() const { return svgStyle().strokeDashOffset( ); }
1496 void setStrokeDashOffset(const Length& d) { accessSVGStyle().setStrokeDashOf fset(d); } 1496 void setStrokeDashOffset(const Length& d) { accessSVGStyle().setStrokeDashOf fset(d); }
1497 float strokeMiterLimit() const { return svgStyle().strokeMiterLimit(); } 1497 float strokeMiterLimit() const { return svgStyle().strokeMiterLimit(); }
1498 void setStrokeMiterLimit(float f) { accessSVGStyle().setStrokeMiterLimit(f); } 1498 void setStrokeMiterLimit(float f) { accessSVGStyle().setStrokeMiterLimit(f); }
1499 1499
1500 void setD(PassRefPtrWillBeRawPtr<CSSPathValue> d) { accessSVGStyle().setD(d) ; }
1500 void setCx(const Length& cx) { accessSVGStyle().setCx(cx); } 1501 void setCx(const Length& cx) { accessSVGStyle().setCx(cx); }
1501 void setCy(const Length& cy) { accessSVGStyle().setCy(cy); } 1502 void setCy(const Length& cy) { accessSVGStyle().setCy(cy); }
1502 void setX(const Length& x) { accessSVGStyle().setX(x); } 1503 void setX(const Length& x) { accessSVGStyle().setX(x); }
1503 void setY(const Length& y) { accessSVGStyle().setY(y); } 1504 void setY(const Length& y) { accessSVGStyle().setY(y); }
1504 void setR(const Length& r) { accessSVGStyle().setR(r); } 1505 void setR(const Length& r) { accessSVGStyle().setR(r); }
1505 void setRx(const Length& rx) { accessSVGStyle().setRx(rx); } 1506 void setRx(const Length& rx) { accessSVGStyle().setRx(rx); }
1506 void setRy(const Length& ry) { accessSVGStyle().setRy(ry); } 1507 void setRy(const Length& ry) { accessSVGStyle().setRy(ry); }
1507 1508
1508 float floodOpacity() const { return svgStyle().floodOpacity(); } 1509 float floodOpacity() const { return svgStyle().floodOpacity(); }
1509 void setFloodOpacity(float f) { accessSVGStyle().setFloodOpacity(f); } 1510 void setFloodOpacity(float f) { accessSVGStyle().setFloodOpacity(f); }
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
2005 } 2006 }
2006 2007
2007 inline bool ComputedStyle::hasPseudoElementStyle() const 2008 inline bool ComputedStyle::hasPseudoElementStyle() const
2008 { 2009 {
2009 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 2010 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
2010 } 2011 }
2011 2012
2012 } // namespace blink 2013 } // namespace blink
2013 2014
2014 #endif // ComputedStyle_h 2015 #endif // ComputedStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698