OLD | NEW |
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 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1379 float floodOpacity() const { return svgStyle().floodOpacity(); } | 1379 float floodOpacity() const { return svgStyle().floodOpacity(); } |
1380 void setFloodOpacity(float f) { accessSVGStyle().setFloodOpacity(f); } | 1380 void setFloodOpacity(float f) { accessSVGStyle().setFloodOpacity(f); } |
1381 | 1381 |
1382 float stopOpacity() const { return svgStyle().stopOpacity(); } | 1382 float stopOpacity() const { return svgStyle().stopOpacity(); } |
1383 void setStopOpacity(float f) { accessSVGStyle().setStopOpacity(f); } | 1383 void setStopOpacity(float f) { accessSVGStyle().setStopOpacity(f); } |
1384 | 1384 |
1385 void setStopColor(const Color& c) { accessSVGStyle().setStopColor(c); } | 1385 void setStopColor(const Color& c) { accessSVGStyle().setStopColor(c); } |
1386 void setFloodColor(const Color& c) { accessSVGStyle().setFloodColor(c); } | 1386 void setFloodColor(const Color& c) { accessSVGStyle().setFloodColor(c); } |
1387 void setLightingColor(const Color& c) { accessSVGStyle().setLightingColor(c)
; } | 1387 void setLightingColor(const Color& c) { accessSVGStyle().setLightingColor(c)
; } |
1388 | 1388 |
1389 SVGLength* baselineShiftValue() const { return svgStyle().baselineShiftValue
(); } | 1389 const Length& baselineShiftValue() const { return svgStyle().baselineShiftVa
lue(); } |
1390 void setBaselineShiftValue(PassRefPtrWillBeRawPtr<SVGLength> s) { accessSVGS
tyle().setBaselineShiftValue(s); } | 1390 void setBaselineShiftValue(const Length& s) { accessSVGStyle().setBaselineSh
iftValue(s); } |
1391 | 1391 |
1392 void setShapeOutside(PassRefPtr<ShapeValue> value) | 1392 void setShapeOutside(PassRefPtr<ShapeValue> value) |
1393 { | 1393 { |
1394 if (rareNonInheritedData->m_shapeOutside == value) | 1394 if (rareNonInheritedData->m_shapeOutside == value) |
1395 return; | 1395 return; |
1396 rareNonInheritedData.access()->m_shapeOutside = value; | 1396 rareNonInheritedData.access()->m_shapeOutside = value; |
1397 } | 1397 } |
1398 ShapeValue* shapeOutside() const { return rareNonInheritedData->m_shapeOutsi
de.get(); } | 1398 ShapeValue* shapeOutside() const { return rareNonInheritedData->m_shapeOutsi
de.get(); } |
1399 | 1399 |
1400 static ShapeValue* initialShapeOutside() { return 0; } | 1400 static ShapeValue* initialShapeOutside() { return 0; } |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1855 } | 1855 } |
1856 | 1856 |
1857 inline bool LayoutStyle::hasPseudoElementStyle() const | 1857 inline bool LayoutStyle::hasPseudoElementStyle() const |
1858 { | 1858 { |
1859 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1859 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1860 } | 1860 } |
1861 | 1861 |
1862 } // namespace blink | 1862 } // namespace blink |
1863 | 1863 |
1864 #endif // LayoutStyle_h | 1864 #endif // LayoutStyle_h |
OLD | NEW |